简体   繁体   English

如何更改InstallShield安装向导图标?

[英]How to change the InstallShield installation wizard icon?

I have a setup that first install a prerequisite (.NET framework 4.0), so, on this prerequisite installation window I'd like to change the InstallShield icon to one personalized one, and change the window title too. 我有一个首先安装必备软件(.NET Framework 4.0)的安装程序,因此,在此必备软件安装窗口上,我想将InstallShield图标更改为一个个性化图标,并更改窗口标题。

1 http://hosted.comm100.com/KnowledgeBase/Main/Preview.aspx?id=100184&siteId=49677 1 http://hosted.comm100.com/KnowledgeBase/Main/Preview.aspx?id=100184&siteId=49677

Is that possible? 那可能吗?

InstallShield 2013: InstallShield 2013:

You must first build a release - and at that do so by using the project assistant Build Installation Screen and the Build Installation button at the bottom of that (those details tripped me up). 您必须首先构建一个发行版 -然后使用项目助手“构建安装”屏幕和该底部的“构建安装”按钮进行构建(这些详细信息使我震惊)。 After that, click the "Installation Design Tab", then expand "Media" and click "Releases". 之后,单击“安装设计选项卡”,然后展开“媒体”,然后单击“发布”。 Then select a release (which only appears after you've built one!), and click the "Setup.exe" tab. 然后选择一个发行版(仅在构建一个发行版之后出现!),然后单击“ Setup.exe”选项卡。 There you will find entry an in list of properties where you can specify the "Setup exe Icon File". 在此处,您可以找到属性列表中的条目,可以在其中指定“ Setup exe图标文件”。

On an immediately related note, you can change the name of the setup.exe file too. 在直接相关的注释上,您也可以更改setup.exe文件的名称。 In the tree where you selected the release, is a parent level, ie "Product Configuration 1" or "PROJECT_ASSISTANT" - select that. 在您选择发布的树中,是父级别,即“产品配置1”或“ PROJECT_ASSISTANT”-选择该级别。 In the "General" tab, there is a property called "Setup File Name". 在“常规”选项卡中,有一个名为“安装文件名”的属性。 By default, it is just plain "setup". 默认情况下,它只是普通的“设置”。 Change that to whatever you want, eg "MyProgramSetup". 将其更改为所需的任何内容,例如“ MyProgramSetup”。

From the InstallShield manual: 从InstallShield手册中:

Setup.exe Tab for a Release 发行版的Setup.exe选项卡

Setup.exe Icon File Setup.exe图标文件

To use your own icon for the Setup.exe file, specify the fully qualified name of the file that contains the icon. 要将您自己的图标用于Setup.exe文件,请指定包含该图标的文件的标准名称。 To specify a file, type an absolute path or a path that is relative to a path variable, or click the ellipsis button (...) to browse to the file from within the Change Icon dialog box. 若要指定文件,请键入绝对路径或相对于路径变量的路径,或单击“省略号”按钮(...)从“更改图标”对话框中浏览到该文件。

By default, the icon with index 0 is used; 默认情况下,使用索引为0的图标。 to specify a different icon, either select an icon in the Change Icon dialog box or append the icon's index or resource ID (preceded by a minus sign) to the file name. 要指定其他图标,请在“更改图标”对话框中选择一个图标,或在文件名后附加图标的索引或资源ID(以减号开头)。 For example, C:\\Temp\\MyLibrary.dll,2 indicates the icon with an index of 2, and C:\\Temp\\MyLibrary.dll,-100 indicates the icon with a resource ID of 100. 例如,C:\\ Temp \\ MyLibrary.dll,2表示索引为2的图标,而C:\\ Temp \\ MyLibrary.dll,-100表示​​资源ID为100的图标。

If you leave this setting blank, InstallShield uses a default icon for your Setup.exe file. 如果将此设置保留为空白,则InstallShield会为Setup.exe文件使用默认图标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM