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


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