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