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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users