Hallo!
Ist zwar schon etwas älter, aber kann man ja immer wieder mal brauchen...
Warum nicht einfach den Uninstaller von Adobe verwenden? Der entfernt allen Flash-Kram von den Computern. Ich lasse den immer vor einer Installation vom Adobe Flash Player laufen, damit der alte Kram sauber entfernt wird. Bisher habe ich keine Probleme damit gehabt.
https://helpx.adobe.com/de/flash-player ... ndows.html
Sieht dann so in der Art aus:
Code: Select all
#Set:Product64, DONTDELETE WINDOWS64
#Set:Product32, DONTDELETE WINDOWS32
#Set:Product
#Set:Installation, DONTDELETE
#Set:Deinstallation, DELETE
#Reg:OnUninstallProduct, DELETE
;#Reg:Product
;#Reg:Product32, DONTDELETE WINDOWS32
;#Reg:Product64, DONTDELETE WINDOWS64
#Ini:Product
#Security:Product
#Set:Product32, DELETE WINDOWS32
#Set:Product64, DELETE WINDOWS64
[Processes]
IExplore=iexplore.exe,Internet Explorer, KILLPROCESS CONTINUE
FireFox=firefox.exe,Firefox, KILLPROCESS CONTINUE
Opera=opera.exe,Opera, KILLPROCESS CONTINUE
[Set:Product64]
Set V_FPPath=%WinDir%\SysWOW64\Macromed\Flash
[Set:Product32]
Set V_FPPath=%WinDir%\System32\Macromed\Flash
[Set:Product]
1: mms.cfg, %V_FPPath%\mms.cfg, NORMAL ALWAYS, 45
1: Flash_Uninstall.exe, %V_FPPath%\Flash_Uninstall.exe, NORMAL ALWAYS, 0
[SET:Installation]
AskKillProcesses -1, IExplore
AskKillProcesses -1, FireFox
AskKillProcesses -1, Opera
WaitWhileProcessExists FireFox
WaitWhileProcessExists IExplore
WaitWhileProcessExists Opera
AddMeter -1
If "%V_FPPath%\Flash_Uninstall.exe" <> "" Then "SET:Deinstallation2" EndIf
If %ErrorLevel% <> "0" Then "SET:DeInstallationError" EndIf
Call "%V_FPPath%\Flash_Uninstall.exe" -uninstall
Call MsiExec /I "%SRC%\install_flash_player_%Version%_active_x.msi" REBOOT=REALLYSUPPRESS ARPSYSTEMCOMPONENT=1 /qr /Li "%MSILogFile%"
If %ErrorLevel% == "1013" Then "SET:InstallationErrorNewerVersion" EndIf
If %ErrorLevel% <> "0" Then "SET:InstallationErrorIE" EndIf
Call MsiExec /I "%SRC%\install_flash_player_%Version%_plugin.msi" REBOOT=REALLYSUPPRESS ARPSYSTEMCOMPONENT=1 /qr /Li "%MSILogFile%"
If %ErrorLevel% == "1013" Then "SET:InstallationErrorNewerVersion" EndIf
If %ErrorLevel% <> "0" Then "SET:InstallationErrorOther" EndIf
[SET:Deinstallation]
If "%V_FPPath%\Flash_Uninstall.exe" <> "" Then "SET:Deinstallation2" EndIf
[SET:Deinstallation2]
If %ErrorLevel% <> "0" Then "SET:DeInstallationError" EndIf
-Call "%V_FPPath%\Flash_Uninstall.exe" -uninstall
-AddMeter -1
-WaitWhileProcessExists Opera
-AskKillProcesses -1, Opera
-WaitWhileProcessExists IExplore
-AskKillProcesses -1, IExplore
-WaitWhileProcessExists FireFox
-AskKillProcesses -1, FireFox
Grüße,
Chris