Solved

MSI remove - path or number for uninstall

Posted on 2010-11-09
12
1,013 Views
Last Modified: 2012-05-10
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??
0
Comment
Question by:Pete
  • 4
  • 4
  • 4
12 Comments
 
LVL 4

Expert Comment

by:Antyrael
ID: 34092419
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
 
LVL 1

Author Comment

by:Pete
ID: 34092475
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
 
LVL 4

Expert Comment

by:Antyrael
ID: 34092541
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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 35

Assisted Solution

by:Joseph Daly
Joseph Daly earned 400 total points
ID: 34093728
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
 
LVL 1

Author Comment

by:Pete
ID: 34093934
Thanks can you elaborate on the command:

WMIC product where name="Productname" call uninstall

msiexec /x "productname" ????
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 34093970
Sure what would you like to know?
0
 
LVL 1

Author Comment

by:Pete
ID: 34094010
so what would the command be to remove from add\remove progs?
"flash player active x"
0
 
LVL 35

Expert Comment

by:Joseph Daly
ID: 34094028
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
 
LVL 4

Assisted Solution

by:Antyrael
Antyrael earned 100 total points
ID: 34094055
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
 
LVL 1

Author Comment

by:Pete
ID: 34094210
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
 
LVL 4

Expert Comment

by:Antyrael
ID: 34094300
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
 
LVL 35

Accepted Solution

by:
Joseph Daly earned 400 total points
ID: 34096832
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

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question