Problem during Upgrade
Hi everybody,
I got a package which is a vendor MSI.My package version is 4.4 and the package which i need to upgrade via transforms has version 4.3.I have popullated Upgrade table properly.I have sequence the REmoveExistingProducts action between Installvalidate and InstallInitialize.When i apply the transforms on my base msi it propmts me error " Another version is already install on the build remove it from Add Remove program first before Installation".
For trouble shooting i have create a copy of vendor MSI and added upgrade directly into the baseMSI.It was suprise to see that upgrade worked if i am using MSI but if i used my transform it is not performing the upgrade.
Note:-I have found that ProductCode and UpgradeCode of both the application are same.I tried changing it from my package but it is still not working.
Waiting for a good solution.
I got a package which is a vendor MSI.My package version is 4.4 and the package which i need to upgrade via transforms has version 4.3.I have popullated Upgrade table properly.I have sequence the REmoveExistingProducts action between Installvalidate and InstallInitialize.When i apply the transforms on my base msi it propmts me error " Another version is already install on the build remove it from Add Remove program first before Installation".
For trouble shooting i have create a copy of vendor MSI and added upgrade directly into the baseMSI.It was suprise to see that upgrade worked if i am using MSI but if i used my transform it is not performing the upgrade.
Note:-I have found that ProductCode and UpgradeCode of both the application are same.I tried changing it from my package but it is still not working.
Waiting for a good solution.
0 Comments
[ + ] Show comments
Answers (13)
Please log in to answer
Posted by:
kiptek
16 years ago
Posted by:
nheim
16 years ago
Hi Ankit,
did you add the Upgrade property to the SecureCustomProperties property?
And make sure, you don't have the same package-/product- code on both MSI's.
It's also important to know, that you can't update a per user package from the machine context and vice versa.
Hope, this gives you some hints.
Regards, Nick
did you add the Upgrade property to the SecureCustomProperties property?
And make sure, you don't have the same package-/product- code on both MSI's.
It's also important to know, that you can't update a per user package from the machine context and vice versa.
Hope, this gives you some hints.
Regards, Nick
Posted by:
anks_09
16 years ago
Thanks for reply,
First to kiptek--I am generating transform for 4.4 package and on machine the version of the application is 4.3.
Second to nheim--I have added the property to secureCustomproperty in property table.Also I tried to change the product code from my transforms and try to upgrade it it still not upgrading the older version.I guess do you have any idea about why the upgrade cannot be done through transforms since i can do the upgrade through MSI.Do reply if you have any solution
First to kiptek--I am generating transform for 4.4 package and on machine the version of the application is 4.3.
Second to nheim--I have added the property to secureCustomproperty in property table.Also I tried to change the product code from my transforms and try to upgrade it it still not upgrading the older version.I guess do you have any idea about why the upgrade cannot be done through transforms since i can do the upgrade through MSI.Do reply if you have any solution
Posted by:
Cybermage
16 years ago
Anks_09
I had this problem also last week and try also a lot of things to make a upgrade possible and failed.
Already run a msi log? maybe a idea to post it here for people to analyse?
As workaround the distribution tool solve the problem now.
Removing the old version of the application and installing the new version.
But i hope someone has a better solution.
I had this problem also last week and try also a lot of things to make a upgrade possible and failed.
Already run a msi log? maybe a idea to post it here for people to analyse?
As workaround the distribution tool solve the problem now.
Removing the old version of the application and installing the new version.
But i hope someone has a better solution.
Posted by:
anks_09
16 years ago
Posted by:
prashanth
16 years ago
Posted by:
anks_09
16 years ago
Posted by:
anonymous_9363
16 years ago
Posted by:
prashanth
16 years ago
Posted by:
anks_09
16 years ago
Posted by:
prashanth
16 years ago
Posted by:
rayz_0020
16 years ago
It's also important to know, that you can't update a per user package from the machine context and vice versa.
Just curious.. I guess this is possible.. I can remember that i have done it for one my app some time before.. IIRC I moved the remove existing products before install initialize and removed/unchecked the option - "migrate Feature states" in the upgrade entry's details....
Posted by:
prashanth
16 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.