MSI RemoveExistingProducts Action isn't working
-
Thursday, September 20, 2012 11:07 AM
Hi all,
I'm new with the MSI and just working on a bug that we have.
I have a couple of problems that I would like to consult you all.
At this link I saw some explanation about the RemoveExisitingProducts action :
http://msdn.microsoft.com/en-us/library/windows/desktop/aa371197(v=vs.85).aspx
It's said that Between the InstallValidate action and the InstallInitialize action. In this case, the installer removes the old applications entirely before installing the new applications. This is an inefficient placement for the action because all reused files have to be recopied.
when I try to wrtie the between - it doesn't work. Is there a problem with the way I write it?
<InstallExecuteSequence>
<!-- Uninstall Sequence -->
<Custom Action="..........">Installed and REMOVE="ALL"</Custom>
<Custom Action=".........">Installed and REMOVE="ALL"</Custom>
<Custom Action=".........">Installed and REMOVE="ALL"</Custom>
<Custom Action="........">Installed and REMOVE="ALL"</Custom>
<!-- Install Sequence -->
<RemoveExistingProducts Before="InstallInitialize" After="InstallValidate"/> /***************** here is my problem ********************/
<Custom Action="......">NOT Installed or REINSTALL="ALL"</Custom>
<Custom Action=".......">NOT Installed or REINSTALL="ALL"</Custom>
<Custom Action="........">NOT Installed or REINSTALL="ALL"</Custom>
<Custom Action="........">NOT Installed or REINSTALL="ALL"</Custom>
</InstallExecuteSequence>
thank you!
All Replies
-
Friday, September 21, 2012 8:20 PMModerator
There's not enough info to tell why your upgrade isn't working. You also need a new ProductCode, incremented ProductVersion, entries in the Upgrade table, the ame UpgradeCode, a FindRelatedProducts action and probably other stuff I've forgotten. I can't tell if you've done any of those.
This looks like WiX - you should ask via the WiX users mailing list.
Phil Wilson
- Marked As Answer by Chester HongMicrosoft Contingent Staff, Moderator Thursday, September 27, 2012 8:10 AM
-
Thursday, September 27, 2012 9:22 AM
thanks,
where can I find the Wix Users mailing list?
-
Saturday, September 29, 2012 5:43 PMModerator
thanks,
where can I find the Wix Users mailing list?
http://lmgtfy.com/?q=wix+users+mailing+listPhil Wilson


