Classification: Public
Why are you reinventing the wheel? Burn already has a "button" to launch 
applications on the finish dialog, it is not a checkbox but a button:

<bal:WixStandardBootstrapperApplication
        LaunchTarget="<some path><some exe>"
http://wixtoolset.org/documentation/manual/v3/xsd/bal/wixstandardbootstrapperapplication.html

<Button Name="LaunchButton"...
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Launch-Payload-EXE-after-bootstrapp-installation-td7019706.html


-----Original Message-----
From: TimM [mailto:timmay...@smarttech.com]
Sent: September-05-14 5:40 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Burn Bootstrapper run executable on exit

Okay I was able to generate a check box field at the end of the bootstrapper, 
but now I need to know how it actually gets triggered to launch the app?

Here is what I have in the theme file:
    <Page Name="Success">
        <Text X="11" Y="80" Width="-11" Height="30" FontId="2"
DisablePrefix="yes">#(loc.SuccessHeader)</Text>
        <Checkbox Name="LaunchCheckbox" X="11" Y="121" Width="260"
Height="17" TabStop="yes" FontId="3"
HideWhenDisabled="yes">#(loc.LaunchAppCheckbox)</Checkbox>

        <Button Name="OptionsOkButton" X="-91" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0">#(loc.OptionsOkButton)</Button>
        <Text Name="SuccessRestartText" X="-11" Y="-51" Width="400"
Height="34" FontId="3" HideWhenDisabled="yes"
DisablePrefix="yes">#(loc.SuccessRestartText)</Text>
        <Button Name="SuccessRestartButton" X="-91" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0"
HideWhenDisabled="yes">#(loc.SuccessRestartButton)</Button>
        <Button Name="SuccessCancelButton" X="-11" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0">#(loc.SuccessCloseButton)</Button>
    </Page>

Now the way have this it will create a un-checked check box and I also 
commented out the LaunchButton code and placed a OptionsOkButton control there. 
So it looks okay, but checking the check box does nothing at the moment and the 
OK button also does nothing. The finish dialog goes blank after hitting the OK 
button and then I have to close it by clicking on the 'X'. So how do I enable 
the buttons/checkbox to do what I need.

Oh and on uninstall the checkbox also shows up so how to prevent that as well?

Thanks again for any and all help.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Bootstrapper-run-executable-on-exit-tp7580830p7596688.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 
This message has been marked as Public by Steven Ogilvie on September-05-14 
5:59:20 PM.

The above classification labels were added to the message by TITUS Message 
Classification. 
For more information visit www.titus.com.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to