|
#11
|
||||
|
||||
|
I want to create shortcuts with CreateShellLink function, it works for {commondesktop} but not for {group} nor {userstartmenu} / {commonstartmenu}. Why?
I read the information directly from INI file. Code:
if IniKeyNotEmpty('Executable', 'Exe') then
begin
CreateShellLink(
ExpandConstant('{commonstartmenu}\' + GetIniString('Executable', 'ExeName', '', ExpandConstant('{tmp}\Settings.ini')) + '.lnk'),
GetIniString('Executable','ExeName','',ExpandConstant('{tmp}\Settings.ini')),
GetIniString('Executable','Exe','',ExpandConstant('{tmp}\Settings.ini')),
GetIniString('Executable','ExeParam','',ExpandConstant('{tmp}\Settings.ini')),
'',
'',
0,
SW_SHOWNORMAL
);
end;
__________________
Haters gonna hate
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 06:51 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 07:57 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 10:48 |