I know about WIXUI_EXITDIALOGOPTIONALCHECKBOX and WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT.
As I understand it, these things can be used to trigger a custom action.
The examples I saw start an EXE or trigger a custom action in code.
How can I run a .CHM file if the checkbox is checked?
If I simply specify the chm file as FileKey, as shown below, it does not work. I think this approach only works for EXE files.
<CustomAction Id="LaunchHelp"
FileKey="chmfile"
ExeCommand=""
Impersonate="yes"
Return="ignore"
/>
Thanks to Sasha for the answer ... This worked for me:
<CustomAction Id="LaunchHelp"
Directory="INSTALLDIR"
ExeCommand='[WindowsFolder]hh.exe MyHelpFile.chm'
Execute="immediate"
Return="asyncNoWait" />
source
share