Re: [WiX-users] CustomAction to execute batch file causes uninstall to fail
Or better, associate with a Component's state. _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] Sent: Wednesday, September 17, 2014 5:13 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] CustomAction to execute batch file causes uninstall to fail Phil is right. Just add this to the custom action sequence: -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CustomAction to execute batch file causes uninstall to fail
Phil is right. Just add this to the custom action sequence: -Original Message- From: Phil Wilson [mailto:phildgwil...@gmail.com] Sent: Wednesday, September 17, 2014 4:16 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] CustomAction to execute batch file causes uninstall to fail You're referring to it as an "install" custom action, but I see no condition that causes it to be called only on install. In other words it's also being called at uninstall time and failing. --- Phil Wilson On Wed, Sep 17, 2014 at 4:08 PM, newuser2014 wrote: > Hi, > > I have a custom action during the installation process to execute a > batch file to replace some config file. > > Impersonate="yes" Return="check" ExeCommand="[SystemFolder]\cmd /c > "ConfigBatch.bat"" /> > > > ... > > > > The installation goes smoothly. However, uninstallation fails. Do > you know what might be the issue and a potential fix for this problem? > > Thank you very much in advance! > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CustomAc > tion-to-execute-batch-file-causes-uninstall-to-fail-tp7596886.html > Sent from the wix-users mailing list archive at Nabble.com. > > -- > > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce Perforce version control. > Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg. > clktrk ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CustomAction to execute batch file causes uninstall to fail
You're referring to it as an "install" custom action, but I see no condition that causes it to be called only on install. In other words it's also being called at uninstall time and failing. --- Phil Wilson On Wed, Sep 17, 2014 at 4:08 PM, newuser2014 wrote: > Hi, > > I have a custom action during the installation process to execute a batch > file to replace some config file. > > Impersonate="yes" Return="check" ExeCommand="[SystemFolder]\cmd /c > "ConfigBatch.bat"" /> > > > ... > > > > The installation goes smoothly. However, uninstallation fails. Do you know > what might be the issue and a potential fix for this problem? > > Thank you very much in advance! > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CustomAction-to-execute-batch-file-causes-uninstall-to-fail-tp7596886.html > Sent from the wix-users mailing list archive at Nabble.com. > > -- > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] CustomAction to execute batch file causes uninstall to fail
Hi, I have a custom action during the installation process to execute a batch file to replace some config file. ... The installation goes smoothly. However, uninstallation fails. Do you know what might be the issue and a potential fix for this problem? Thank you very much in advance! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CustomAction-to-execute-batch-file-causes-uninstall-to-fail-tp7596886.html Sent from the wix-users mailing list archive at Nabble.com. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users