...only if your CA is scheduled after InstallValidate, so pay attention to that.

Dacian


----- Original Message ----
From: "Wilson, Phil" <[EMAIL PROTECTED]>
To: wix-users@lists.sourceforge.net
Sent: Tuesday, February 6, 2007 6:24:24 PM
Subject: Re: [WiX-users] Custom Action to run only on uninstall...

The condition to use for an uninstall is REMOVE="ALL", it's true on an
uninstall. 

Phil Wilson 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joseph
O'Sullivan
Sent: Tuesday, February 06, 2007 1:48 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action to run only on uninstall...

What am I doing wrong today :-)

What I am trying to do is run and exe file RemoveAll.exe at the end of
the uninstall, I only want it to run on uninstall.

Sample one has a custom action running on install and is working fine,
Sample two is not working I am quite sure it is a mistake by me but I
can not see it.

Thanks

Sample One (This works)
<!-- Custom Action Parts-->
    <CustomAction Id="fuCustomAction" Return="check"
FileKey="Inst.exe" ExeCommand="" />
<!-- Custom Action Parts-->

<InstallExecuteSequence>
    <Custom Action="fuCustomAction" After="InstallFinalize">NOT
Installed</Custom> </InstallExecuteSequence>

Sample Two (This does not)
<!-- Custom Action Parts-->
    <CustomAction Id="fuCustomAction" Return="check"
FileKey="Inst.exe" ExeCommand="" />
    <CustomAction Id="RemFilesCA" Return="check"
FileKey="RemoveAll.exe" ExeCommand="" />
<!-- Custom Action Parts-->

<InstallExecuteSequence>
    <Custom Action="fuCustomAction" After="InstallFinalize">NOT
Installed</Custom>
      <Custom Action="RemFilesCA"
After="RemoveExistingProducts">Installed</Custom>
</InstallExecuteSequence>
 
Thanks and Regards
Joe O'Sullivan
______________________________________________________________________

You might be interested in this...

RM has been accredited by Becta as a Learning Platform Services
Supplier.

Find out more about Learning Platforms and what they will mean for you
in the Guardian's 8 page supplement:

http://www.rm.com/generic.asp?cref=GP840211&srcurl=ICS120107PT
______________________________________________________________________Vi
sit our Website at http://www.rm.com

This message is confidential. You should not copy it or disclose its
contents to anyone. You may use and apply the information for the
intended purpose only. Internet communications are not secure;
therefore, RM does not accept legal responsibility for the contents of
this message. Any views or opinions presented are those of the author
only and not of RM. If this email has come to you in error, please
delete it, along with any attachments. Please note that RM may intercept
incoming and outgoing email communications. 

Freedom of Information Act 2000
This email and any attachments may contain confidential information
belonging to RM.  Where the email and any attachments do contain
information of a confidential nature, including without limitation
information relating to trade secrets, special terms or prices these
shall be deemed for the purpose of the Freedom of Information Act 2000
as information provided in confidence by RM and the disclosure of which
would be prejudicial to RM's commercial interests.

This email has been scanned for viruses by Trend ScanMail.

------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users







 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to