/build/static/layout/Breadcrumb_cap_w.png

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.

0 Comments   [ + ] Show comments

Answers (13)

Posted by: kiptek 16 years ago
Second Degree Green Belt
0
Not sure I get what you are saying. Is this your scenario;

old version installed on machine is 4.3.1
New version is 4.4
You are creating an MST for 4.4 to upgrade 4.3.1
Posted by: nheim 16 years ago
10th Degree Black Belt
0
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
Posted by: anks_09 16 years ago
Orange Senior Belt
0
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
Posted by: Cybermage 16 years ago
Orange Belt
0
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.
Posted by: anks_09 16 years ago
Orange Senior Belt
0
hi Cybermage,

I guess this is some strange problem whichis going against the fundamental rule to do upgrade in the transforms.There is some thing which is going wrong while upgrading through transforms since it works fine if i implement through an MSI.
Posted by: prashanth 16 years ago
Orange Belt
0
Hi Ankit ,
I think the problem amy be with the product codes or so . Could you post the Product codes and Package codes for the 4.3.1 version MSI , 4.4 version MSI and MST also ..
Posted by: anks_09 16 years ago
Orange Senior Belt
0
ProductCode is {1B80FEE7-70AB-466B-8124-12570278E98D}
UpgradeCode is {5906D844-594F-41E8-86C3-B3EA62EFEEE5} this both are same in 4.3 as well as 4.4
Posted by: anonymous_9363 16 years ago
Red Belt
0
ORIGINAL: anks_09
ProductCode is {1B80FEE7-70AB-466B-8124-12570278E98D}
UpgradeCode is {5906D844-594F-41E8-86C3-B3EA62EFEEE5} this both are same in 4.3 as well as 4.4


- See Nick's (nheim's) response, post #3.
- Research how upgrades work/are set up.
Posted by: prashanth 16 years ago
Orange Belt
0
Hi Ankit ,
Try changing the product code , this might solve ur problem . Changing the product code in the .mst might not help you. So change the product code in the msi and upgrade it.
Posted by: anks_09 16 years ago
Orange Senior Belt
0
Thanks prashanth,

Ya it work by changing ProductCOde in vendor MSI.But can you tell me is it the only way i mean to change product code of vendor MSI is not right.
Posted by: prashanth 16 years ago
Orange Belt
0
Hi Ankit ,
I guess this is the only way to upgrade it. Not sure though .
Posted by: rayz_0020 16 years ago
Senior Purple Belt
0
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
Orange Belt
0
Hi rayz,
I guess you are right , as a week before, i did upgrade the application from per-user installation to per-machine installation.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ