|
#11
|
||||
|
||||
|
Need some help.
Code:
function InitializeSetup(): Boolean;
begin
if FileExists(ExpandConstant('{tmp}\Setup.cjstyles')) then begin
LoadSkin(ExpandConstant('{tmp}\Setup.cjstyles'), '');
Result := True;
end;
if FileExists(ExpandConstant('{tmp}\Setup.vsf')) then begin
LoadVCLStyle(ExpandConstant('{tmp}\Setup.vsf'));
Result := True;
end;
end;
procedure DeinitializeSetup();
begin
if FileExists(ExpandConstant('{tmp}\Setup.cjstyles')) then begin
UnloadSkin();
end;
if FileExists(ExpandConstant('{tmp}\Setup.vsf')) then begin
UnLoadVCLStyles;
end;
end;
Maybe i am blind and don't see the mistake ![]() Edit: Ok after a cup of coffee i just found my mistake. Result := True was missing in InitializeSetup
__________________
Haters gonna hate
Last edited by KaktoR; 11-08-2017 at 22:28. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |