简体   繁体   English

InstallShield:无法提取索引为0 vb.net的图标

[英]InstallShield: cannot extract icon with index 0 vb.net

Im trying to use installshield to mak an installer for my applicatoin but when I add my icon to it then when i try and build it i get the error message InstallShield: cannot extract icon with index 0 我试图使用installshield为我的applicatoin制作安装程序,但是当我向其中添加图标时,当我尝试构建它时,我收到错误消息InstallShield:无法提取索引为0的图标

Any ideas? 有任何想法吗?

Sure. 当然。 InstallShield is trying to extract the embedded resource (icon) for Add/Remove Programs and/or a shortcut. InstallShield正在尝试提取用于“添加/删除程序”和/或快捷方式的嵌入式资源(图标)。 Recompile your EXE to include an icon and the message will go away. 重新编译您的EXE以包含一个图标,消息将消失。

I faced something similar. 我面对过类似的事情。 You need to check that the exe from which the icon will be extracted is present on the path specified in Shortcut/Folder of Install Shield 您需要检查从中提取图标的exe是否在Install Shield的快捷方式/文件夹中指定的路径上存在

The reason I get this message is usually because I have not selected the icon file on the Shortcuts/Folders dialogue: 我收到此消息的原因通常是因为我没有在“快捷方式/文件夹”对话框中选择图标文件:

InstallShield-快捷方式/文件夹

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

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