I feel that this question hasn't been answered to meet the conditions that I need which is why I'm starting a new question.
I'm going to have an installer which uses a PowerShell command to harvest all the data/files required via wix's heat
command. Among those files is going to be OpenBoxAppLauncher.exe
. What I want to do is that exe file will run as a .oblaunch
(our company's file extension) when it is called.
So far I have the following but keep getting error after error:
<Component Id="OpenBoxApp" Guid="*" Directory="INSTALLLOCATION">
<ProgId Id='OpenBoxAppLauncher.exe' Description='Open Box App Launcher' Advertise='yes'>
<Extension Id='.oblaunch' ContentType='.oblaunch' Advertise='yes'>
<Verb Id='open' Sequence='10' Command='Open' Target='$(var.OpenBoxAppLauncher.TargetPath)' Argument='"%1"'/>
</Extension>
</ProgId>
</Component>
Errors included
Error 2 The Verb/@Target attribute cannot be specified because the element is advertised.
Error 2 The Verb/@Sequence attribute cannot be specified when attribute Advertise is present with value 'no'.