创新设置;创建桌面图标以覆盖当前图标

发布于 2024-12-28 17:13:49 字数 566 浏览 2 评论 0原文

我已经使用 Inno Setup 好几天了,解决了很多问题,除了一个我似乎遇到问题的问题。它是关于创建桌面链接和图标。

我尝试过使用示例脚本并将它们放入我自己的脚本中,并且我尝试过使用两个单独的安装向导(一个是 Inno Setup 附带的,另一个是我从 InnoIDE 下载的)。经过一番搜索后,我终于找到了一个可以形成桌面项目的代码(有一段时间安装程序没有创建桌面图标),但我的问题是该图标仍然是 Adob​​e 而不是我的公司图标。

在我在这里工作之前,我们使用的旧安装程序(InstalShield)中,程序员设法配置安装程序,以便当最终用户下载它时,桌面上会出现一个带有公司徽标的链接,该链接将在以下情况下启动主 PDF 文件:点击。我们使用的所有文件都是 PDF 文件。我在安装程序中指定了一个图标,但我认为这仅适用于安装程序本身(在其运行时)。我在手册或安装向导中找不到使用桌面上特定图标的选项,我尝试搜索 Google,但找不到其他遇到此问题的人。

有没有办法让我的公司徽标显示在桌面上,而不是主启动文件的 Adob​​e PDF 徽标?或者,即使有一种方法可以创建快捷方式并将其作为徽标并链接到主 PDF 文件,那也可以。任何建议真的很感激。提前致谢。

I've been playing around with Inno Setup for a couple days now, and have a lot of the kinks worked out except for one I seem to be having an issue with. Its about creating desktop links and icons.

I've tried using the example scripts and putting them into my own script, and I've tried using two separate Setup Wizards (one that came with Inno Setup, and one that I downloaded from InnoIDE). After doing a bit of searching I finally found a code that will get a Desktop item to form (for a while the installer was not creating a desktop icon), but my issue is that the icon remains Adobe instead of my company icon.

In the old installer we used (InstalShield) back before I worked here, the programmer managed to configure the installer so that when the end user Downloaded it a link on the desktop would appear with the company logo, that would launch the main PDF file when clicked. All the files we are using are PDF files. I specified an icon in the installer, but I think thats just for the installer itself (while its running). I couldnt find an option for using a specific icon on the desktop in the Manual, or in the Setup Wizard, and I tried searching Google and couldnt find anyone else with this problem.

Is there a way to make my company logo show up on the desktop instead of Adobe's PDF logo for the main launch file? Or even if there is a way to create a shortcut and have that be the logo and link to the main PDF file, that would be fine too. Any advice really is appreciated. Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空名 2025-01-04 17:13:49

有一个名为 IconFilename 的参数应该可以解决您的问题。示例:

[Icons]
Name: {group}\MyApplication; Filename: {app}\MyApplication.exe; WorkingDir: {app}; IconFilename: {app}\MyApplication.ico; Comment: "MyApplication"; Components: MyApplication; 
Name: {commondesktop}\MyApplication; Filename: {app}\MyApplication.exe; WorkingDir: {app}; IconFilename: {app}\MyApplication.ico; Comment: "MyApplication"; Components: MyApplication;

您可以自由使用 exedllico 文件通过 IconFilename< 获取您公司的徽标图标/代码> 属性。

有关更多详细信息,请访问以下链接:

http://www.jrsoftware.org /ishelp/index.php?topic=iconssection

There is a parameter called IconFilename which should solve your problem. Example:

[Icons]
Name: {group}\MyApplication; Filename: {app}\MyApplication.exe; WorkingDir: {app}; IconFilename: {app}\MyApplication.ico; Comment: "MyApplication"; Components: MyApplication; 
Name: {commondesktop}\MyApplication; Filename: {app}\MyApplication.exe; WorkingDir: {app}; IconFilename: {app}\MyApplication.ico; Comment: "MyApplication"; Components: MyApplication;

You are free to use an exe, a dll or an ico file to get your company logo icon from using IconFilename property.

For more detailed information, visit the link below:

http://www.jrsoftware.org/ishelp/index.php?topic=iconssection

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文