Hi Blair,
 Thanks for the great tip! My action is scheduled as:
<Custom Action="RemoveBoxShortcuts"
After="InstallFinalize">REMOVE="ALL"</Custom>

I can change it to After="RemoveFolders". I'm still surprised the new
files did not get installed but the product got registered. I would expect
either both or neither.

I think the reason the custom action was scheduled for after
InstallFinalize is that while removing the shortcuts is really nice on
uninstall, a failure there isn't bad enough for us to prevent the user
from uninstalling.

-Dave

Message: 5
Date: Tue, 6 Aug 2013 17:06:48 -0700
From: Blair Murri <os...@live.com>
Subject: Re: [WiX-users] Installation failed, but product updated
To: General discussion for Windows Installer XML toolset.
        <wix-users@lists.sourceforge.net>
Message-ID: <blu168-w7197c00f73b69b3fe43895cd...@phx.gbl>
Content-Type: text/plain; charset="Windows-1252"

When was your custom action scheduled, are you manually setting any of the
ARP registry keys manually, and do you have rollback turned off?

Product registration happens in the deferred phase of the RegisterProduct
action, and should have rolled back if your custom action failure was
after that action and before InstallFinalize.

If your action is a commit action or is scheduled after InstallFinalize,
the product will remain installed.

Blair

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to