Uninstalling previous version
Hello folks,
I am trying to uninstall a previous version of an application using the new version.
I tried with the below methods but didn't work.
1. Had the same upgrade code for both the versions. ---> didn't work
2. Witha diffrent upgrade code added a new row to upgrade table with old upgrade code and version and attributes=512 and RemoveExistingProducts as Action ---> Still didn't work.
Is there anything I am overlooking.
I did the same thing for so many applications they seemed to be working fime. But not this.
Note: this is a capture in both the versions.
Thanks,
Ram.
I am trying to uninstall a previous version of an application using the new version.
I tried with the below methods but didn't work.
1. Had the same upgrade code for both the versions. ---> didn't work
2. Witha diffrent upgrade code added a new row to upgrade table with old upgrade code and version and attributes=512 and RemoveExistingProducts as Action ---> Still didn't work.
Is there anything I am overlooking.
I did the same thing for so many applications they seemed to be working fime. But not this.
Note: this is a capture in both the versions.
Thanks,
Ram.
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
Ram
15 years ago
Hello folks,
Got it working
I had to add the an value REMOVEEXISTINGPRODUCTS to the propertySecureCustomProperties .
Thanks,
Ram.
Got it working
I had to add the an value REMOVEEXISTINGPRODUCTS to the property
Thanks,
Ram.
Posted by:
aogilmor
15 years ago
REMOVEEXISTINGPRODUCTS
ORIGINAL:
Got it working
I had to add the an value REMOVEEXISTINGPRODUCTS to the propertySecureCustomProperties .
Glad it worked, but I'd be cautious of naming a property REMOVEEXISTINGPRODUCTS , because RemoveExistingProducts is also the name of a standard action.
Posted by:
fetgor
15 years ago
Posted by:
anonymous_9363
15 years ago
"Must"? Hmmm...I wouldn't go that far. MS guidelines state that it should be as near the end of the sequence as possible, in order to minimise unncessary file removals. That is to say, it's their contention that, if a file is to be replaced, overwriting it (by the InstallFiles action) is more efficient than removing it first (which RemoveExistingProducts might do) and then installing the later version anyway. So much depends on whether the files in question contain version information or or correctly date/time-stamped, of course.
Quoting an actual sequence number is fairly pointless, as each MSI will have completely different sequence numbers.
Quoting an actual sequence number is fairly pointless, as each MSI will have completely different sequence numbers.
Posted by:
Ram
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.