Have you had a look at the ShellExecute custom action?  From the manual:
"ShellExecute CustomAction

The WixShellExec custom action in wixca (part of WixUtilExtension)
lets you  open document or URL targets via the Windows shell. A common
use is to launch  readme files or URLs using their registered default
applications based on their  extension. Note that WixShellExecute can
only be used as an immediate custom  action as it launches an
application without waiting for it to close.  WixShellExec reads its
target from the WixShellExecTarget property, formats it,  and then
calls ShellExecute with the formatted value. It uses the default verb,
 which is usually "open." For more information, see ShellExecute
Function.

Here's how you could use WixShellExecute to launch a readme file based
on its  File/@Id attribute value using WixUI's support for adding a
checkbox to the  final dialog: <CustomAction Id="LaunchReadme"
BinaryKey="WixCA" DllEntry="WixShellExec" Execute="immediate"
Return="check" Impersonate="yes" />
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Open readme" />
<Property Id="WixShellExecTarget" Value="[#readme]" />
<UI>
    <UIRef Id="WixUI_Minimal" />
    <Publish Dialog="ExitDialog" Control="Finish" Event="DoAction"
Value="LaunchReadme" Order="1">NOT Installed</Publish>"
</UI>

If you want to run more than one command line in the immediate
sequence then  you need to schedule WixShellExecute multiple times and
set the  WixShellExecuteTarget property (using a type 51 custom
action) right before you  want each of them executed."

Regards,
//aj

On 5/30/07, S C <[EMAIL PROTECTED]> wrote:
>
> Pulling my hair out on this one... Can anyone show a simple set of snippets 
> that would allow a custom action (launching the default web browser to go to 
> 'http://localhost/test/page.html') to run after successful installation? I 
> thought this would be straightforward, but for some reason it's just not.
>
>  Help?
>
> ________________________________
Create the ultimate e-mail address book. Import your contacts to
Windows Live Hotmail. Try it!
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to