Keynan Posted November 20, 2004 Share Posted November 20, 2004 Is there a command to uninstall and remove MSN Explorer (something like:%windir%\System32\RunDll32.exe advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove for Windows Messenger)?I know I can remove it by modifying Windows XP setup files (or just winnt.sif), but I need this for a little batch file for already-installed-OS computers... 10x, Ran. Link to comment Share on other sites More sharing options...
bucketbuster Posted November 20, 2004 Share Posted November 20, 2004 Can't it be done using add/remove programs?Otherwise:nLite Link to comment Share on other sites More sharing options...
Keynan Posted November 20, 2004 Author Share Posted November 20, 2004 Yes, it can be done! But I want it to be unattended. Well... not fully unattended, but automatic.I'm a PC thechnician, and when I come to a client who have an installed WinXP OS and he asks me to remove un-needed Windows components (Windows Messenger, MSN Explorer, etc.), I want to do it by using a batch file.In short, I need that command...! Link to comment Share on other sites More sharing options...
Yzöwl Posted November 20, 2004 Share Posted November 20, 2004 It really has nothing to do with unattended windows though and would probably attract a more suitable audience in either the Windows XP or Programming (C++, Delphi, VB, etc.) forums. Link to comment Share on other sites More sharing options...
chezy666 Posted November 21, 2004 Share Posted November 21, 2004 http://unattended.msfn.org/xp/reference.htmThis line [Components]msmsgs=offThis option tells Setup not to install Windows Messenger 4.6msnexplr=offThis option tells Setup not to install MSN Explorer 7. Link to comment Share on other sites More sharing options...
Tsunami Posted November 21, 2004 Share Posted November 21, 2004 *sigh*, read people, read! He wants to uninstall it AFTER Windows was installed. I agree that this has little to do with Unattended Windows then Keynan: After looking at the ms*.inf files in %WinDir%\inf, I believe msnmsn.inf is MSN Explorer's inf. So I think this command should do the trick:%WinDir%\system32\rundll32.exe advpack.dll,LaunchINFSection %WinDir%\inf\msnmsn.inf,msnexplr.Uninstall Link to comment Share on other sites More sharing options...
Keynan Posted November 22, 2004 Author Share Posted November 22, 2004 ****! I don't understand it... I've posted the same topic here and in MSFN Windows XP forum and I got the same solution... The thing is that the MSNMSN.INF file is DIFFERENT if SP2 was slipsreamed in the installation, or if it was installed later (from other CD or the internet)!In the latter situation, the part of msnexplr.Unintsall doen't exist!!!Can you imagine the time I could've save if I knew how to do more and more stuff automatically and in unattended way?!? Link to comment Share on other sites More sharing options...
Tsunami Posted November 22, 2004 Share Posted November 22, 2004 Well, I installed SP2 from a network installation (didn't slipstream and reinstall Windows, or update from WU) and the part is there in my msnmsn.inf. I'll see if I can find out how Windows uninstalls it...Edit: what does it say in your sysoc.inf (%WinDir%\inf) at the msnexplr line? Mine says:msnexplr=ocmsn.dll,OcEntry,msnmsn.inf,,7 Link to comment Share on other sites More sharing options...
Keynan Posted November 22, 2004 Author Share Posted November 22, 2004 Yeah... So do mine... But never mind! I can't say why, but for some reason, the MSNMSN.INF file version, on the computer I've tested it on, was a different version than in other computers...Bottom line, it worked great on other computers (with SP2 - slipstreamed or manually installed)!!!Thank you all! Link to comment Share on other sites More sharing options...
Alanoll Posted November 22, 2004 Share Posted November 22, 2004 if you install a later version from an online download, it installs as a seperate entity, and not subject to sysoc. You'd have to find it's real uninstaller if it was installed via standalone install. Link to comment Share on other sites More sharing options...
Keynan Posted November 23, 2004 Author Share Posted November 23, 2004 Well... It's a little strange. At my house I've installed SP2 from CD (downloaded manually), and I have an entry in sysoc.inf... Also I have the msnexplr.Uninstall part in msnmsn.inf - so the command works... Link to comment Share on other sites More sharing options...
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