vinifera Posted November 22, 2012 Posted November 22, 2012 hellodon't know if its too much to askbut does anyone know to make .bat/.cmd script that would work under both xp and win7that would silently uninstall IE (just like user can from control panel remove it) ?
Yzöwl Posted November 22, 2012 Posted November 22, 2012 Have you looked at using:%systemroot%\ie8\spuninst\spuninst.exeI have no idea if there are switches to make it silent or if it already does it silently.
vinifera Posted December 2, 2012 Author Posted December 2, 2012 today I looked on pc that has xp and ie6there was no such file nor any uninstall file in the folder of ie6 :/
cluberti Posted December 2, 2012 Posted December 2, 2012 If you want to remove inbox components (like IE6 on XP), you have to use tools like nLite. IE is, in and of itself, not an uninstallable component. You can upgrade it (for example, IE8 on XP from IE6), and you can remove said upgrades, but removing the browser is not natively possible. There are tools (like nLite) available to remove components, but those carry with them the risks of potentially breaking your installation if you go too far, of course.
vinifera Posted December 3, 2012 Author Posted December 3, 2012 (edited) well I know you can't remove everything as mshtml must staybut when user "removes" ie via cpanel then it removes .exe and whatever is tied with .exethis is what I'm after for Edited December 3, 2012 by vinifera
cluberti Posted December 3, 2012 Posted December 3, 2012 That can be done on Windows Vista/Server 2008, Windows 7/Server 2008R2, or Windows 8/Server 2012, but not on XP. To do this on XP or 2003, you need nLite.http://support.microsoft.com/kb/957700
jaclaz Posted December 3, 2012 Posted December 3, 2012 That can be done on Windows Vista/Server 2008, Windows 7/Server 2008R2, or Windows 8/Server 2012, but not on XP. To do this on XP or 2003, you need nLite.http://support.microsoft.com/kb/957700Well, not really.nlite does remove things at installation, not after it.And then if you want a true IE-less XP you could use FdV's (Fred De Vorck) approach/inf's, etc.To clarify, these methods "prevent install", do not "uninstall".Possibly the Commercial XPlite would do "after install".jaclaz
vinifera Posted December 3, 2012 Author Posted December 3, 2012 and simple removing the exe would be damaging to OS ?(under condition PC doesn't use win updates) ?
Sp0iLedBrAt Posted December 3, 2012 Posted December 3, 2012 I'm afraid you can't just remove it. It will probably come back after restart from the dll cache. fdv's approach that jaclaz mentioned of removing ie, but not removing the ie core (needed for other things) is probably the best.http://www.vorck.com/windows/
vinifera Posted December 30, 2012 Author Posted December 30, 2012 but isn't the OS shell core more from shell32.dll explorer.exe and mshtml.dll ?and not the ie.exe itself ?
Outbreaker Posted December 30, 2012 Posted December 30, 2012 (edited) Don't remove any Internet Explorer files because various Windows components and third-party applications rely upon Internet Explorer code.Here is a batch script to uninstall it over the control panel (Tested on WinXP):@ECHO OFFECHO.ECHO Uninstalling Internet Explorer...SET WC="%Temp%\WC_Uninstall_Config.txt"ECHO [components]> %WC%ECHO IEAccess = Off>> %WC%sysocmgr /i:"%WINDIR%\inf\sysoc.inf" /u:"%Temp%\WC_Uninstall_Config.txt"DEL "%Temp%\WC_Uninstall_Config.txt"ECHO DonepauseEXIThttp://itk.samfundet.no/dok-filer/ms-xp-sp2-deployment-ref/u_components.htm Edited December 30, 2012 by Outbreaker
Yzöwl Posted December 30, 2012 Posted December 30, 2012 As above, just shortened:@(ECHO/[Components]&ECHO/IEAccess=off)>"%TEMP%\_$.TXT"@SYSOCMGR /i:"%SYSTEMROOT%\INF\SYSOC.INF" /u:"%TEMP%\_$.TXT"@DEL "%TEMP%\_$.TXT"Remember that this doesn't remove IE just removes the default visible 'shortcuts' to it.If sysocmgr only parses specific sections of the answer file, the following script which doesn't write to a file may prove useful:@SYSOCMGR /i:"%SYSTEMROOT%\INF\SYSOC.INF" /u:%0@GOTO :EOF[Components]IEAccess=off
vinifera Posted December 30, 2012 Author Posted December 30, 2012 shortucts are not problem the ie.exe is
bphlpt Posted December 30, 2012 Posted December 30, 2012 You're probably better off either using FDV's files or just removing all shortcuts to ie.exe. Regardless of MS's assurances to the contrary, I believe that IE ended up so deeply embedded in the OS, and then being depended on by other third-party apps, that trying to just hack it out could end up causing you problems down the road depending on what other software you end up running in the future. Just a thought.Cheers and Regards
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now