Thanks Pally!

On Mon, Apr 18, 2011 at 5:23 AM, Pally Sandher <pally.sand...@iesve.com>wrote:

> The WiXUI ExitDialog already has support for this without needing all that
> unnecessary code. See
> http://wix.sourceforge.net/manual-wix3/run_program_after_install.htm
>
> Simply change the Value attribute in the WixShellExecTarget property in the
> example to your URL.
>
> Palbinder Sandher
> Software Deployment Engineer
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the <Virtual Environment>**
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
> G20 0SP
> Email Disclaimer
>
> -----Original Message-----
> From: CoolBreeze [mailto:coolbreeze...@googlemail.com]
> Sent: 17 April 2011 18:28
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Can't get browser to launch
>
> 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
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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