[WiX-users] Create a button and use it to launch a URL?

2009-05-11 Thread He Shiming
Hi, I'm confused about how to create a button and launch the default browser with a specified URL. I'm using wix 3. Currently, I've created my custom UI sequence based on WixUI_InstallDir. I changed a bit of the welcome screen and added a button via Control Type=PushButton... in

Re: [WiX-users] Create a button and use it to launch a URL?

2009-05-11 Thread Bob Arnson
He Shiming wrote: The WixShellExecTarget property is already set. How do I create a custom action to launch this URL now? You need a custom action to set the WixShellExecTarget property. That means you also need one to set the target of your app launcher. Besides, I'm not sure what's the

Re: [WiX-users] Create a button and use it to launch a URL?

2009-05-11 Thread He Shiming
You need a custom action to set the WixShellExecTarget property. That means you also need one to set the target of your app launcher. What's DoURL? Check out how the WixUI dialogs use that custom action: src/ext/UIExtension/wixlib. Thanks. I checked some tutorials and come up with this:

Re: [WiX-users] Create a button and use it to launch a URL?

2009-05-11 Thread Eric St . John
Try the following, it uses the shell exec custom action to open the browser: CustomAction Id=LaunchUrl BinaryKey=WixCA DllEntry=WixShellExec Execute=immediate Return=check Impersonate=yes / Control Id=PrivacyButton Type=PushButton X=55 Y=199 Width=145 Height=28 Text=!Privacy Statement