Upgrade code problem
0 Comments
[ + ] Show comments
Answers (14)
Please log in to answer
Posted by:
Manu77
13 years ago
Posted by:
ramu_ch
13 years ago
Posted by:
ramu_ch
13 years ago
Posted by:
anonymous_9363
13 years ago
What is all this nonsense with Custom Actions to uninstall?
An UpgradeCode will be used in conjunction with the FindRelatedProducts action to determine an application's upgradability. If you want to simply uninstall the previous version - not upgrade it - then move the RemoveExistingProducts CA to earlier in the sequence.
An UpgradeCode will be used in conjunction with the FindRelatedProducts action to determine an application's upgradability. If you want to simply uninstall the previous version - not upgrade it - then move the RemoveExistingProducts CA to earlier in the sequence.
Posted by:
cygan
13 years ago
Posted by:
ramu_ch
13 years ago
Posted by:
ramu_ch
13 years ago
Posted by:
anonymous_9363
13 years ago
what do i need to do?Nothing, except do some research.
http://msdn.microsoft.com/en-us/library/aa371197%28VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/aa372379%28VS.85%29.aspx
Posted by:
rayz_0020
13 years ago
1. If the product code and package code are same for your earlier and the current versions, upgrade will not happen. You must change these two codes in the current version's MSI (Changing this in MST wont help). I understand this is a VMSI but still I believe there is no other way. And make sure you do this change in MSI only with ORCA. Upgrade codes can be same. That is not a problem.
2. Make sure the upgarde table is properly populated with the upgrade code and the version details.
3. Place the action, RemoveExistingProducts between InstallInitialize and InstallValidate in Execute Immediate.
If you still face issues. check for the following actions in the log and post it here...
RemoveexisitingProducts
FindrelatedProducts
2. Make sure the upgarde table is properly populated with the upgrade code and the version details.
3. Place the action, RemoveExistingProducts between InstallInitialize and InstallValidate in Execute Immediate.
If you still face issues. check for the following actions in the log and post it here...
RemoveexisitingProducts
FindrelatedProducts
Posted by:
anonymous_9363
13 years ago
Posted by:
ramu_ch
13 years ago

so that the conversation will remain readable.