I got it working. I got help from this: wixtoolset.org/documentation/manua...
So the end of product.wxs looks like this now:
<UI> <!-- Define the installer UI --> <UIRef Id="WixUI_HK" /> <Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed </Publish> </UI> <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" /> <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Install Measurement Server Service" /> <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/> <!-- this should help to propagate env var changes --> <CustomActionRef Id="WixBroadcastEnvironmentChange" /> <Property Id="WixShellExecTarget" Value="[#ApplicationFile1]" /> <CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" /> </Product>
nice
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I got it working. I got help from this: wixtoolset.org/documentation/manua...
So the end of product.wxs looks like this now:
nice