At my box it launches Fire*** after I made it my default browser AND killed the 
explorer process via the taskmanager. Explorer is not the MS webbrowser, it is 
the Shell (or Programmanager if you're from before win95) hosting your desktop, 
startmenu and taskbar. Iexplorer is the webbrowser but it is not in the 
%systemdir% so if you want ot run that you first need to get a path to it. 
 
Rene 

________________________________

From: [EMAIL PROTECTED] on behalf of K-ballo
Sent: Sat 6/23/2007 19:01
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Launching Web Page After Finish Dialog


Your code will launch Internet Explorer instead of the default web browser. 
Personally I use firefox, and if I see that your installer opens the survey in 
explorer I wouldn't give it a second, I would close it right away. Thats the 
advantage of the ShellExecute, it will respect user preferences.

K-ballo.-

Anthony Wieser escribió: 

        I've seen ShellExecute recommended as the way to do this, but what's 
wrong with doing it like this instead?
         
        <Property Id="SURVEYURL">explorer</Property>

        <CustomAction Id="TakeSurvey" Property="SURVEYURL" Return="asyncNoWait" 
ExeCommand="$(var.SurveyURL)"></CustomAction>

        where $(var.SurveyURL) has been set to your 
http://www.example.com/pagetoshow.htm

        Anthony Wieser
        Wieser Software Ltd

                ----- Original Message ----- 
                From: Bob Arnson <mailto:[EMAIL PROTECTED]>  
                To: Steve Bush <mailto:[EMAIL PROTECTED]>  ; 
wix-users@lists.sourceforge.net 
                Sent: Friday, June 22, 2007 6:22 PM
                Subject: Re: [WiX-users] Launching Web Page After Finish Dialog


                If you're using WiX v3, see "ShellExecute CustomAction" in 
WiX.chm. It contains a sample showing how to use the WixShellExec custom action 
to do just that.

                 

                If you're using WiX v2, you either need to do a custom UI or 
you can try scheduling your CA in InstallUISequence after ExecuteAction. I'm 
not sure the latter will work but it's worth a shot.

                 

                From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
Steve Bush
                Sent: Friday, 22 June, 2007 10:15
                To: wix-users@lists.sourceforge.net
                Subject: [WiX-users] Launching Web Page After Finish Dialog

                 

                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
                

        
________________________________


        
-------------------------------------------------------------------------
        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
          



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
-------------------------------------------------------------------------
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