eine beispiel.inf:
; MSBATCH.INF
;
; Copyright (c) 1995-1998 Microsoft Corporation.
; All rights reserved.
;
[BatchSetup]
Version=3.0 (32-bit)
SaveDate=09.04.00
[Version]
Signature = "$CHICAGO$"
AdvancedINF=2.5
LayoutFile=layout.inf
[Setup]
Express=1
InstallDir="c:\windows"
InstallType=3
ProductKey="***cdkey***"
EBD=0
ShowEula=0
ChangeDir=0
OptionalComponents=1
Network=0
System=0
CCP=0
CleanBoot=0
Display=0
DevicePath=0
NoDirWarn=1
TimeZone="W. Europe"
Uninstall=0
NoPrompt2Boot=1
[System]
Locale=L0407
SelectedKeyboard=KEYBOARD_00000407
[NameAndOrg]
Name="User"
Org="unknow"
Display=0
[Network]
ComputerName="Station"
Workgroup="WORKGROUP"
Display=0
PrimaryLogon=VREDIR
Clients=VREDIR
Protocols=MSTCP
Security=SHARE
[MSTCP]
LMHOSTS=1
LMHOSTPath="C:\WINDOWS\lmhosts"
DHCP=1
DNS=0
WINS=D
[VREDIR]
LogonDomain="WORKGROUP"
ValidatedLogon=0
[OptionalComponents]
"Eingabehilfen"=0
"Hilfsprogramme für Eingabehilfen"=0
"Aktenkoffer"=0
"Rechner"=1
"Desktop-Hintergrund"=1
"Dokumentvorlagen"=1
"Spiele"=1
"Imaging"=1
"Mauszeiger"=1
"Paint"=1
"Schnellansicht"=1
"Windows Scripting Host"=1
"WordPad"=1
"DFÜ-Netzwerk"=1
"DFÜ-Server"=1
"PC-Direktverbindung"=1
"HyperTerminal"=1
"Microsoft Chat 2.1"=1
"Microsoft NetMeeting"=1
"Wählhilfe"=1
"Virtuelles privates Netzwerk"=1
"Baseball"=0
"Faszinierende Kreaturen"=0
"Computer-Innenleben"=0
"Dschungel"=0
"Leonardo da Vinci"=0
"Windows extra"=0
"Mysterium"=0
"Natur"=0
"Wissenschaft"=1
"Weltraum"=0
"Sport"=0
"Die 60er Jahre (USA)"=0
"Goldene Ära"=0
"Reisen"=0
"Unterwasser"=0
"Windows 98"=0
"Microsoft FrontPage Express"=0
"Microsoft VRML 2.0 Viewer"=0
"Microsoft Wallet"=0
"Personal Web Server"=1
"Real Audio Player 4.0"=0
"Web Publishing-Assistent"=1
"Webbasierte Firmenverwaltung"=0
"Microsoft Outlook Express"=0
"Baltisch"=0
"Mitteleuropäisch"=0
"Kyrillisch"=0
"Griechisch "=0
"Türkisch"=0
"Audiokomprimierung"=1
"CD-Wiedergabe"=1
"Macromedia Shockwave Director"=1
"Macromedia Shockwave Flash"=1
"Medienwiedergabe"=0
"Microsoft NetShow Player 2.0"=0
"Multimedia-Audioschema"=0
"Audiodateien"=0
"Audiorecorder"=1
"Videokomprimierung"=1
"Lautstärkeregelung"=1
"America Online"=0
"CompuServe"=0
"The Microsoft Network"=1
"Zusätzliche Bildschirmschoner"=1
"Flying Windows"=1
"OpenGL-Bildschirmschoner"=1
"Backup"=1
"Zeichentabelle"=1
"Zwischenablage"=1
"Datenträgerkomprimierung"=0
"Laufwerkkonvertierung (FAT32)"=0
"Gruppenrichtlinien"=0
"Netzwerkmonitor"=0
"Systemmonitor"=1
"Systemressourcen-Anzeige"=0
[Printers]
[InstallLocationsMRU]
[Install]
AddReg=RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,Registry.WinUpdate
[RunOnce.BatchDelay]
HKLM,%KEY_RUNONCE%,BatchRun1,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.MSN.Icon 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Welcome 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun3,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Regwiz 4 %10%\msbatch.inf"
[Run.Installed.Components]
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,,,">Batch 98 - General Settings"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,StubPath,,"%25%\rundll.exe setupx.dll,InstallHinfSection Installed.Components.General 4 %10%\msbatch.inf"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,,,"ICW"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,StubPath,,"%24%\progra~1\intern~1\connec~1\icwconn1 /restoredesktop
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,,,">Batch 98 - Advanced Settings"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,StubPath,,"%25%\rundll32.exe advpack.dll,LaunchINFSection %10%\msbatch.inf,Installed.Components.Advanced"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,,,">Batch 98 - Windows Update"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,StubPath,,"wupdmgr.exe -shortcut"
[Installed.Components.General]
AddReg=Browser.Settings, Security.Settings, Shell.Prep
BitReg=Shell.Settings
UpdateInis=DelIEQuick.Links,DelOEQuick.Links
[DelIEQuick.Links]
setup.ini, progman.groups,, "IE_WEBVIEW=..\..\Anwend~1\Micros~1\Intern~1\Quickl~1"
setup.ini, IE_WEBVIEW,, """Launch Internet Explorer Browser"""
[DelOEQuick.Links]
setup.ini, progman.groups,, "groupQL=..\..\Anwend~1\Micros~1\Intern~1\Quickl~1"
setup.ini, groupQL,, """Launch Outlook Express""" ;deletes link
[DelOEdesktop]
setup.ini, progman.groups,, "groupOE=..\..\desktop"
setup.ini, groupOE,, """Outlook Express""" ;deletes icon
[Installed.Components.Advanced]
DelFiles=Connect.Icon, OLS.Icons, QuickLaunch.Icons
CustomDestination=Custom.Dest
RunPostSetupCommands=DirCleanup
[Custom.Dest]
49070=DesktopLDIDSection,5
49050=QuickLinksLDIDSection,5
[Connect.Icon]
verbin~1.lnk
[Delete.MSN.Icon]
DelReg=MSN.Icon
[MSN.Icon]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\{4B876A40-4EE8-11D1-811E-00C04FB98EEC},,,
[DesktopLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",Desktop,OLSFolder,"%25%\Desktop"
[OLS.Icons]
americ~1.lnk
at&two~1.lnk
compus~1.lnk
prodig~1.lnk
themic~1.lnk
aboutt~1.lnk
abouto~1.txt
services.txt
[DirCleanup]
rundll32.exe advpack.dll,DelNodeRunDLL32 %49070%\%OnlineLong%
[Delete.Welcome]
DelReg=Registry.Welcome
[Registry.Welcome]
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,Welcome,,
[Delete.Regwiz]
AddReg=Registry.Regwiz
[Registry.Regwiz]
HKLM,Software\Microsoft\Windows\CurrentVersion\Welcome\Regwiz,@,1,01,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion,RegDone,1,01,00,00,00
[Registry.WinUpdate]
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDevMgrUpdate,0x10001,0
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoWindowsUpdate,0x10001,0
[Browser.Settings]
HKCU,%KEY_IEXPLORERMAIN%,"Start Page",,"http://www.lycos.de/"
HKCU,%KEY_IEXPLORERMAIN%,"First Home Page",,"http://www.lycos.de"
HKCU,%KEY_IEXPLORERMAIN%,"Search Page",,"http://www.microsoft.com/isapi/redir.dll?prd=ie&clcid=0x0407&ar=iesearch"
HKLM,%KEY_IEXPLORERMAIN%,"Search Bar",,"http://www.microsoft.com/isapi/redir.dll?prd=ie&clcid=0x0407&ar=iesearch"
HKCU, "SOFTWARE\Microsoft\Internet Explorer\Help_Menu_URLs","Online_Support",,"http://support.microsoft.com/support"
[Security.Settings]
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1",CurrentLevel,1,00,00,01,00
[Shell.Prep]
HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,01,00,00,00
HKCU,"Software\Microsoft\Internet Explorer\main",Show_ChannelBand,0,"no"
[Shell.Settings]
HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,0,20,1
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState,Settings,1,20,4
[QuickLinksLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",AppData,QuickLaunch,"%25%\Application Data"
[QuickLaunch.Icons]
showde~1.scf
channe~1.scf
[Skip.PCMCIA.Wizard]
HKLM,System\CurrentControlSet\Services\Class\PCMCIA,SkipWizardForBatchSetup,,1
[DestinationDirs]
Connect.Icon=10,alluse~1\desktop
OLS.Icons=49070,Online~1
QuickLaunch.Icons=49050,Micros~1\Intern~1\QuickL~1
[Strings]
KEY_RUNONCE="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"
OnlineLong="Online Services"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"
(ENDE)
aufruf mit
%cdrom%\setup.exe /%pfad%\beispiel.inf
;-)