Hi All,

I have a vendor msi and i have created transform for customization and deployed to the users.

Now i have to add additional files to the existing package. I have added new files to transform and added upgrade code to uninstall the previous version but the previous version is not uninstalling.

I suspect, the product code and upgrade code of old msi/transform & new transorm are same.

how can i uninstall the old package and install the new package.

Thanks..
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
Ramu,

Try uninstalling previous version by adding custom action sequencing after AppSearch.
Hope it helps.

Manu
Answered 09/30/2009 by: Manu77
Orange Senior Belt

Please log in to comment
0
Thanks Manu.

In Execute immediate / Execute Defferred context?
Answered 09/30/2009 by: ramu_ch
Orange Belt

Please log in to comment
0
Sorry Manu, I just realised that AppSearch is under User Intrface context.

what is the condition I have to use in my CA.
Answered 09/30/2009 by: ramu_ch
Orange Belt

Please log in to comment
0
Condition - Not Installed
Answered 09/30/2009 by: Manu77
Orange Senior Belt

Please log in to comment
0
No Luck..

here is my condition.

If Not Installed then
Run WiseScript Installation .\wisescript.exe
End

In WiseScript.exe, i am just uninstalling the package 'msiexec /x productcode /qn'

pls help to uninstall.

Ramu
Answered 09/30/2009 by: ramu_ch
Orange Belt

Please log in to comment
0
Is Product Code also the same?
Answered 09/30/2009 by: Manu77
Orange Senior Belt

Please log in to comment
0
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.
Answered 09/30/2009 by: VBScab
Red Belt

Please log in to comment
0
Ramu,

Try uninstalling previous version by adding custom action sequencing after AppSearch.
Hope it helps.


no this will not help
what has appsearch got to do with an upgrade

as vbscab has said just move the removeexistingproduct action so it's after installvalidate but before installinitialize

Answered 09/30/2009 by: cygan
Fifth Degree Brown Belt

Please log in to comment
0
removeexistingproduct action is placed after installvalidate before installfinalise in my transform.

what do i need to do? do i need to create any entry?? can you please little bit in detail to understand.

Thanks~Ramu
Answered 09/30/2009 by: ramu_ch
Orange Belt

Please log in to comment
0
small correction:
removeexistingproduct action is placed after installvalidate before installinitialize in my transform.
Answered 09/30/2009 by: ramu_ch
Orange Belt

Please log in to comment
0
Answered 09/30/2009 by: VBScab
Red Belt

Please log in to comment
0
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
Answered 10/01/2009 by: rayz_0020
Senior Purple Belt

Please log in to comment
0
Wait a second, wait a second...I've just re-read your original post.

What you need is neither an upgrade nor an uninstall. What you need is a RE-install:

MSIEXEC /I [path_to_and_name_of_MSI] REINSTALL="ALL" REINSTALLMODE=[your choice, but try "vomus"]
Answered 10/01/2009 by: VBScab
Red Belt

Please log in to comment
0
Thanks for the help!!!

I sorted out this problem using a wrapper executable. Here are the steps and i successfully upgraded.
1. In my wise script, first i checked for the existing package with productcode and if it is installed, uninstalled.
2. then installing the new transform with the same old vendor supplied MSI.

Yes..this way i have completed my upgrade and installed new one.
once again thanks everyone for their suggestions.
~Ramu
Answered 10/01/2009 by: ramu_ch
Orange Belt

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