Wie erzwinge ich die Deinstallation einer Software, die vom MSI-Paket installiert wird?

43328
imgen

Jetzt kann Silverlight 5.1.10411.0 (x64) meines Computers nicht deinstalliert werden, da das MSI-Paket fehlt. Wie kann ich eine Deinstallation erzwingen? Der Grund, aus dem ich dies tun möchte, ist, dass ich die installierte Version von Silverlight 5.1.10411.0 (x64) nicht erneut herunterladen kann. Es gibt zwar eine x86-Version, nicht aber eine x64-Version Google. Oder wenn mir jemand auf das richtige Downloadpaket verweisen kann, ist das auch akzeptabel.

4
Laden Sie [Silverlight 64.exe] (http://www.technize.net/?dl_id=31) herunter. Ich hoffe, es wird Ihnen helfen. avirk vor 11 Jahren 0
Ja, ich habe es heruntergeladen. Werde es ausprobieren. imgen vor 11 Jahren 0
Gibt es hierzu Neuigkeiten? Gra vor 7 Jahren 0
Sammle deine Wut! Revo deinstalliere es! http://superuser.com/questions/957981/force-msi-to-uninstall Ahmed vor 7 Jahren 0

2 Antworten auf die Frage

9
Austin T French

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 Files\Application 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.

enter image description here Everything you see in add and remove programs (XP, Vista, 7 confirmed) is written to the registry at HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ as a subkey. enter image description here

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 Software\CutePDF Writer\Setup64.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:

Cd C:\Program Files (x86)\Acro Software\CutePDF Writer Setup64.exe /? 

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:

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 and reverse each set of hex digits. AFF7153F becomes F3517FFA, C4AA becomes AA4C and on down the GUID until you have the following:

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_MACHINE\SOFTWARE\Classes\Installer\Products

And sure enough, there she is: The Key hashed

With the following keys: enter image description here

Again, you can then look in ProductName for the name of the application.

Bonus tip: You can launch the Add/remove programs by typing appwiz.cpl into the start search, run line or a command prompt.

Es ist eine Menge Informationen für Grok, aber nachdem ich sie gelesen habe, finde ich, dass sie ziemlich gut sind. Ich werde versuchen, die Deinstallationsinformationen von Silverlight 5.1 zu finden und zu sehen, welche Tricks ich anwenden kann imgen vor 11 Jahren 0
Sieht aus wie der von Ihnen berechnete gehashte Schlüssel `F3517FFAAA4C84C49EEA68EC672D1168` ist nicht dasselbe wie auf dem Screenshot. Ich stehe auch vor, wenn ich Ihrer Methode folge. Die letzten beiden Sätze werden nicht als Ganzes umgekehrt, sondern als Satz von 2 Hex-Zahlen. skjoshi vor 7 Jahren 0
Ich habe ein kleines Python-Skript erstellt, um die manuelle Bedienung und die Korrektur des oben genannten Fehlers zu erleichtern. https://gist.github.com/joshiji/16a85e84d18cc12e9e606a987e23de6f skjoshi vor 7 Jahren 0
@skjoshi du bist richtig auf dem Screenshot! Keine Ahnung warum ich das vor fast 4 Jahren gemacht habe! Auch ewwwww Python ... Austin T French vor 7 Jahren 0
"komprimiert und gehasht"? Was für ein dummer Weg, um GUID-Tabellen in der Registrierung von Microsoft zu speichern! Was genau wird durch ** Umkehrung ** der Zeichenfolge erzielt? Was dachten sie?! DRS David Soft vor 6 Jahren 0
@DRSDavidSoft wurde Mitte / Ende der 90er Jahre entwickelt. Es war, wenn ich davon ausgehen musste, dass es sich um eine Sicherheitsmaßnahme auf niedriger Ebene handelte, um die Funktionsweise des MSI-Installationsprogramms zu verdecken ... Austin T French vor 6 Jahren 1
1
AdamYang

Es ist jetzt 2017, ich habe eine bessere Möglichkeit gefunden, eine Anwendung ohne msi zu deinstallieren.

Laden Sie das Microsoft-Tool von herunter

https://support.microsoft.com/de/help/17588/fix-problems-that-block-programme-von-wenn-installiert-oder-entfernt

Führen Sie es aus => Deinstallieren => Wählen Sie das Programm => Fertig

Damit ist es nicht nötig, die Registrierung zu berühren und keine Drittanbieter-Tools herunterzuladen, die Malwares enthalten.

Leider hat das bei mir nicht funktioniert. Was schließlich funktioniert hat, war ein älteres Tool namens "Windows Installer Cleanup", das als Download von älteren Websites zur Verfügung steht. Das hat perfekt funktioniert: http://www.softpedia.com/get/Security/Secure-cleaning/Windows-Installer-CleanUp-Utility.shtml Faredoon vor 6 Jahren 0