You need to use either [#fileid] for a long path or [!fileid] for a short path. Since it's the same MSI there should be no need to mess about with Properties just change the TargetProperty to reference the File Id of the executable.
The ICE69 error is because there's no File with Id of "MAINEXEC" in your MSI. If the File Element of main.exe has Id="Main.exe" use [#Main.exe]. See http://msdn.microsoft.com/en-us/library/aa368609.aspx Actually having looked at the Verb syntax you could drop the TargetProperty attribute & use the TargetFile attribute instead & point it at the File Id of Main.exe. It may achieve the exact same thing as above but it should be better syntactically since the package is installing the executable & the (optionally) the file type. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: The Eligible Bachelors [mailto:theeligiblebachel...@yahoo.com] Sent: 15 March 2011 15:45 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Multifeature filetype association Thanks for the input. Yes this is a single MSI with 3 features. I have tried the [#executable] idea, but I get an ICE69 error (MAINEXEC references invalid file). <Property Id="MAINEXEC"> <ComponentSearch Id="FindTargetFile" Guid="{GUID}" Type="file"> <FileSearch Id="FoundTargetFile" Name="Main.exe" /> </ComponentSearch> </Property> .... <Component> <ProgId Id='extfile' Description='Ext file'> <Extension Id='ext' ContentType='application/ext'> <Verb Id='open' Command='Open' TargetProperty='[#MAINEXEC]' Argument='"%1"' /> </Extension> </ProgId> </Component> If I remove the '#', I am able to run the MSI. Here is the output from the log: AppSearch: Property: MAINEXEC, Signature: FoundTargetFile MSI (c) (74:80) [13:51:41:900]: Note: 1: 1322 2: MSI (c) (74:80) [13:51:41:900]: Note: 1: 1322 2: MSI (c) (74:80) [13:51:41:900]: Note: 1: 1322 2: MSI (c) (74:80) [13:51:41:900]: Note: 1: 1322 2: MSI (c) (74:80) [13:51:41:900]: Note: 1: 1325 2: Main.exe Action ended 13:51:41: AppSearch. Return value 1. However, the file association does not work. I believe this is because it is not associating the full path to Main.exe (c:\program files\....\Main.exe) ------------------------------------------------------------------------ ------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users