none
Change Setup.exe icon in Setup Project RRS feed

  • Question

  • Hi everyone,

    how can I change the setup.exe icon in my Setup Project?

    I saw some threads about this but only referring to ClickOnce projects...

    the only thing I can change is the icon  that will appear in the Add/Remove programs by changing the

    AddRemoveProgramsIcon property in my Setup Project.

    Thanx in advance
    Friday, September 21, 2007 2:31 PM

Answers

  •  

    Hi celobateira,

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

    1.       Build your setup project

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

    3.       Right click the Icon node in the file explorer window and choose the Add Resource

    4.       Import the icon your want in the popup dialog, and make sure the ID of the icon is the smallest one.

    Hope this helps.
    Best regards.
    Rong-Chun Zhang

    Monday, September 24, 2007 5:19 AM

All replies

  •  

    Hi celobateira,

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

    1.       Build your setup project

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

    3.       Right click the Icon node in the file explorer window and choose the Add Resource

    4.       Import the icon your want in the popup dialog, and make sure the ID of the icon is the smallest one.

    Hope this helps.
    Best regards.
    Rong-Chun Zhang

    Monday, September 24, 2007 5:19 AM
  • Thank u so much Zhang

    That really did the trick

    Cheers
    Monday, September 24, 2007 8:38 AM
  •  

    Hi all,

    Is it possible to change the icon of the msi file, if possible pls tell me the steps to do that

     

    Thanks in advance

     

    Regards

    Varadan

    Friday, June 27, 2008 10:18 AM
  • Hi,

    I cant seem to get this to work, i get up to adding the resource, but once added it adds it to a bitmap folder, rather then the icon folder. Ive tried adding various images and icons of different sizes and file types and it does the same thing, doesnt add it to the icon node.

    Am i missing somthing?
    Monday, March 2, 2009 3:21 PM
  • Hi Zang,

    I am able to change setup.exe icon, but after changing icon , I am unable to sign setup.exe using digital certificate.

    Thanks in advance


    Wednesday, March 18, 2009 11:56 PM
  • where do you download this visual studio because i can't seem to find it
    Friday, January 15, 2010 7:38 AM
  • Hi 

    The solution I found for setting image to Msi file is ,

    create a window application and add the msi file to that project as a content and write code in the windows application to write the msi file to a temp folder in the system and invoke it using the Process.Start method

     

    This works.

     

    Regards

    Varadan


    Developer
    Thursday, June 24, 2010 8:58 AM
  • Is there a way to automate this process? Looks like you have to always do this at the end of each build.

    Can any one provide an example of Post Build Script, that can do this?

    Wednesday, April 6, 2011 8:52 PM
  • I am also facing the same issue. Please somebody help!
    Thursday, February 22, 2018 8:55 AM