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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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
Answered 07/24/2008 by: kiptek
Second Degree Green Belt

Please log in to comment
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
Answered 07/24/2008 by: nheim
Tenth Degree Black Belt

Please log in to comment
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
Answered 07/25/2008 by: anks_09
Orange Senior Belt

Please log in to comment
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.
Answered 07/25/2008 by: Cybermage
Orange Belt

Please log in to comment
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.
Answered 07/25/2008 by: anks_09
Orange Senior Belt

Please log in to comment
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 ..
Answered 07/28/2008 by: prashanth
Orange Belt

Please log in to comment
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
Answered 07/28/2008 by: anks_09
Orange Senior Belt

Please log in to comment
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.
Answered 07/28/2008 by: VBScab
Red Belt

Please log in to comment
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.
Answered 07/28/2008 by: prashanth
Orange Belt

Please log in to comment
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.
Answered 07/29/2008 by: anks_09
Orange Senior Belt

Please log in to comment
0
Hi Ankit ,
I guess this is the only way to upgrade it. Not sure though .
Answered 07/29/2008 by: prashanth
Orange Belt

Please log in to comment
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....
Answered 07/29/2008 by: rayz_0020
Senior Purple Belt

Please log in to comment
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.
Answered 07/29/2008 by: prashanth
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity