Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Winxp unattended Instalation

4 views
Skip to first unread message

Ken

unread,
Dec 31, 2002, 11:03:05 PM12/31/02
to
Im creating a winxp unattended installation cd and i have made a winnt.sif
file. It does nearly everything i want it to. It lets me choose the
partition to install it on then goes through it with out me having to be at
my puter. But after i choose my partition it just goes to installing without
the option to format if i want to. Does anyone know what i have to change if
its possible so i can format?

Ken

;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=No
TargetPath=\WINDOWS

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=35
OemSkipWelcome=1

[UserData]
ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName="Ken"
OrgName=""
ComputerName=Ken

[Display]
BitsPerPel=32
Xresolution=1024
YResolution=768
Vrefresh=100

[RegionalSettings]
LanguageGroup=1
SystemLocale=00000c09
UserLocale=00000c09
InputLocale=0c09:00000409

[Branding]
BrandIEUsingUnattended=Yes

[URL]
Home_Page=http://www/V3/spawnindex.htm

[Proxy]
Proxy_Enable=1
Use_Same_Proxy=1
HTTP_Proxy_Server=Proxy:8080
Proxy_Override=<local>

[Identification]
JoinWorkgroup=@home

[Networking]
InstallDefaultComponents=Yes


Rayzor_uk

unread,
Jan 1, 2003, 4:08:16 AM1/1/03
to
ya carn't it will format to nft
"Ken" <not...@sothere.com> wrote in message
news:3e126875$0$7811$afc3...@news.optusnet.com.au...

Ken

unread,
Jan 1, 2003, 4:15:25 AM1/1/03
to
Whats nfi?

Ken


"Rayzor_uk" <rayzor@camp xray.com> wrote in message
news:YdyQ9.3386$kS.1...@newsfep2-win.server.ntli.net...

Nemisi...@??aemail4u.com

unread,
Jan 1, 2003, 5:08:36 AM1/1/03
to
On Wed, 1 Jan 2003 15:03:05 +1100, "Ken" <not...@sothere.com> wrote:

>Im creating a winxp unattended installation cd and i have made a winnt.sif
>file. It does nearly everything i want it to. It lets me choose the
>partition to install it on then goes through it with out me having to be at
>my puter. But after i choose my partition it just goes to installing without
>the option to format if i want to. Does anyone know what i have to change if
>its possible so i can format?
>
>Ken

>SNipped>

INSTALL XP UNATTENDED


This tip works if installing XP (all builds) as "upgrade" over any
existent Windows 95, 98, NT, 2000, ME or previous XP copy, as well as
if installing XP "from scratch" on an empty hard drive/partition.
If you own an OEM (Original Equipment Manufacturer), VAR (Value Added
Reseller) or Bulk/Corporate/Volume License Setup CD-ROM (released
September 25 2001), or if you purchased the Full or Upgrade retail
Setup CD (released October 25 2001) of Windows (e)XP(erience) Home or
Professional Edition, you CAN install it in COMPLETELY UNATTENDED
("hands-free") mode, a *tremendous* time saver!
Why unattended? Simple. Because this way the entire setup process is
automated, so you won't have to do ANY of this time consuming, boring
stuff:
Chose between a "fresh" install (if available) or upgrading (if
available) from a previous supported MS OS.
Agree with MS EULA (End User License Agreement).
Type in the XP Product ID number [25 digits! :(].
Type in the drive letter and/or directory name where you would like
your XP copy to reside into, if you decide to install it to a path
other than the Microsoft "preselected" default (C:\Windows).
Type in the Administrator (XP Pro) or Power User (XP Home) account
name, password(s), company name, workgroup, server name/IP address/ID
etc.
Select through all detected hardware/software lists and/or matching
language/local/regional settings.
Push a bunch of OK/Yes/Apply/Cancel/Exit/etc buttons to answer all
those annoying popup confirmation dialog boxes/windows [nag, nag
:(]... etc.
IMPORTANT: No matter which OS you upgrade to WinXP from: BACK IT UP
FIRST!
If moving from your previous, stable, heavily customized/tweaked MS
OS, you may need to spend some time getting used to the new XP
features (which was built on the more secure and less prone to crashes
WinNT true 32-bit code), especially if you were using Win95/98/ME
exclusively.
If this sounds quite appealing or if it picked your interest even
remotely, please read on, you're in for a treat... :)
NECESSARY STEPS:
Automatic [boring :)]:
Pop in your XP Setup CD.
FYI: You DO own a CD-ROM/DVD-ROM/CD-R(W)/DVD-R(W) drive, don't you?
Otherwise you canNOT do this, because WinXP comes ONLY in CD-ROM
format! ;-)
Fire up Windows Explorer or File Manager (FM =
C:\Windows\Winfile.exe), presuming you're running one of these MS
Windows OSes: 95, 98, NT, 2000, ME or XP. The complete list of
supported Microsoft Operating Systems that can be upgraded to XP is
available here
<http://www.microsoft.com/windowsxp/pro/howtobuy/upgrading/matrix.asp>,
or as an alternative, you can download the free XP Upgrade Advisor
<http://www.microsoft.com/windowsxp/pro/howtobuy/upgrading/advisor.asp>
for all Win32 versions [32 MB !].
Click on your CD/DVD drive icon/letter.
Go to the \Support\Tools folder.
(Double)-click on DEPLOY.CAB.
Highlight DEPLOY.CHM, REF.CHM, SETUPMGR.EXE + README.TXT.
Select your target path.
Click OK to extract them.
Go to the folder where you have extracted these files.
(Double)-click on the CHM files [one at a time :)] to read the
detailed guidelines on how to install XP in "automated" unattended
mode.
Run SETUPMGR.EXE, which will guide you through the process of creating
an UNATTEND.TXT file.
NOTES:
To be able to open the *.CHM files (using the MS HTML Help system),
you need to either own Win98, ME or 2000, or install (if you haven't
already) the current version of MS Internet Explorer
<http://www.microsoft.com/windows/ie/> (free), which installs HTML
Help engine
<http://msdn.microsoft.com/library/en-us/htmlhelp/html/hwMicrosoftHTMLHelpDownloads.asp>
(also available as a separate download) on all older Win95/NT4
releases.
Win95/NT4 users: get MS IE 5.5 SP2
<http://www.microsoft.com/windows/ie/downloads/recommended/ie55sp2/>.
Win98/2000/ME users: get MS IE 6.0 SP1
<http://www.microsoft.com/windows/ie/evaluation/ie6sp1.asp>.
The CABinet Extract function may not be available if using Win95 or
NT. In this case you need to download the MS Win95 Power Toys Pack
<http://www.microsoft.com/windows/downloads/bin/W95powertoy.exe> [204
KB, free, unsupported] and install Cabview.dll by right-clicking on
Cabview.inf and selecting Install, or get the CabPack tool
<http://home.t-online.de/home/lars.hederer/> [436 KB, freeware].
Manual [more fun :)]:
Create a file called UNATTEND.TXT (file name is optional) to contain
all required and eventually optional sections and lines, customized to
match your particular hardware/software/user settings/wishes.
For a template, you can take a look at the two generic UNATTEND.TXT
examples found in REF.CHM.
Here is my UNATTEND.TXT file contents:
-----Begin cut & paste here-----
[Data]
MsDosInitiated="0"
UnattendedInstall="yes"
[Display]
BitsPerPel="24"
Vrefresh="100"
Xresolution="1024"
Yresolution="768"
[GuiRunOnce]
"DRIVE:\DIRECTORY\PROGRAM.EXE /SWITCHES..."
[GuiUnattended]
AdminPassword="*"
AutoLogon="yes"
AutoLogonCount="4294967295"
OEMSkipRegional="1"
OEMSkipWelcome="1"
ProfilesDir="DRIVE:\DIRECTORY"
TimeZone="010"
[Identification]
JoinWorkgroup="JOIN GROUP NAME"
[LicenseFilePrintData]
AutoMode="PerSeat"
[PCHealth]
Display="1"
ER_Display_UI="1"
ER_Enable_Applications="all"
ER_Enable_Kernel_Errors="1"
ER_Enable_Reporting="1"
ER_Enable_Windows_Components="1"
ER_Include_MSApps="1"
ER_Report_Path="DRIVE:\DIRECTORY"
Headlines="1"
RA_AllowFullControl="0"
RA_AllowToGetHelp="0"
RA_AllowUnsolicited="0"
[RegionalSettings]
Language="00000409"
LanguageGroup="1"
[RemoteInstall]
Repartition="No"
[SystemFileProtection]
SFCShowProgress="1"
[SystemRestore]
CheckpointCalendarFrequency="7"
CheckpointSessionFrequency="24"
[UserData]
ComputerName="YOUR COMPUTER NAME"
FullName="YOUR FULL NAME"
ProductKey="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
OrgName="YOUR ORGANIZATION NAME"
[Unattended]
AutoActivate="no"
CrashDumpSetting="0"
DisableDynamicUpdates="yes"
DriverSigningPolicy="Ignore"
FileSystem="LeaveAlone"
NtUpgrade="no"
OemPreinstall="no"
OemSkipEula="yes"
Repartition="no"
TargetPath="DIRECTORY"
UnattendMode="FullUnattended"
UnattendSwitch="yes"
WaitForReboot="no"
Win9xUpgrade="yes"
[Uninstall]
DisableCompression="yes"
EnableBackup="no"
[URL]
Home_Page="http://members.aol.com/axcel216/"
[Win9xUpg]
Boot16="yes"
DefaultPassword="*"
ForcePasswordChange="no"
ForceWorkgroup="no"
IgnoreNetworkErrors="yes"
UseLocalAccountOnError="yes"
UserPassword="*"
------End cut & paste here------
All generic lines that need your input to enter actual information
between the quote marks are in CAPITAL letters.
You MUST replace all "X" symbols on the "ProductKey" line with the
Product ID number (25 digits in groups of 5 separated by dashes) found
on your WinXP CD sleeve.
All characters in both UNATTEND.TXT and XPSETUP.BAT are case
insensitive, except user names, passwords and URLs.
IMPORTANT: If ANY of these lines are not valid, or do NOT match your
system specific configuration, Setup will display error messages and
ABORT!
Example: I couldn't force my copy of WinXP Pro OEM Setup CD to upgrade
over my previous WinME installation, so I had to change the
Win9xUpgrade="yes" line to read Win9xUpgrade="no" under the
[Unattended] section.
Note that if you are setting up XP (any release) on a computer running
Win95/98/ME, and select to install XP in a different directory, XP
Setup will detect your existing OS, and will allow you to dual-boot
between them after installation, from the WinXP boot menu.
OPTIONAL: You can also force the default "C:\Documents and Settings"
system folder to install on any other of your (local) hard
drives/partitions (provided you have enough free space), and
eventually change its folder name by typing the destination of your
choice on the ProfilesDir="" line (between the quote marks), under the
UNATTEND.TXT [GuiUnattended] section.
More info @ MSKB
<http://support.microsoft.com/support/kb/articles/q236/6/21.asp>.
Copy & paste the file contents into Notepad.
Of course you'll need to add/modify/delete some of/all these lines to
adapt them to YOUR OWN hardware, software, user and/or network
settings, otherwise you may experience errors/lockups!
Save it as UNATTEND.TXT or give it any other name you want. The .TXT
extension is NOT mandatory, it can be anything you want (.INF or .INI
are both supported). Keep in mind though, the file MUST have an
extension, it will NOT work if you name it only UNATTEND (or whatever)
WITHOUT extension, because XP Setup will see it as a folder name. :(
Use Notepad to create a DOS style batch file with the .BAT extension
[I called XPSETUP.BAT] to contain these lines [ONLY AFTER learning how
to use WINNT32.EXE and WINNT.EXE by reading the CHM files enumerated
above!]:
-----Begin cut & paste here-----
@ECHO OFF
D:
CD\WINXP\I386
REM Use ONLY 1 of these WINNT(32) lines!
REM * Windows GUI mode Setup:
D:\WINXP\I386\WINNT32.EXE /UNATTEND3:C:\UNATTEND.TXT
/DEBUG4:C:\XPDEBUG.LOG /DUDISABLE /S:D:\WINXP\I386 /TEMPDRIVE:C
REM * Native MS-DOS mode Setup:
D:\WINXP\I386\WINNT.EXE /S:D:\WINXP\I386 /U:C:\UNATTEND.TXT /T:C
------End cut & paste here------
More WINNT32 info @ Microsoft
<http://www.microsoft.com/windowsxp/home/using/productdoc/en/winnt32.asp>.
Modify XPSETUP.BAT in Notepad IF:
your CD/DVD drive letter is different (D in this case): the "D:"
instances on lines 2, 6 and 8.
the path where UNATTEND.TXT resides (C:\ root in this case) is
different, and/or you named UNATTEND.TXT to something else: the
/UNATTEND3:C:\UNATTEND.TXT switch.
you prefer to have XP Setup create XPDEBUG.LOG (which BTW, can have
any name and/or file extension) somewhere else (C:\ root in this
case): the /DEBUG4:C:\XPDEBUG.LOG switch. After successful [or
unsuccessful ;(] installation completion, you can open XPDEBUG.LOG
with Notepad to see if anything went wrong, and eventually what/why.
you would like XP Setup to copy the temporary installation files on
another drive (C in this case): the /TEMPDRIVE:C switch.
BEWARE: The target drive letter and folder name where XP will be
installed on your computer are dictated by:
The /TEMPDRIVE:C parameter (drive C in this case) on the WINNT(32).EXE
line of your XPSETUP.BAT file. If this parameter is not mentioned the
default is C:\$WIN_NT$.~LS.
The TargetPath="DIRECTORY" line under the [Unattended] section of your
UNATTEND.TXT file. If this parameter is not mentioned the default is
WINDOWS.
Place XPSETUP.BAT + UNATTEND.TXT anywhere you desire. You can even
create a new (temporary) local/remote folder for this purpose, just
make sure to add the UNATTEND.TXT path to the WINNT(32).EXE /UNATTEND:
switch.
Copy the entire \WINXP folder contents by using the Windows Explorer
right-click Copy function to highlight and drag it from your WinXP
Setup CD to the root directory of your hard disk, to accelerate
significantly the installation process, and to avoid having to
(re)boot from your MS OS emergency bootup floppy.
If you are installing XP from native/real MS-DOS mode, which would
slow setup down to a crawl, you will also need to have the necessary
MS-DOS mode CD-ROM drivers loaded in your computer's memory
beforehand, to be able to access and boot from (if your mobo BIOS
supports it) the Setup CD.
Therefore I STRONGLY RECOMMEND to avoid this alternative altogether if
possible, and start WinXP Setup from within Windows GUI, which is way
faster!
(Double)-click on XPSETUP.BAT and wait.
The time necessary for Setup to complete depends mainly on your CPU,
motherboard chipset, RAM and hard disk subsystem capabilites.
Final step [optional :)]: get a cup of coffee, or whatever refreshment
or (soft) drink floats your boat, sit back, relax, and enjoy the show.
;)
Of course, if you care or need to customize an automated XP Setup even
further, eventually for installing WinXP on more than one computer,
you could use these handy programs, also included in DEPLOY.CAB, and
explained in detail in both CHM help files listed above: OFORMAT.COM,
CVTAREA.EXE, FACTORY.EXE, SETUPCL.EXE + SYSPREP.EXE.

if the following image offends then,STUFF U. Don`t look at it...!!!


/'_/)
,/_ /
/ /
/'_'/' '/'_'7,
/'/ / / /"
('( ' ' _~/
\ '
'\' \ _7
\ (
\ \.

DISCLAIMER: This post does not reflect the thoughts or opinions of either
myself, my company, my friends, my goldfish or my neighbour's dog; don't
quote me on that; don't quote me on anything; all rights reserved; this
post is distribution copyrighted to the extent that you may distribute this
post and all its associated parts freely but you may not make a profit from it.

Freelance Crap / Scientist and Person Sniffer....
Feeling depressed, impotent, powerless !?!????? Stiff Shit !!


HAPPY NEW YEAR TO ALL !!
MSN me @ Nemi...@hotmail.com
Remove>!?!??< Reply.

Ken

unread,
Jan 1, 2003, 3:15:49 PM1/1/03
to
I cant see anything in deploy cab for any command that will let me format
first if i want. So looks like partition magic will do the trick first.

Ken


<Nemisies!?!?@??aemail4u.com> wrote in message
news:tef51vc3ohce94i2k...@4ax.com...

0 new messages