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 <[email protected]> wrote:
> Hi,
>
> I have a custom action during the installation process to execute a batch
> file to replace some config file.
>
> <CustomAction Id="BatchScript" Directory="AV" Execute="deferred"
> Impersonate="yes" Return="check" ExeCommand="[SystemFolder]\cmd /c
> &quot;ConfigBatch.bat&quot;" />
>
> <InstallExecuteSequence>
> ...
>   <Custom Action="BatchScript" After="InstallFiles" />
> </InstallExecuteSequence>
>
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to