I did it after InstallFiles or MsiPublishBinaries. The problem I keep running into is that it will not uninstall. I am parusing the Windows Installer documentation in parallel to this.
Thanks, RG > Deferred custom actions must be scheduled between InstallInitialize and > InstallFinalize. > > -Brian Simoneau > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Friday, April 04, 2008 2:24 PM > To: Bob Arnson > Cc: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] (no subject) > > Still no luck. It now fails to install all together. > > To give more context, I chain all the commands after InstallFinalize. > Look > in the original email for entire code. > > <CustomAction Id="SET_STUBENV" Return="check" Execute="immediate" > Property="STUBENV" Value="[TARGETDIR]$(var.SKUName).exe" /> > <CustomAction Id="STUB_SETUP" Property="STUBENV" Execute="deferred" > ExeCommand="/setup" Return="check" Impersonate="no" /> > <CustomAction > Id="LaunchFile" > Execute="deferred" > Property="STUBENV" > ExeCommand="/installvstemplates" /> > <CustomAction > Id="LaunchFile2" > Execute="deferred" > Property="STUBENV" > ExeCommand="/resetsettings .\Profile\CurrentSettings.vssettings" > /> > > Thanks, > RG >> [EMAIL PROTECTED] wrote: >>> <CustomAction >>> Id="LaunchFile" >>> Property="STUBENV" >>> ExeCommand="/installA" /> >>> <CustomAction >>> Id="LaunchFile2" >>> Property="STUBENV" >>> ExeCommand="/loadProfile .\Profile\Settings.settings" /> >>> >> >> These are immediate custom actions, so they run during script > generation >> before the files have actually been installed. Make them >> Execute="deferred" so they run during script execution after files > have >> been installed. >> >> -- >> sig://boB >> http://joyofsetup.com/ >> >> >> > > > > ------------------------------------------------------------------------ > - > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp > lace > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users