错误 -3204:无法从文件中提取索引为 0 的图标

Error -3204:Cannot extract icon with index 0 from file

在为我的应用程序构建安装程序时,我反复收到错误:

Error -3204: Cannot extract icon with index 0 from file C:\Users\....

快速 google 搜索让我 here (where the issue isn't resolved) and following step by step procedure here 使我能够在每次构建项目时添加 C:\Windows\system32\shell32.dll,然后选择 icon:2。A setup.exe 是尽管有错误创建 并为我安装了应用程序,但在控制面板的 Add/Remove 程序中没有踪迹。
如何在控制面板的 Add/Remove Add/Remove 程序中获取该图标。

编辑:如果有任何其他软件用于 windows VS2013 安装程序,例如 SetupProject 与以前版本的 VS 2xxx,请给我建议

您应该更改创建安装文件的方法。请参阅下面的 link:

Clike Here

更新:

这里有另外两个设置应用程序可以对您的应用程序进行设置。

QSetupCenturion Setup

您可以尝试让他们为您的应用程序进行设置。

<ISProductFolder>\redist\Language Independent\OS Independent\setupicon.ico

当我在项目助手 --> 应用程序快捷方式部分 --> 使用备用快捷方式图标中使用上面的文件路径时,基本图标出现并允许我 select 图标。现在我的项目构建没有这个错误。 (图标看起来很糟糕,但它确实有效......)

IconShow