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??
LVL 1
PeteAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Joseph DalyConnect With a Mentor Commented:
You could also try the windows installer cleanup utility. Microsoft removed this from download on their site but there are still other mirrors out there that have it.

http://www.softpedia.com/get/Security/Secure-cleaning/Windows-Installer-CleanUp-Utility.shtml

This tool should go through and help remove and lingering installation files etc from the install.
0
 
AntyraelICT SpecialistCommented:
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.
0
 
PeteAuthor Commented:
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....
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
AntyraelICT SpecialistCommented:
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
0
 
Joseph DalyConnect With a Mentor Commented:
I used to use the GUID uninstallation approach alot in the past until i found this little trick. In my opinion it works much better.

WMIC product where name="Productname" call uninstall

The productname that you enter in the quotes should be exactly what appears in add/remove programs.

This method works much better than the guid uninstall because sometime different minor versions of products will have different guids.
0
 
PeteAuthor Commented:
Thanks can you elaborate on the command:

WMIC product where name="Productname" call uninstall

msiexec /x "productname" ????
0
 
Joseph DalyCommented:
Sure what would you like to know?
0
 
PeteAuthor Commented:
so what would the command be to remove from add\remove progs?
"flash player active x"
0
 
Joseph DalyCommented:
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.
0
 
AntyraelConnect With a Mentor ICT SpecialistCommented:
Petben, xxdcmast gave you the command you need to run, it's not msiexec /x "flash player active x".

The command you need to use is:
wmic product where name="Flash Player ActiveX" call uninstall

0
 
PeteAuthor Commented:
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?
 
0
 
AntyraelICT SpecialistCommented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.