How to apply VCL Styles to DLL-based forms in Inno Setup for uninstall? Cannot Import dll

前端 未结 1 411
自闭症患者
自闭症患者 2021-01-15 12:28

I\'m trying to add VCL styles (Inno Setup 5.5.6 (a)) for my installer. Style load correctly during the installation, but when I try to uninstall I get an error

1条回答
  •  迷失自我
    2021-01-15 12:47

    You are not specifying a path to the uninstall copy of the VclStylesInno.dll.

    This is the correct way:

    procedure LoadVCLStyle_UnInstall(VClStyleFile: String); 
      external 'LoadVCLStyleA@{#VCLStylesSkinPath}\VclStylesInno.dll stdcall uninstallonly';
    

    Next time, just follow the official instructions for uninstalling the VCL Styles for Inno Setup.

    For more details and maybe even a better solution than the official one, see also Load external DLL for uninstall process in Inno Setup.

    0 讨论(0)
提交回复
热议问题