we deployed an MSI app using sneakernet a couple years ago.
we know that the new version we wish to deploy will not cleanly upgrade due to an unsupported patch that was applied during the original install process. we need to script/deploy an uninstall. is there some decent guidance someplace that can point me in the direction of how to uninstall a package using MSI? either scripted, or otherwise? anything but manually.

can a simple script be written that call add/remove programs to remove the package?
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
Command line

using msiexec
msiexec /x {12345678-1234-1234-1234-123456789012} /qn

or using wmic
wmic product where IdentifyingNumber="{12345678-1234-1234-1234-123456789012} call uninstall

Alan
Answered 04/10/2006 by: ab2cv
Orange Senior Belt

Please log in to comment
0
How does one find out the Identifying Number for any given application?
Answered 04/12/2006 by: al_depansieu
Yellow Belt

Please log in to comment
0
The identifying number is simply the [ProductCode] for the application. This can be found in the property table of the MSI (view using ORCA or whatever repackager tool you use) or using wmic on a machine on which it is installed. Type 'wmic product list' from a command prompt and this will return a list of all installed MSI packages coimplete with their 'IdentifyingNumber'

Alan
Answered 04/13/2006 by: ab2cv
Orange Senior Belt

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