Seite 1 von 1

Uninstalling IE11

Verfasst: 02 Jun 2014, 10:36
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

Re: Uninstalling IE11

Verfasst: 02 Jun 2014, 11:49
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

Re: Uninstalling IE11

Verfasst: 06 Jun 2014, 11:40
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

Re: Uninstalling IE11

Verfasst: 19 Jun 2014, 14:00
von ritsovih
try it with: c:\windows\system32\wusa.exe /uninstall /kb:2841134 /quiet /norestart