Hi Maksim,

Thanks for updating me.

I had also tried to put uninstall CustomAction in InstallExecuteSequence , but 
that does not work in my case.
What I am doing in Custom Action is to run a tool that will uninstall some 
child MSIs.

So when Custom Action executes on uninstall my tool fails to uninstall child 
MSIs with return code 652(means: Another installation is already in progress.  
Complete that installation before proceeding with this install.)

Below is my custom action:

 <CustomAction Id='RemoveSecondMSI' Directory="INSTALLDIR" 
ExeCommand='&quot;D:\Test Programs\UninstallTool.exe&quot;' Return='ignore' 
Execute='immediate' />

 <InstallExecuteSequence>
    <Custom Action='RemoveSecondMSI' After='InstallFinalize'>Installed</Custom>
 </InstallExecuteSequence>    

Thanks,
AK.


-----Original Message-----
From: maksim.vazhe...@emc.com [mailto:maksim.vazhe...@emc.com] 
Sent: Wednesday, January 19, 2011 5:40 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action on uninstall does not run

>From Windows Installer documentation:
"The InstallUISequence table lists actions that are executed when the top-level 
INSTALL action is executed and the internal user interface level is set to full 
UI or reduced UI. The installer skips the actions in this table if the user 
interface level is set to basic UI or no UI."
On uninstall basic UI level is set, so InstallUISequence does not run.
If you want some action to be executed in any UI you have to add it to 
InstallExecuteSequence. (On installation user can use '/q' flag for msiexec, 
and InstallUISequence also will be skipped).

Maksim.


-----Original Message-----
From: Arun Kumar [mailto:arun_jku...@persistent.co.in] 
Sent: Wednesday, January 19, 2011 2:41 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action on unistall does not run

Hi,

I'm just running an custom action on uninstall, but I notice that one
of my custom actions isn't running during the uninstall.

I've put it in the UIInstallSequence thus:

   <InstallUISequence>
       <Custom Action="MyUninstallAction" 
After='ExecuteAction'>Installed</Custom>
    </InstallUISequence>

But it doens't seem to run.

What I've seen implies that the UI sequence isn't run on an add/remove
programs uninstall.  Is that really the case?

Really appreciate any help.

Thanks,
AK.

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to