Inno Setup Shortcut Issue

試著忘記壹切 提交于 2020-01-05 03:31:00

问题


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


来源:https://stackoverflow.com/questions/12570719/inno-setup-shortcut-issue

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!