Jump to content

Unattended Cd Installs To Wrong Drive.


Recommended Posts

ok, My unattended CD works, almost. As far as functioning as an unattended install it does the job, the only problem is that it unfortunately decided to install itself onto my Slave drive, rather than my primary.

The drives in question are both PATA and are not in any kind of raid configuration. I would imagine it's simply something I need to adjust in the winnt.sif file somewhere. Can anyone help me out ?

;SetupMgrTag
[Data]
   AutoPartition=1    <---  Could this be the root of the problem ?
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   OemPnPDriversPath=Drivers\Win2K_XP_45_23\nv4_disp.inf;Drivers\Lan\bcm4sbxp.inf
   WaitForReboot=No
   UnattendSwitch=Yes
   TargetPath=\WINDOWS

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=85
   OemSkipWelcome=1

[UserData]
   ProductKey=blah blah
   FullName="my name"
   OrgName=""
   ComputerName=Main_PC

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

[RegionalSettings]
   LanguageGroup=1
   Language=00000809

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=No

[NetAdapters]
   Adapter1=params.Adapter1

[params.Adapter1]
   INFID=*

[NetProtocols]
   MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
   DNS=No
   UseDomainNameDevolution=No
   EnableLMHosts=Yes
   AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
   SpecificTo=Adapter1
   DHCP=No
   IPAddress=*.*.*.*    
   SubnetMask=*.*.*.*
   DefaultGateway=*.*.*.*
   DNSServerSearchOrder=*.*.*.*,*.*.*.*
   WINS=No
   NetBIOSOptions=0

[Components]
   msmsgs=off
   msnexplr=off
   freecell=off
   hearts=off
   minesweeper=off
   pinball=off
   spider=off
   zonegames=off

[Shell]
   DefaultStartPanelOff = Yes
   DefaultThemesOff = Yes

[GuiRunOnce]
   %systemdrive%\install\main.cmd
   %systemdrive%\install\hotfixes.cmd
   %systemdrive%\install\apps.cmd

Link to comment
Share on other sites


You cannot tell setup which partition to install to. The only thing you can do is have setup install on the partition with the most free space. Does the slave drive have more free space then the primary? does your c drive have at least the minimum space requirement (1.5 gigs free)?

-gosh

Link to comment
Share on other sites

Thats the funny thing. Drive C was freshly formatted. Drive D had enough free space to install XP, but I assumed XP would install itself to the Primary purely out of logic.

Yeah I know Logic and MS products in harmony ?? what was I thinking!

Link to comment
Share on other sites

AutoPartition=1 is gonna tell setup to install on the partition with the most free space i believe (correct me if im wrong). If you set AutoPartition=0 setup will prompt you where you want to instal windows, which is the setting i use (correct me if im wrong).

-gosh

Link to comment
Share on other sites

Yeah, thats more or less what I concluded. I went back to the unattended site and looked at it a bit closer. Still it does seem weird that it should have chosen an almost full drive over a completely blank one. Anyway I'll adjust the .sif and it should all come together. Thanks for confirming what I suspected.

It's late, so I'll post my findings tomorrow.

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...