/build/static/layout/Breadcrumb_cap_w.png

Uninstallation of an MSI

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

Answers (3)

Posted by: ab2cv 18 years ago
Orange Senior Belt
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
Posted by: al_depansieu 18 years ago
Yellow Belt
0
How does one find out the Identifying Number for any given application?
Posted by: ab2cv 18 years ago
Orange Senior Belt
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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