|
#11
|
|||
|
|||
|
Simply enter the code under the following headings in blue and if there is no paste all the code
ex: only Code:
UnloadSkin; all Code:
procedure DeinitializeUninstall; begin UnloadSkin; end; Simply enter the isSkin.dll files and Tiger.cjstyles in the folder style #define SkinDll "isSkin.dll" #define StyleName "Tiger.cjstyles" [Setup] [Files] Source: "style\{#SkinDll}"; DestDir: "{app}"; Flags: ignoreversion; Attribs: hidden system; Source: "style\{#StyleName}"; DestDir: "{app}"; Flags: ignoreversion; Attribs: hidden system; [ Code] procedure LoadSkin(lpszPath: PAnsiChar; lpszIniFileName: PAnsiChar); external 'LoadSkin@{tmp}\{#SkinDll} stdcall delayload'; procedure UnloadSkin; external 'UnloadSkin@{tmp}\{#SkinDll} stdcall delayload'; function ShowWindow(hWnd: Integer; uType: Integer): Integer; external '[email protected] stdcall'; function InitializeSetup: Boolean; begin ExtractTemporaryFile('{#SkinDll}'); ExtractTemporaryFile('{#StyleName}'); LoadSkin(ExpandConstant('{tmp}\{#StyleName}'), ''); Result:=True; end; procedure DeinitializeSetup; begin ShowWindow(StrToInt(ExpandConstant('{wizardhwnd}') ), 0); UnloadSkin; end; function InitializeUninstall: Boolean; begin FileCopy(ExpandConstant('{app}\{#SkinDll}'), ExpandConstant('{tmp}\{#SkinDll}'), False); FileCopy(ExpandConstant('{app}\{#StyleName}'), ExpandConstant('{tmp}\{#StyleName}'), False); LoadSkin(ExpandConstant('{tmp}\{#StyleName}'), ''); Result:=True; end; procedure DeinitializeUninstall; begin UnloadSkin; end; Last edited by Dante1995; 05-11-2014 at 19:00. |
| The Following User Says Thank You to Dante1995 For This Useful Post: | ||
minh_k43sj (05-11-2014) | ||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Inno Setup: Additional Libraries | altef_4 | Conversion Tutorials | 50 | 21-10-2020 09:59 |
| Blackbox Inno Setup Script | Kurutucu | Conversion Tutorials | 1190 | 18-08-2019 22:43 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Copy file with Inno Setup Script | emrahcey | Software | 1 | 02-07-2010 08:24 |