Ideally, I would like to launch a web page when the user hits the Finish button 
on the last dialog.  The code below works but the web page is launched after 
InstallFinalize instead of when the user clicks the Finish button.  Also, I 
want to only show the web page if we're not doing a silent install or upgrade.

Thanks.

Steve

Snippets of Relevant Code:


        <Property Id="BROWSER">
                <RegistrySearch Id="IEXPLORE_SEARCH" Root="HKLM" 
Key="SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE" 
Type="raw" />
        </Property>

        <CustomAction Id="LaunchBrowser" Property="BROWSER" Execute="immediate" 
ExeCommand="$(var.WelcomeURL)" Return="asyncNoWait" />

                <UI>
                <UIRef Id="WixUI_Minimal" />
                <UIRef Id="WixUI_ErrorProgressText" />
                </UI>

        <InstallExecuteSequence>
            <FindRelatedProducts Before="LaunchConditions" />
            <RemoveExistingProducts After="InstallValidate" />
            <Custom Action="LaunchBrowser" 
After="InstallFinalize"><![CDATA[UILevel > 2 AND NOT Installed]]></Custom>
        </InstallExecuteSequence>

        <InstallUISequence>
            <FindRelatedProducts Before="LaunchConditions" />
        </InstallUISequence>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to