I'm trying to get the user's default browser to launch and bring up
www.msn.com for testing at the moment if they check to launch the browser on
the ExitDialog. I get no errors, but the browser never gets launched. I've
tried a few different things like using WixShellExec, but I couldn't get
that to work either. Can someone show me what is wrong with the code below
or provide an example of how to launch the user's browser at the end of
installation bringing up a web page?

<Property Id="BROWSER">
      <RegistrySearch Id="DefaultBrowser"
                               Type="raw"
                               Root="HKCR"
                               Key="http\shell\open\command" />
</Property>

<CustomAction Id="CA_LaunchBrowser"
                       Property="BROWSER"
                       Impersonate="yes"
                       ExeCommand="http://www.msn.com";
                       Execute="immediate"
                       Return="asyncNoWait" />

<UI>
      <Publish Dialog="ExitDialog"
                    Control="Finish"
                    Order="1"
                    Event="DoAction"
                    Value="CA_LaunchBrowser">LAUNCHAPPONEXIT
      </Publish>
</UI>

<InstallExecuteSequence>
      <Custom Action="CA_ShowTime" After="InstallInitialize">NOT
Installed</Custom>
      <Custom Action="CA_UpdateWebAppMapping"
After="InstallFinalize">ASPNETREGIIS AND NOT Installed</Custom>
      <Custom Action="CA_LaunchBrowser" After="InstallFinalize">NOT
Installed</Custom>
      <InstallExecute Before="RemoveExistingProducts" />
      <RemoveExistingProducts Before="InstallFinalize" />
</InstallExecuteSequence>

Thanks.
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to