Inno Setup快捷方式问题 [英] Inno Setup Shortcut Issue

查看:167
本文介绍了Inno Setup快捷方式问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个小而令人沮丧的问题. 我创建了具有可执行文件快捷方式可能性的安装程序,但如果可执行文件不在主程序的主文件夹中,例如MyProgram \ bin \ myprogram.exe,则安装程序会在主程序文件夹中复制.exe的副本,并且快捷方式路径不是MyProgram \ bin \ myprogram.exe像它应该的那样,但是它的MyProgram \ myprogram.exe以及它当然不会运行,直到我从bin文件夹中手动设置快捷方式. 希望你们能理解我的问题,并告诉我在脚本中可以在哪里解决此问题.

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.

推荐答案

[Icon]条目可能有误,请尝试以下操作:

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

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

这篇关于Inno Setup快捷方式问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆