It looks to me like the TargetFile attribute is intended to reference a file you're installing (i.e. the Id of a File element). If you want to target something other than a file you're installing, create a Property and use a TargetProperty attribute set to the property ID.
Use an appropriate custom action or a FileSearch to set the property's value. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Sent: 12 December 2007 15:19 To: wix-users@lists.sourceforge.net Subject: [WiX-users] WiX 2 to 3: [EMAIL PROTECTED] This code: <ProgId Id=... <Extension Id="xyz" ContentType="text/plain"> ... <Verb Id="6_Edit" Command="Edit" TargetFile="Notepad.exe" Argument=""%1"" /> ... Works perfectly well in WiX2, but not in WiX3: C:\blah.xml(65) : error LGHT0094 : Unresolved reference to symbol 'File:Notepad.exe' in section 'Fragment:'. I have also tried [WindowsFolder]\Notepad.exe. How would I fix this? ------------------------------------------------------------------------- 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://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- 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