From a command prompt run msiexec /x ProductCode This should uninstall your application. More Info: 1. Using the original MSI. If you have access to the original MSI used for the installation, you can simply right click it in Windows Explorer and select Uninstall. As stated above you can do the same by command line: msiexec /x filename.msi /q.
Active1 year, 9 months ago
Now my computer's Silverlight 5.1.10411.0 (x64) cannot be uninstalled because the MSI package is missing, how can I force it to uninstall? The reason that I want to do this is that I cannot redownload the installed of Silverlight 5.1.10411.0 (x64), there is a x86 one, but not x64 one - shame on you, Microsoft, or me for that I cannot find it using Google. Or if someone can point me to the right download package is also acceptable.
imgenimgen
Msiexec Force Uninstall Free
50933 gold badges88 silver badges1818 bronze badges
2 Answers
Here is a little article I have been working on, and although it does not address your question directly, it might be useful. Just pay attention to the registry keys I mention and you can generally delete them, as well as the
C:Program FilesApplication folder to trick the installers into think
Everything You Wanted to Know about Add / Remove Programs in Windows
Have you ever wondered how Windows presents and uses the Add/Remove programs? Or perhaps you have the need to enumerate these values yourself? Here is some useful information on how it works, how to use it and some neat tricks you might enjoy.
Everything you see in add and remove programs (XP, Vista, 7 confirmed) is written to the registry at HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstall as a subkey.
Examples: “SL-M2020W/XAA”. This product detection tool installs software on your Microsoft Windows device that allows HP to detect and gather data about your HP and Compaq products to provide quick access to support information and solutions. Examples: 'LaserJet Pro P1102 paper jam', 'EliteBook 840 G3 bios update'Need help finding your product name or product number? Hp all in one software. Technical data is gathered for the products supported by this tool and is used to identify products, provide relevant solutions and automatically update this tool, to improve our products, solutions, services, and your experience as our customer.Note: This tool applies to Microsoft Windows PC's only. Include keywords along with product name.
For example, I have the subkey CutePDF Writer Installation with the keys and values:
Now, of interest here is the UninstallString value. When you click “uninstall” in Add/Remove programs, what it does is call this value and run it. You can do the same manually, for example with CutePDF if you run
C:Program Files (x86)Acro SoftwareCutePDF WriterSetup64.exe /uninstall from either the Run line or the command prompt, you will get the uninstaller. You could also find additional uninstall options by running the command with the /? switch, or run the following from the cmd prompt:
Note, this is a bad example as the switch does not return anything! But generally this will work, or you can just call the uninstaller manually this way.Now, let’s look at a possible problem with the Uninstall list, you will see some files that names in this format: {AFF7153F-C4AA-4C48-AEE9-8611D276CE86}
This is how a MSI installer writes its name to the Registry, instead of writing the friendly name an EXE installer writes, it writes its GUID.
This is not really a problem, as much as a difficulty in reading the keys. There are couple ways to read through these. One, there is a Value Name DisplayName that will have the more friendly value of (in this example) Quest ActiveRoles Management Shell for Active Directory (x64).
Another approach, is Windows writes a “compressed and hashed” version of the GUID to another part of the Registry.
To Hash the value, take the GUID {AFF7153F-C4AA-4C48-AEE9-8611D276CE86} and reverse each set of hex digits.AFF7153F becomes F3517FFA, C4AA becomes AA4C and on down the GUID until you have the following:{F3517FFA-AA4C-84C4-9EEA-68EC672D1168}
Now, drop the {, -, and } to get F3517FFAAA4C84C49EEA68EC672D1168.You now have the compressed and hashed GUID that you can compare to another key.
You should now be able to find this new GUID at the following location in the Registry:HKEY_LOCAL_MACHINESOFTWAREClassesInstallerProducts
And sure enough, there she is:
With the following keys:
Again, you can then look in ProductName for the name of the application.
Bonus tip: You can launch the Add/remove programs by typing Scott
appwiz.cpl into the start search, run line or a command prompt.
17.3k1111 gold badges4848 silver badges9292 bronze badges
Austin T FrenchAustin T French
It is 2017 now, I found a better way of force uninstall an application without msi.
Download the Microsoft tool from
Run it => Uninstall => Select the program => Done
With this there is no need to touch registry and no need to download third party tools that may contains Malwares.
AdamYangAdamYang
Not the answer you're looking for? Browse other questions tagged windows-installersilverlight or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |