![]() |
Ok guys I tested the code to give a folder icon to the installer.
The code and this attached to that of yenner90 section put a personal icon file in the folder include call Desktop.ico ;********************name icon file********************************; [Files] Source: Include\Desktop.ico; DestDir: {app}; Flags: ignoreversion; Attribs: hidden system ;************************************************* *************; code section find CurStepChanged try and replace it with this add the red section ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// procedure CurStepChanged(CurStep: TSetupStep); var n,i:integer; ErrorCode: Integer; begin if CurStep = ssPostInstall then begin SetIniString('.ShellClassInfo', 'IconResource', ExpandConstant('{app}\Desktop.ico') + #13#10 'IconIndex=0', ExpandConstant('{app}\desktop.ini')); Exec('attrib', ' +r ' + '"' + ExpandConstant('{app}') + '"', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode); Exec('attrib', ' +h +s ' + '"' + ExpandConstant('{app}\desktop.ini') + '"', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode); end; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Find CurUninstallStepChanged try and add first end; highlighted in red end; end; procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); begin //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Final code Uninstall.dat try and add the red section ExpandConstant('{tmp}\Uninstall.dat'))), True, True, True); DeleteFile(ExpandConstant('{app}\desktop.ini')); end; end; end; end; end; |
In Pascal, an apostrophe character inside a string literal needs to be doubled:
Code:
#define AppName "Clive Barker''s Jericho" |
anyone can tell me how to fix an srep error.
Code:
broken compressed data. |
Quote:
|
bottom, line, never use special characters :D
|
I'm not the one who is using it's the game's developers. ^^
|
rather leave it like this #define AppName "Clive Barkers Jericho"
|
Quote:
|
Quote:
|
comparison between the level of compression Inno Setup and use of the razor, the compress.bat file which will compress better. I need an answer on this issue. If you can help me do this right. Thank!
|
depends on the compression but .bat compression is the best
|
but the use of such compress.bat no clear delineation of space between 4.3 GB DVD. How to properly define the size of each DVD? The use of arc free to use the Inno Setup command with a higher compression than compress.bat not?
|
hi i need help
how to do this :confused: Code:
#define AppName "1" |
Quote:
Code:
#define AppName "1" |
thanks for help altef_4
|
| All times are GMT -7. The time now is 15:24. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com