I have a VSTO application that is developed as an add-in for Outlook using .NET. When I build the application (in Release or Debug mode), I get 2 files, one is <project_output>.MSI and the other is setup.exe file. My goal is to change the default icon of the setup.exe file.
I have tried changing it by opening the setup.exe file in Visual Studio and importing the icon, this seems to do the trick but I don't think it is a good solution as every time I build, I would have to do that.
I have tried this as well, where I specified the image file(.ico) in project properties.. This is not working. I tried ending the explorer.exe task and re-running it (it was mentioned in one of the answers in StackOverflow, and helped in clearing cache).
The requirement is the setup.exe file should have the icon that I set (in any way using visual studio) and not the default icon on building the project(in any mode).
Thanks in advance.