I've read various answers here about how to manage the [Icons]
section of Inno Setup but I haven't found anything about creating more than an icon calling the same exe.
What I need is to put in my users startup menu (under my program folder) 2 different parameterized calls to my exe file:
I write an example to better explain:
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Parameters: "-config"; IconFile"{app}\{#MyConfigIcon}
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
What I expect from the code above is that in my windows 10 startmenu, under a folder with my company name there are 3 shortcuts, one to the normal exe, another to the same exe file with a parameter that starts the configuration procedure and a different icon the third is the uninstall shortcut.
What I find in the start menu is Just the second shortcut (the parameterized one) while the first is not there. I presume the problem can be that 2 calls to the same exe can't be set on the start menu, so if somebody has a workaround for this it will be very appreciated.
Thank you In advance.