Hey Ewart, I think you are missing what I am saying. This is already in WIX 3.0. Since it is open source you could download the code and see how they launch a URL. Then you just need to attach the correct conditions to the custom action sequence. You would also need to pull the DLL from the WIX 3.0 binaries that has the correct custom action and use that.
Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On Thu, Aug 28, 2008 at 4:37 PM, Ewart MacLucas <[EMAIL PROTECTED]> wrote: > Thanks Brian. I've look at the ShellExecute link but not sure how I can > apply that to my wix 2.0 project. Surely there must be a simple wix > command > to launch a url on uninstall, and I wondered if anyone has example code for > that? > > cheers > ewart > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brian Rogers > Sent: Thursday, 28 August 2008 6:46 p.m. > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] launch webpage on uninstall > > Hey Ewart, > > You would want to have a custom action that uses as > ShellExecute<http://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx > >co > mmand > to run the URL. This is part of the WIX 3.0 custom actions. > > If you want, you could pull the built DLL with that custom action into your > WIX 2.0 project. > > Thanks, > > -- > Brian Rogers > "Intelligence removes complexity." - Me > http://icumove.spaces.live.com > > On Wed, Aug 27, 2008 at 8:03 PM, Ewart MacLucas <[EMAIL PROTECTED]> wrote: > > > I'm trying to launch webpage when the user uninstalls my app, have tried > > various things but no joy, does anyone have a sample or a tutorial on how > > to > > do this from wix 2.0? > > > > > > > > > > > > <!-- Launch the application --> > > > > <CustomAction Id="LaunchFile" FileKey="Phoenix.exe" > > ExeCommand="JustInstalled" Return="asyncNoWait"/> > > > > <CustomAction Id="LaunchWebpage" ExeCommand="www.google.com" > > Return="ignore" /> > > > > > > > > > > > > <!-- Launch the application immediately on close if not uninstalling > > --> > > > > <!-- Sequences --> > > > > <InstallExecuteSequence> > > > > <Custom Action="PreventDowngrading" > > After="FindRelatedProducts">NEWPRODUCTFOUND</Custom> > > > > <Custom Action="LaunchFile" After="InstallFinalize">NOT > > REMOVE="ALL"</Custom> > > > > <Custom Action="LaunchWebpage" > > After="InstallFinalize">REMOVE="ALL"</Custom> > > > > <RemoveExistingProducts After="InstallFinalize" /> > > > > </InstallExecuteSequence> > > > > > > > > <InstallUISequence> > > > > <Custom Action="PreventDowngrading" > > After="FindRelatedProducts">NEWPRODUCTFOUND</Custom> > > > > </InstallUISequence> > > > > > > > > regards > > > > ewart > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users