Uninstalling IE11

Antworten
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Uninstalling IE11

Beitrag von bobzbobz »

Hi

I am working on a package for Internet Explorer 11.
So far I have just had a setup-script, but now I need a way to uninstall IE11.

I tried adding this command to a WinBatch_uninstall section, but it does'nt seem to work:

Code: Alles auswählen

wusa /uninstall /kb:2841134 /quiet /norestart
(I just get an unknown error-code)

I then want to use this way of uninstall:

Code: Alles auswählen

FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*11.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet /norestart"
It does'nt seem to work out-of-the-box, so I think I need to split it up in bits.
I think the best way would be to create a search that lists all packages that fulfill the search-requirement "Microsoft-Windows-Inter...*11.*.mum" and then run a loop for each package, which would uninstall it "start /w pkgmgr...".

Have anyone had any experience with this package or with creating such a loop?

Regards,
Soren
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1412
Registriert: 01 Jul 2008, 12:10

Re: Uninstalling IE11

Beitrag von wolfbardo »

Hi,

try

Code: Alles auswählen

...
setloglevel = 8
DosInAnIcon_deinstalliere-ie10-installiere-ie8 winst /Sysnative
sub_check_msi_exitcode

...

[DosInAnIcon_deinstalliere-ie10-installiere-ie8]
cd %windir%\servicing\Packages
FORFILES /M Microsoft-Windows-InternetExplorer-*11.*.mum /C "cmd /c echo @fi    le && start /w pkgmgr /m:@path /up /norestart"
exit %ERRORLEVEL%
regards,
Bardo Wolf


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Uninstalling IE11

Beitrag von bobzbobz »

Hmm - I cant get it to work :-/

I just get an error:

Code: Alles auswählen

The action could not be completed. Status: 0x8007000B
ritsovih
Beiträge: 38
Registriert: 20 Mär 2013, 09:25

Re: Uninstalling IE11

Beitrag von ritsovih »

try it with: c:\windows\system32\wusa.exe /uninstall /kb:2841134 /quiet /norestart
Antworten