Deferred custom actions run during script execution based on their relation
to other actions in the MSI.

In this case, it sounds like you want your custom action to be scheduled
Before="RemoveRegistryValues" (
http://msdn.microsoft.com/en-us/library/aa371207(VS.85).aspx).

On Tue, Jun 7, 2011 at 7:58 PM, John Bergman <
john.berg...@xpedienttechnologies.com> wrote:

> I thought deferred custom uninstall actions ran after the normal uninstall
> stuff...
>
> -----Original Message-----
> From: william lee [mailto:wele...@gmail.com]
> Sent: Tuesday, June 07, 2011 8:12 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] When does the Registry key/value get deleted during
> Uninstall
>
> Hi,
> There is a tricky problem bother me these days. I don't understand why the
> certain Registry key/value got removed before my uninstall custom action is
> called.
> we have a custom action scheduled after ProcessComponents, but before
> RemoveRegistryValues:
> InstallValidate
> InstallInitialize
> ProcessComponents
> MyCA
> ....
> RemoveRegistryValues
>
> we also defined Registry key/value in the MSI's Registry table. so it will
> get created and removed during install and uninstall.
> MyCA is a deferred uninstall custom action will read from that Registry
> Key.
>
> but during our testing, when MyCA is get called,  the Registry key is
> already deleted.
> Does ProcessComponents will delete the registry key?? I thought
> RemoveRegistryValues will do that job.
>
>
> thanks,
> William L.
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image Editing
> and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to