What is the problem or limitation you are having?
I apparently posted this in the incorrect thread. Here is the post edited for this new request.
I ended up editing the wix installer to implement optional launch after install on a windows box. I wanted to have a checkbox that launches the app when the install is finished. The checkbox in the installer is checked for launching by default, but the user can uncheck it. I made the following changes (the image shows how this looks after implementation) :
Define the Checkbox Property and Text:
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch <insert your appname>" />
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1" />
Create the Custom Action:
<CustomAction
Id="LaunchApplication"
Directory="INSTALLFOLDER"
ExeCommand='"[INSTALLFOLDER]<insert your appname>.exe"'
Return="asyncNoWait"
Impersonate="yes" />
Wire the Action to the Exit Dialog:
<Publish
Dialog="ExitDialog"
Control="Finish"
Event="DoAction"
Value="LaunchApplication"
Order="1"
Condition='WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 AND NOT Installed' />
Describe the solution you'd like
I would rather have the ability to do this in the briefcase build. It took a lot of reading of the wix docs to figure out how to implement this one. so something like a hook that one could use like start_after_install = on (checkbox is checked by default) would be nice
Describe alternatives you've considered
I've tried making this work within the briefcase install, but this seems to be a wix only option. I did get it to display a launch checkbox, but it didn't do anything.
Additional context
No response
What is the problem or limitation you are having?
I apparently posted this in the incorrect thread. Here is the post edited for this new request.
I ended up editing the wix installer to implement optional launch after install on a windows box. I wanted to have a checkbox that launches the app when the install is finished. The checkbox in the installer is checked for launching by default, but the user can uncheck it. I made the following changes (the image shows how this looks after implementation) :
Define the Checkbox Property and Text:
Create the Custom Action:
Wire the Action to the Exit Dialog:
Describe the solution you'd like
I would rather have the ability to do this in the briefcase build. It took a lot of reading of the wix docs to figure out how to implement this one. so something like a hook that one could use like start_after_install = on (checkbox is checked by default) would be nice
Describe alternatives you've considered
I've tried making this work within the briefcase install, but this seems to be a wix only option. I did get it to display a launch checkbox, but it didn't do anything.
Additional context
No response