The bit about the icon ID needing to end with a specific extension relates to using the icon as the icon for a shortcut to a file, where the extension of the file (which for this purpose must be a portable executable, such as a resource-only DLL) must match the extension of the file pointed to.
Presumably there's some version of the Windows shell which doesn't work correctly if this is not the case. It's OK to put multiple icons into the DLL if all the shortcuts which use it share the same extension (in this case you set the IconIndex to the appropriate icon in the file). If you're going to support advertising or installing multiple features independently, you might want to consider a separate icon DLL for each feature, but there's not a lot of overhead in icons. When you advertise or install a package, Windows Installer dumps the contents of the Icon table to [WindowsFolder]\Installer\{product-GUID}. The icon ID is used as the filename of the icon. Therefore you should make the file containing the icon(s) as small as possible (i.e. create a separate DLL for the icons, don't use your actual executable as it will be included twice in the package AND installed twice.) Particularly you shouldn't use anything that isn't yours to ship. I don't think there's a problem with using extensionless IDs for ARPPRODUCTICON but I'd stick with using .ico, at least for an actual .ico file, in case. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Miller Sent: 13 December 2007 22:48 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Changing Icons Found my own answer on my next internet search after submitting the question, and Mike Dimmick just sent me a reply with the answer too. The ARPPRODUCTION property along with an Icon element. I placed both inside the package element, and read that the Icon Id needs to end with the same extension as the Sourcefile (I didn't verify this). <Icon Id='Compass.ico' SourceFile='Compass.ico'/>\n"); <Property Id='ARPPRODUCTICON' Value='Compass.ico' /> ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users