If you want to condition a CA to run on Install, but not uninstall you can
just use this for the install:

<Custom Action="CA1" After="InstallFinalize">NOT Installed</Custom>

and

<Custom Action="CA2" After="RemoveExistingProducts">Installed</Custom>

On the other one I believe.

On 1/24/07, Joseph O'Sullivan <[EMAIL PROTECTED]> wrote:

I have this piece of code in my MSI

Sample A.

<InstallExecuteSequence>
   <Custom Action="SampleCustomAction" After="InstallFinalize" />
   <RemoveExistingProducts After="SampleCustomAction" />
   <Custom Action="MessTestCustomAction" After="RemoveExistingProducts">
</InstallExecuteSequence>

Sample B.

<InstallExecuteSequence>
   <Custom Action="SampleCustomAction" After="InstallFinalize" />
   <RemoveExistingProducts After="SampleCustomAction" />
   <Custom Action="MessTestCustomAction"
After="RemoveExistingProducts"><![CDATA[REMOVE <> "~ALL"]]></Custom>
</InstallExecuteSequence>

My thoughts are these the custom actions are to run on install, but not
on uninstall. When I have these in the install it installs fine but just
says there is an error when I uninstall. Both examples of the code give
the same error. I suppose my question is that I am doing this right for
the installs to run on just the install, if not how do I do it.



Regards
Joe
______________________________________________________________________

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
______________________________________________________________________Visit
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.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to