Inno Setup Shortcut Issue

2019-07-21 07:06发布

问题:

I have one small, but frustrating issue. I create installer with possibility for shortcut for the executable, but if the executable is not in the main folder in lets say MyProgram\bin\myprogram.exe the installer makes copy of the .exe in the main program folder and shortcut path is not MyProgram\bin\myprogram.exe like it supposed to be, but its MyProgram\myprogram.exe and of course it won't run until i make manual shortcut from bin folder. Hope you guys understand my problem and tell me where i can fix this in the script.

回答1:

You may have an error with your [Icon] entry, try something like:

Name:"{group}\MyProgram";Filename:"{app}\bin\myprogram.exe


标签: inno-setup