The ProgId element has an Icon attribute you need to set. It should be the Id of a file containing the icon resource (or the Id of an Icon element if your ProgId is advertised).
-- Frank Mitchell Software Engineer Chief Architect Inc. www.chiefarchitect.com -----Original Message----- From: Sachin Dubey (Tata Consultancy Services) [mailto:v-sad...@microsoft.com] Sent: Monday, February 02, 2009 1:20 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Registering file types in WiX 3.0 Hello, I am trying to register a file type for our application using WiX. the code I used: <ProgId Id='Application.xyzFile' Description='Application data file'> <Extension Id='xyz' ContentType='xyz'> <Verb Id='open' Command='Open' TargetFile='Application.exe' Argument='"%1"' /> </Extension> </ProgId> This seems working and the file type gets registered, and I can see the Application name in the open with list for the files. However the assigning the icon to the files is not working. I got code from some articles on web and tried using it. <Registry Id='Icon1' Root='HKCR' Key='.xyz' Action='write' Type='string' Value='Application.xyzFile' /> <Registry Id='Icon2' Root='HKCR' Key='Application.xyzFile ' Action='write' Type='string' Value='Application data file ' /> <Registry Id='Icon3' Root='HKCR' Key='Application.xyzFile\DefaultIcon' Action='write' Type='string' Value='[INSTALLDIR]Application.exe,1' /> If anyone has idea where I'm going wrong, please help. Thanks in advance. Thanks Sachin ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users