Here are the verbose log snippets:

MSI (c) (CC:94) [22:29:34:875]: Doing action: ExitDialog
Action 22:29:34: ExitDialog. 
Action start 22:29:34: ExitDialog.
Action 22:29:34: ExitDialog. Dialog created
MSI (c) (CC:FC) [22:29:44:828]: Doing action: LaunchURL
Action 22:29:44: LaunchURL. 
Action start 22:29:44: LaunchURL.
Action ended 22:29:44: ExitDialog. Return value 1.
Action ended 22:29:44: INSTALL. Return value 1.
Action ended 22:29:44: LaunchURL. Return value 0.


I'm using WiX 2.0 and the following code to launch the web page:


       <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Cancel="yes" Text="$(loc.WixUIFinish)">
          <Publish Event="EndDialog" Value="Return">1</Publish>

          <!-- Launch Product reg website.  Note that the LAUNCHURLONEXIT is
the conditional value
                       that comes from the check box -->
          <Publish Event="DoAction"     Value="LaunchURL">LAUNCHURLONEXIT AND
NOT Installed</Publish>   



     <!-- check box to launch the app -->

        <Control Id="LaunchCheckBox" Type="CheckBox" X="175" Y="143"
Width="170" Height="17" Property="LAUNCHURLONEXIT" CheckBoxValue="1"
Text="Register my product" >
          <Condition Action="hide"> Installed </Condition>
        </Control>



 <!-- The Action to launch at the end.  This is launched in ExitDialog.wxs
-->
        <CustomAction Id="LaunchURL" Property="BROWSER"
ExeCommand="https://example.com"; Return="asyncNoWait" />



>>Also just to double check, when you click finish & the checkbox is 
unticked it doesn't launch the web page right? 

No it doesn't launch.


-----
Andy
Build&Deployment
Schneider Electric
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Pressing-ESc-Key-in-the-install-Finish-screen-tp5176628p5178738.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to