Avatar of Pete
PeteFlag for United Kingdom of Great Britain and Northern Ireland asked on

MSI remove - path or number for uninstall

On XP how can I find the path an MSI was installed from and \or the number that allows it to be uninstalled from a script:
eg:
msiexec /x \\server\folder\name.msi
or
msiexec /x {7145A744-C77A-4FE8-BA94-061EC41FEAEC}

I thought it was in HKLM\soft\ms\wind\current version\uninstall
but it is not listed??
Active DirectoryWindows Server 2008Windows Server 2003

Avatar of undefined
Last Comment
Joseph Daly

8/22/2022 - Mon
Antyrael

If an msi is successfully installed, that is the correct registry key to look under.
Do I understand correctly that you can't find the installed application with a search under that key?
sometimes the appID is listed instead of the application name itself.
ASKER
Pete

yes it is listed in add\remove programs as "flash active x 10" but there is nothing in that reg key relating to flash. it removes manually from add\remove programs but I need to script this so I need the removal info path or version....
Antyrael

Adobe Flash might a bit more troublesome to remove, take a look at the notes on this webpage:
http://www.appdeploy.com/packages/detail.asp?id=798
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
SOLUTION
Joseph Daly

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Pete

Thanks can you elaborate on the command:

WMIC product where name="Productname" call uninstall

msiexec /x "productname" ????
Joseph Daly

Sure what would you like to know?
ASKER
Pete

so what would the command be to remove from add\remove progs?
"flash player active x"
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Joseph Daly

if that is how it shows up in add/remove programs then yes you would enter that in the WMIC command.

Another way to tell would be to open a command prompt and type

wmic product get name

This will list every product installed you should be able to copy and paste the returned name from here as well.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
Pete

I know it sound mad but even though adobe flash player 10 activex is listed in add\remove progs running the command below does not list it (it lists everything else!):
wmic product get name

running the command:
wmic product where name="adobe flash player 10 activex " call uninstall
give the message "no instances available"
Is that possible?
 
Antyrael

Yes, it is possible, it just means it's not cleanly removed.
Check this support website from Adobe: http://kb2.adobe.com/cps/141/tn_14157.html
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.