How to change icon of msi installer package in vs2

2019-05-10 18:54发布

问题:

I am trying to change the icon of msi installer package. I didnt found any solution for that. Also i tried to change user interface of msi installer package. I got some skins for that interface,but that is trail version.. Any one knows please help me regarding the above question.

回答1:

The icon is the standard icon for .msi files. You can´t modify it from within the Setup Project in Visual Studio 2008. The screens used in the Setup Project can´t be modified either from within Visual Studio 2008. The best bet would probably be to look at other 3rd part providers. One example is the Skin Crafter Installer. You can also use Wix and create your customized dialogs yourself.



回答2:

You can use Visual Studio to change the setup.exe icon. Take the following steps.

Build your setup project

Open the setup.exe file use just build, File -> Open -> File

Right click the Icon node in the file explorer window and you can change and save.



回答3:

As easy solution is to convert the msi to an exe using a program such as "Msi to Exe Converter". The trial does not allow to change the icon. To change the icon use Visual studio. Open the exe as a file and delete the current icon resource. Then add an icon resource by importing the icon you want. Save and done.