Hi Leila

I have tested this and it works.
Some disadvantage is that the console windows is visible for some
tims (cca 0.5 s).

<CustomAction Id="LaunchBrowser" ExeCommand='cmd /C start
http://www.live.com' Directory='INSTALLDIR'
Return="asyncNoWait" />

I hope it will help you...

Stefan


Leila Lali (Excell Data Corporation) wrote:
> Yes it works. I’ve used Custom Action type 34 like this:
> 
>  
> 
> <CustomAction Id="LaunchBrowser"
> ExeCommand='"[ProgramFilesFolder]Internet
> Explorer\iexplore.exe""http://www.live.com";' Directory='INSTALLDIR'
> Return="asyncNoWait" />
> 
>  
> 
> But it means that I can not use default browser?
> 
>  
> 
> Thanks
> 
> Leila
> 
>  
> 
>  
> 
> ------------------------------------------------------------------------
> 
> *From:* Bob Arnson [mailto:[EMAIL PROTECTED]
> *Sent:* Tuesday, September 26, 2006 10:31 PM
> *To:* Leila Lali (Excell Data Corporation); WiX-users
> *Subject:* Re: [WiX-users] hyper link in wix
> 
>  
> 
> Please keep /wix-users/ on the thread.
> 
> Leila Lali (Excell Data Corporation) wrote:
> 
> Here is my code:
> 
>  
> 
> *<Property Id="BROWSER">*
> 
> *  <RegistrySearch Id='DefaultBrowser' Type='raw'*
> 
> *  Root='HKCR' Key='http\shell\open\command' />*
> 
> *</Property>*
> 
> * *
> 
> *<CustomAction Id='LaunchBrowser' Property='BROWSER'
> ExeCommand='www.live.com <http://www.live.com>' Return='asyncNoWait' />*
> 
> * *
> 
> *<Control Id="HyperLink" Type="PushButton" X="50" Y="20" Width="150"
> Height="50" Cancel="yes"
> Text="{\HyperLinkStyle}$(loc.MsgDotNetFrameworkDependency)">*
> 
> *            <Text></Text>*
> 
> *            <Publish Event="DoAction" Value="LaunchBrowser"></Publish>*
> 
> *</Control>*
> 
> * *
> 
> But it doesn’t do anything. It can find default browser but nothing
> happened.
> 
> I didn’t find anything like error in log file.
> 
> What value does BROWSER have? If IE is the default browser, it usually
> contains extra command-line parameters that won't work with a type 50
> custom action. You might want to try CustomAction/@Directory,@ExeCommand
> -- that lets you pass the whole command line. But I'm not sure if it'll
> work either -- the HKCR value generally contains placed arguments.
> 
> 
> --      
> 
> sig://boB
> 
> http://bobs.org
> 
> 
> 
> __________ NOD32 1.1780 (20060927) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> __________ NOD32 1.1780 (20060927) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> __________ NOD32 1.1780 (20060927) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
> 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to