inno setup在处理快捷方式的时候没有指定路径,可能导致快捷不好使。
简单的方法是:
[Icons]
Name: "{group}\EasterEgg"; Filename: "{app}\demo.exe"; WorkingDir: {app}
Name: "{group}\{cm:UninstallProgram,EasterEgg}"; Filename: "{uninstallexe}"; WorkingDir: {app}
Name: "{commondesktop}\EasterEgg"; Filename: "{app}\demo.exe"; Tasks: desktopicon; WorkingDir: {app}
即加上WorkingDir: {app}。见inno setup FAQ.
阅读(1561) | 评论(0) | 转发(0) |