Hi Constantin, Here is the original question:
"How can we create a setup file which already has an icon? ..." Because question is not very specific I assume we are talking about an msi file. As far as I know, icon for any msi file comes from HKEY_CLASSES_ROOT\Msi.Package\DefaultIcon which points to "C:\Windows\system32\msiexec.exe,0". I am not aware of any other way to override that icon with some other icon on *per-msi basis* and I don't think that overriding default value in the registry on per-machine basis is the right solution. If you know how to change the icon of a specific msi file, please share it with everybody. I personally would like to know that. Regards, Alex -----Original Message----- From: Constantin Bryzgalin [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 10:15 PM To: Alexander Shevchuk Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] MSI with an icon? Hello, > Depends on where this icon you expect to see. I doubt you can > change the icon for msi file, but you can set an icon for ARP (Programs and > Features on Vista): > <Property Id="ARPPRODUCTICON" Value="MyIcon.ico" /> > <Icon Id="MyIcon.ico" SourceFile="MainIcon.ico" /> Simple and wrong. :) If you have ".ico" type registered in the system (like most image viewers do: ACDSee, XnView, etc) you'll see icon of this viewer, not your own (at least in 2k/XP, didn't try in Vista). The better solution is to have a small ".exe" with only an icon inside - this works everywhere. -- Constantin Bryzgalin http://www.oneclicktools.com ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users