Looks like your Type 50 custom action is authored correctly to me. Check
the BROWSER property is being set during the InstallExecuteSequence. Try
adding 'Impersonate="yes"' to the CustomAction, "http://"; to the URL &
maybe even adding 'Execute="immediate"' to the CustomAction (that's the
default but it shouldn't hurt to specify it).

If it still doesn't work you could try using the WixShellExec Standard
Custom Action to launch the browser from the path your RegistrySearch
returns. See -> http://wix.sourceforge.net/manual-wix3/shellexec.htm

Also make sure you check fully verbose logs by launching your installers
using "msiexec <msiname> /l*vx <logname>". If you also set LOGVERBOSE=1
on the command line it will make the Standard WiX Custom Actions also
put verbose logging into the log.

You may want to modify the condition of your custom action with the
"UILevel" property (see
http://msdn.microsoft.com/en-us/library/aa372096.aspx) so it doesn't
fire the browser during quiet (/qb) or silent (/qn) installations. That
is unless you're always forcing full UI installations.

Palbinder Sandher 
Software Deployment & IT Administrator
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: Ivan Petrus [mailto:i...@freezeprosoftware.com] 
Sent: 08 June 2010 14:32
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Launch the Internet Problem

Hi,



 I was trying to launch a browser and I've used these codes:



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

 <CustomAction Id="LaunchBrowser" Property="BROWSER"
ExeCommand="www.google.com" Return="asyncNoWait"/>



 <InstallExecuteSequence>
     <Custom Action="LaunchBrowser" After="InstallFinalize">Not
Installed</Custom>  </InstallExecuteSequence>





 But it doesn't do anything. It can find default browser but nothing
happened.

 I didn't find anything like error in log file. Can anyone give me a
hint  to figure out what is wrong?

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



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