TheTechGuide Forum
General Category => Software => Topic started by: Anonymous on August 27, 2002, 10:21:00 AM
-
How do you specify partition info in an unattended install of W2K and XP?
Is it part of the unattend.doc?
Where can I find a \"good\" sample of an unattend.doc file...the one that MS provides..sucks.
Thanks.
-
Here is the first part of my winnt.sif. Check available parameters from unattend.doc
[Data]
AutoPartition=\"1\"
MsDosInitiated=\"0\"
UnattendedInstall=\"Yes\"
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=WINNT
OEMPnPDriversPath=\"drivershpt370;driversadaptec;driverslogitech;driversnicintel\"
DriverSigningPolicy=ignore
FileSystem=ConvertNTFS
ExtendOemPartition=0
Repartition=yes
-
Thanks for that first portion. Much appreciated.
Does anyone have an entire SIF file I could use as a reference?
-
Your ? is too relative to the need of windows. I might need to format/partition you might now. I might need to create DNS\'s you might now...and so on and so on.
If you really want a basic but good example you will find one in your ref.chm in your depoy on your 2k/xp disc. Ive seen a few problem is that the ref.chm does not completely cover all possibilities...not by far. I would say that the largest example of a unattend.txt you will find in that deploy section will only cover about 10% of what i can do. For a full list of all options you will have to sign up on microsoft\'s website for the that membership whatever it might be. The old manual i once had but cannot find covered windows 2000 and it was over 1,000 page\'s long. COVERED EVERYTHING. Problem is they must of took that down off there website for i cant find it for the life of me. Either it\'s gone or you have to sign up. I think there is one for XP behind those\'s doors of membership i just have never registered EVER on microsoft.com and never will until i have too. You probably can find the .doc i am mentioning that is 1,000+ page\'s somewhere on the net. If i ever run into it again i will post it up for it\'s impossible to find. If you due find it on there website please post the url for i would like to have it again for sure.
To cover your ? more throughly...unless you have a home network of 4+ computers or work for a company that does you will not need more than what has already been posted. Most of those 1,000+ page\'s is only for network\'s. The hardware part for your need\'s can probably be taken care of with the OEM dir in the root as mentioned in the never ending thread about multi 2k os\'s on this page. The rest that you have not seen is really not needed and also alot of it no longer works with XP...well it does just not the same way. Again i have not seen the one for XP but i know some at school who study it for every flaw they can find and they have told me unattened install\'s is easier in and more efficent in XP...but with the cost of having it less flexible.
The fact you cannot set WINNT.SIF to ask the user what directory he want\'s to install XP to me is in itself good enough reason not to pursue it more. Alot of people don\'t seem to understand that if you want to install unattended without using a network, just straight off a cd, this is a HUGE headache because not all pc\'s you have to install to have the same install dir. Some have WINNT or WINDOWS, while some other\'s have SYSTEM or plain OS_SYSTEM or anything the user might of chosen to install to the day they installed. So you wind up having to make a couple different WINNT.SIF files and installing at different times due to that. HEADACHE. Now you can due this while you are installing over a network in a win32/win64 enviroment...but not off the cd.
-
Well here\'s what I have so far...I\'m using a MS Select CD...hince no product ID.
I created a batch file to auto copy the i386 directory onto the hard drive that I would like to run either during setup, or on first boot/login.
I also have a proprietary exe file that I need to run on first boot/login.
Where would I insert these?
So far, what I have isn\'t working.The install works great, but my files that I need copied/run don\'t.
[Data]
AutoPartition=0
MsDosInitiated=\"0\"
UnattendedInstall=\"Yes\"
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=No
TargetPath=WINNT
FileSystem=LeaveAlone
[GuiUnattended]
AdminPassword=*
AutoLogon=Yes
AutoLogonCount=20
OEMSkipRegional=1
TimeZone=40
OemSkipWelcome=1
DetachedProgram=copyi386.bat
[UserData]
ComputerName=W2KRECOVERY
FullName=\"W2KRecovery\"
OrgName=\"Digital Hands, LLC\"
[Display]
BitsPerPel=16
Vrefresh=60
XResolution=800
YResolution=600
[Networking]
InstallDefaultComponents=Yes
[Identification]
JoinWorkgroup=WORKGROUP
[URL]
AutoConfig=0
Home_Page=http://www.digital-hands.com
-
I will include the one I use for Professional. Unless you are looking for a Server version this should help somewhat. You need to list what you want covered. Also you can specify what directory to install into two ways. Either use winnt.sif under [Unattended] section put TargetPath=WINNT or by changing your txtsetup.sif file line DefaultPath=WINNT under SetupSourcePath = \"UENGLISHSERVER\".
Anyway on to the winnt.sif file I use for Windows 2000 Professional:
;SetupMgrTag
[Data]
AutoPartition=1
MsDosInitiated=\"0\"
UnattendedInstall=\"Yes\"
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
;OemPnPDriversPath=driversnetE100B
TargetPath=WINDOWS
Filesystem = convertntfs
extendoempartition = 0
driversigningpolicy = ignore
[GuiUnattended]
AdminPassword=\"password\"
EncryptedAdminPassword=NO
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=4
OemSkipWelcome=1
[UserData]
ProductID=12345-12345-12345-12345-12345
FullName=\"Twinkie\"
OrgName=\"Tech-Hints.com\"
ComputerName=*
[Url]
Home_Page=http://www.tech-hints.com/
Quick_Link_1_Name=\"MS HomePage\"
Quick_Link_1=http://www.microsoft.com/
[FavoritesEx]
Title1 = \"Tech-Hints.url\"
URL1 = \"http://www.tech-hints.com/\"
Title2 = \"The Tech Guide.url\"
URL2 = \"http://www.thetechguide.com\"
Title3 = \"Bart\'s Site.url\"
URL3 = \"http://www.nu2.nu\"
Title4 = \"Flames site.url\"
URL4 = \"http://www.geocities.com/the_flames\"
[Branding]
BrandIEUsingUnattended=Yes
[Identification]
JoinWorkgroup=WORKGROUP
[Components]
accessopt=On
calc=On
cdplayer=On
certsrv=Off
certsrv_client=Off
charmap=On
chat=Off
cluster=Off
deskpaper=On
dialer=Off
fp_extensions=Off
freecell=On
hypertrm=Off
iis_common=Off
iisdbg=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
indexsrv_system=Off
media_clips=Off
media_utopia=Off
minesweeper=On
mousepoint=On
mplay=On
msmq=Off
mswordpad=On
netcis=Off
netoc=On
objectpkg=Off
paint=On
pinball=On
rec=On
reminst=Off
rstorage=Off
solitaire=On
templates=Off
TSClients=Off
TSEnable=Off
vol=On
[Networking]
InstallDefaultComponents=Yes
Hope this helps,
-
Change OemPreinstall=No to Yes first off. Then use cmdlines.txt to launch any batch files you want. For more details check the OEM page at my site. Click my name below to get there.