We decided the best way is to place as many install and configuration files on a samba share on a Unix server (tardis). We created a share
Copy the WinXP-Professional CD-ROM to a file system.
1. Create a new separate NTFS Partition. This partition must have a separate drive letter. It is not possible to mount this partition in a directory on C:.
ex: format d: /FS:NTFS /V:RIS_HOME /Q
2. To create a RIS Image you have to use the program risetup this asks you for the source path for the WinXP and create the image. My answers: D:\RemoteInstall x Respond to client computers requesting service x Do not respond to unknown client computer \\winpack\pack\src-cd\wxp-sp2\i386
Create a client or server answerfile:
To obtain an answer file easily you can use the GUI tool setupmgr. After this you have to customize the sif file for the fine tuning. ex: rembosg.sif
;SetupMgrTag
[Data]
AutoPartition=1
MsDosInitiated="1"
UnattendedInstall="Yes"
floppyless="1"
OriSrc="
\\%SERVERNAME%\RemInst\%INSTALLPATH%"
OriTyp="4"
LocalSourceOnCD=1
[SetupData]
OsLoadOptions="/noguiboot /fastdetect"
SetupSourceDevice="\Device\LanmanRedirector (no newline)
\%SERVERNAME%\RemInst\%INSTALLPATH%"
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=yes
TargetPath=\WINNT
FileSystem=LeaveAlone
ExtendOemPartition=0
NtUpgrade=No
OverwriteOemFilesOnUpgrade=No
DriverSigningPolicy=Ignore
OemPnPDriversPath="Drivers\Video\Matrox\G4XX;
Drivers\Audio;Driver\Chip\VIA"
[GuiUnattended]
AdminPassword=[sorry]
OEMSkipRegional=1
TimeZone=%TIMEZONE%
OemSkipWelcome=1
AutoLogon=YES
AutoLogonCount=1
[UserData]
FullName="%USERFULLNAME%"
OrgName="%ORGNAME%"
ComputerName=%MACHINENAME%
[Display]
BitsPerPel=24
Xresolution=1024
YResolution=768
Vrefresh=72
[TapiLocation]
CountryCode=41
Dialing=Tone
AreaCode=01
LongDistanceAccess="0"
[RegionalSettings]
LanguageGroup=1
SystemLocale=00000409
UserLocale=00000807
InputLocale=0409:00000409
[SetupMgr]
DistFolder=C:\win2000dist
DistShare=win2000dist
[GuiRunOnce]
Command0="%SYSTEMDRIVE%\w2k-isg-addon\install.bat"
Command1="%SystemRoot%\Shutdown.exe /L /R /T:2 /y /C"
[Identification]
JoinDomain=%MACHINEDOMAIN%
DoOldStyleDomainJoin=Yes
[Networking]
InstallDefaultComponents=Yes
[NetProtocols]
MS_TCPIP=params.TCPIP
[params.TCPIP]
DNSSuffixSearchOrder=hades,ee.ethz.ch,ethz.ch
[NetServices]
MS_Server = params.MS_Server
[params.MS_SERVER]
Optimization = Balance
[RemoteInstall]
Repartition=Yes
[OSChooser]
Description="(US Keyboard - Swiss Settings) Win-pro-SP2 - ISG"
Help="W2k SP2 with us keyboard and swiss german settings."
LaunchFile="%INSTALLPATH%\%MACHINETYPE%\templates\ startrom.com"
ImageType=Flat
You can place a directory of additional drivers and files in the ris image. Create the directories
D:\RemoteInstall\Setup\English\Images\win2000.pro\ $oem$\$1\Drivers
and place there e.g. a directory Video. Then you can place the parameter
OemPnPDriversPath=''Drivers\Video''
in the answerfile and the video drivers will be installed as well.
Our scripting is mostly based on perl so we want to have it available on every system. We placed in the same $oem$\$1\w2k-isg-addon directory a system of batchfiles that get executed during the RIS installation. You can start the installation with the parameter
[GuiRunOnce]
Command0=''%SYSTEMDRIVE%\w2k-isg-addon\install.bat''.
This batchfile looks like:
%SystemDrive% CD \w2k-isg-addon
REM create %SystemDrive%\unconfig, so that bootmgr doesn't start too early
ECHO "X" >%SystemDrive%\unconfig
ECHO "X" >%SystemDrive%\reboot
CALL perl\install.bat
CALL cdromtor\install.bat
CALL multlang\install.bat
CALL shutdown\install.bat
CD \
MKDIR Temp
RMDIR /S /Q w2k-isg-addon
with this batch file other batch files get started. We install a perl msi from Activestate, set the cdrom drive letter to R cdromtor.pl and install the multi language pack from Microsoft.
This GuiRunOnce thing gets executed with administrator logged in and if something fails the client remains with administrator logged in at the end of the installation. To be sure that this does not happen we execute a shutdown binary from the resource kit.
Command1=''%SystemRoot%\Shutdown.exe /L /R /T:2 /y % /C''