|
|
|
#1
|
|||
|
|||
|
#AppName didn't work for me and editing the folder name manually just sucks, is there any dynamic value i can put to use the original AppName?
|
| Sponsored Links |
|
#2
|
||||
|
||||
|
Personal folder ico
It is possible to integrate this code into setup yenner90,
to customize folder icons? [Files] Source: Include\Desktop.ico; DestDir: {app}; Flags: ignoreversion; Attribs: hidden system procedure CurStepChanged(CurStep: TSetupStep); var ErrorCode: Integer; begin if CurStep = ssPostInstall then begin SetIniString('.ShellClassInfo', 'IconResource', ExpandConstant('{app}\MyProg.exe') + #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; end; procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); begin if CurUninstallStep = usUninstall then DeleteFile(ExpandConstant('{app}\desktop.ini')); end; Last edited by nicola16; 03-04-2013 at 14:40. |
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
||||
|
||||
|
don't use the one for #appname.
|
|
#5
|
|||
|
|||
|
Yes i know but when hitting browse button the appname stay no matter what drive/folder i choose, why not in your new hack?
I don't want to manually edit the folder name with each project.
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |