Jump to content

Exclude component's


Recommended Posts

Greetings again,

WooW! I almost finished my XP completed unattended install :P

There's only 2 things

I don't want it to install msn 4.7 and outlook express, how can I do that?

I already saw about the [Components] in the guide but I can't find outlook express

I would look like this in my winnt.sif right ?

[Components]

msmsgs=off

msnexplr=off

EDIT-->

I also want it NO to make any "Shared folders (Gedeelde Documenten)" or My music/My pictures (Mijn muziek/Mijn afbeeldingen), how can I do THAT ? :P

tnx guys ;)

Edited by MADIKKE
Link to comment
Share on other sites


use nlite to remove those i think...

but using that switches .. i dun think it work... cause last time i tried...

those component still install for me...

maybe someone will say it work...

what i do is...

use a batch file and

RD /S /Q "%ProgramFiles%\\MSN" >NUL

RD /S /Q "%ProgramFiles%\\Messenger" >NUL

del "%allusersprofile%\Start Menu\Programs\Windows Messenger.lnk" >nul

del "%allusersprofile%\start menu\Programs\MSN.lnk" >nul

Link to comment
Share on other sites

Here is the list for components I use in my WINNT.SIF file. If you're unsure what these do, google 'em - they're out there.

[Components]

Accessopt = Off

CertSrv = Off

CertSrv_Client = Off

CertSrv_Server = Off

Chat = Off

Deskpaper = Off

Dialer = Off

Fax = Off

Fp_extensions = Off

FP_Vdir_Deploy = Off

Freecell = Off

Hearts = Off

IIS_Common = Off

IIS_Doc = Off

IIS_FTP = Off

IIS_HTMLa = Off

IIS_Inetmgr = Off

IIS_NNTP = Off

IIS_NNTP_Docs = Off

IIS_Pwmgr = Off

IIS_SMTP = Off

IIS_SMTP_Docs = Off

IIS_WWW = Off

IIS_WWW_Vdir_Printers = Off

IIS_WWW_Vdir_TerminalServices = Off

IISDbg = Off

Indexsrv_system = Off

LicenseServer = Off

Media_utopia = Off

Minesweeper = Off

Mousepoint = Off

Msmsgs = Off

OEAccess = Off

MSMQ_ADIntegrated = Off

MSMQ_Core = Off

MSMQ_HTTPSupport = Off

MSMQ_LocalStorage = Off

MSMQ_MQDSService = Off

MSMQ_RoutingSupport = Off

MSMQ_TriggersService = Off

Msnexplr = Off

Netoc = Off

Pinball = Off

Solitaire = Off

Spider = Off

WMAccess = Off

zonegames = Off

The bolded values will remove MSN Messenger and Outlook Express (well, it hides OE). However, I have not found the OEAccess value to be 100% effective. In that case, you could set another program to be the default email handler via the [shell] section of WINNT.SIF, or you could write a VBS script to remove Outlook Express like so:

' *** Begin Script ***

Set WSHShell = WScript.CreateObject("WScript.Shell")

DesktopPath = WSHShell.SpecialFolders("Desktop")

StartMenuPath = WSHShell.SpecialFolders("StartMenu")

Set fs = CreateObject("Scripting.FileSystemObject")

on error resume next

OEIcon = StartMenuPath & "\Programs\Intern~1\Outlook Express.lnk"

fs.DeleteFile(OEIcon),true

OEIcon = DesktopPath & "\Outlook Express.lnk"

fs.DeleteFile(OEIcon),true

OEIcon = StartMenuPath & "\Programs\Outlook Express.lnk"

fs.DeleteFile(OEIcon),true

ProfilePath = Left(DesktopPath,Len(DesktopPath)-8)

Quick="\Application Data\Microsoft\Internet Explorer\Quick Launch"

QuickLaunchPath = ProfilePath & Quick

OEIcon = QuickLaunchPath & "\Launch Outlook Express.lnk"

fs.DeleteFile(OEIcon),true

' *** EOF ***

Edited by cluberti
Link to comment
Share on other sites

@Cluberti - OEAccess specifies whether to install visible entry points to Outlook Express.

Syntax OEAccess = On | Off (default is On)

On - Installs visible entry points to Outlook Express.

Off - Does not install visible entry points to Outlook Express.

Link to comment
Share on other sites

Here is a re edit script that cluberti has provided I have made it a little smaller

I can not test it as wrote it on Vista and need OE to access the newsgroups for

this.

This color is safe to remove from the script

With out OE Pin To Start Menu

Dim Act, AData, Fso, DTop, Smenu, OeDel

Set Act = CreateObject("WScript.Shell")

Dtop = Act.SpecialFolders("Desktop")

Smenu = Act.SpecialFolders("StartMenu")

AData = Act.ExpandEnvironmentStrings("%Appdata%")

Set Fso = CreateObject("Scripting.FileSystemObject")

'''' ARRAY TO DELETE THE OE SHORTCUTS

OeDel = Array((Smenu & "\Programs\Outlook Express.lnk"),_

(Dtop & "\Outlook Express.lnk"),(Smenu & "\Programs\Outlook Express.lnk"),_

(AData & "\Microsoft\Internet Explorer\Quick Launch\Launch Outlook Express.lnk"))

For Each strDel In OeDel

If Fso.FileExists(strDel) Then

Act.Popup strDel, 3,"Delete", 0 + 32

Fso.DeleteFile(strDel),True

End if

next

With OE Pinned to start menu

Dim Act, AData, Fso, DTop, OeDel, SD, Smenu,OE_Prog, Folder, FolderItem, Shell

Set Act = CreateObject("WScript.Shell")

Set Fso = CreateObject("Scripting.FileSystemObject") : Set Shell = CreateObject("Shell.Application")

Dtop = Act.SpecialFolders("Desktop") : Smenu = Act.SpecialFolders("StartMenu")

SD = Act.ExpandEnvironmentStrings("%Systemdrive%") : AData = Act.ExpandEnvironmentStrings("%Appdata%")

OE_Prog = (SD & "\Program Files\Outlook Express")

Set Folder = Shell.Namespace(OE_Prog) : Set FolderItem = Folder.ParseName("msimn.exe")

'''' ARRAY TO DELETE THE OE SHORTCUTS

OeDel = Array((Smenu & "\Programs\Outlook Express.lnk"),_

(Dtop & "\Outlook Express.lnk"),(Smenu & "\Programs\Outlook Express.lnk"),_

(AData & "\Microsoft\Internet Explorer\Quick Launch\Launch Outlook Express.lnk"))

'''' DELETES ALL THE SHORTCUTS

For Each strDel In OeDel

If Fso.FileExists(strDel) Then

Act.Popup strDel, 3,"Delete", 0 + 32

Fso.DeleteFile(strDel),True

End if

next

'''' REMOVE IF IT PIN TO THE START MENU

On Error Resume Next

FolderItem.InvokeVerb("Unp&in from Start Menu")

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...