Jump to content

unattended xpsp1 from hard-disk


Recommended Posts

I did a slipstream of sp1 into xp, made the answer file, got an NTFSDOS soft wich detects NTFS from DOS and start the instalation from DOS with

E:\winxpsp1\i386\winnt /s:%SetupFiles% /t:c: /u:%AnswerFile%

from a batch file that was generated by setupmgr(not too good i might add) - the variables are set also.

I get that he can't read or corupted DOSNET.INF wich is located in the \i386 dir - right at the beginning of the install what is that can some1 help me plz ...

I'm tring to do unattended from hard-disk as u see and can't figure out all the ins and outs out of this.

Here is the answer file :

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

[Unattended]
   CrashDumpSetting=0
   DriverSigningPolicy=Ignore
   FileSystem=*
   OemPreinstall=Yes
   OemSkipEula=Yes
   TargetPath=*
   UnattendSwitch=Yes
   UnattendMode=FullUnattended
   WaitForReboot=No

[GuiUnattended]
   AdminPassword="########"
   AutoLogon=Yes
   AutoLogonCount=1
   EncryptedAdminPassword=No
   OemSkipRegional=1
   OemSkipWelcome=1
   TimeZone=115

[UserData]
   ComputerName=wolfshade
   FullName="wolf"
   OrgName="wolfpack"
ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

[Components]
   accessopt=off
   deskpaper=off
   dialer=off
   freecell=off
   hearts=off
   hypertrm=off
   ieaccess=off
   licenseserver=off
   media_clips=off
   minesweeper=off
   mousepoint=off
   mplay=off
   msnexplr=off
   mswordpad=off
   netoc=off
   objectpkg=off
   pinball=off
   solitaire=off
   spider=off
   zonegames=off

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

[RegionalSettings]
   LanguageGroup=1,2

[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=No
   AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
   SpecificTo=Adapter1
   DHCP=No
   IPAddress=xxx.xxx.xxx.xxx
   SubnetMask=xxx.xxx.xxx.xxx
   DefaultGateway=xxx.xxx.xxx.xxx
   DNSServerSearchOrder=xxx.xxx.xxx.xxx
   WINS=No
   NetBIOSOptions=2

[Shell]
   DefaultThemesOff=Yes

[GuiRunOnce]
   Command0=d:\winxp\postinst.cmd

I removed the ;SetupMgrTag cuz it was useless coment i think.

Link to comment
Share on other sites


You all got it wrong i said

the variables are set also
so i posted only that portion of the batch not the initialization of the vars.

The problem is that he can't deal with [DiskSpaceRequirements] from DOSNET.INF

while running winnt from DOS.

I am doing it from HDD (i386 is on HDD aslo my batch that starts it and the answer file unattend.txt wich's path is provided in the batch) and i have NTFSDOS to mounts my NTFS partitions.

Although dosnet.inf is correct the setup gives me one of these errors at each try:

1. The setup hangs when reading DOSNET.INF

or

2.The setup doesn't find [DiskSpaceRequirements] from DOSNET.INF although its there.

or

3.Not enough memory to complete something.

Link to comment
Share on other sites

Newbie help needed: Can someone summarize the changes that need to be made to be able to run an installation from a hard drive?

(What I want to do: Boot via Bart's PE... which gives me access to a firewire-attached hard drive. From that HD, start XP install.)

Thanks!

Link to comment
Share on other sites

well no big changes so far for an HDD run just made an unattend.cmd (name optional) like this :

@echo off

set AnswerFile=driveletter:\setupdir\unattend.txt
set SetupFiles=driveletter:\setupdir\i386

driveletter:\setupdir\i386\winnt32 /s:%SetupFiles% /tempdrive:c: /unattend0:%AnswerFile%

for windows start or

driveletter:\setupdir\i386\winnt /s:%SetupFiles%  /u:%AnswerFile%

for DOS start (it doesn't work for my NTFS partitions - recomend getting NTFSDOS that mounts NTFS partitions - 2 floppies ;boot from a normal floppy first).

Check with ref.chm from deploy.cab on u're CD.

Here's the unattend i used so far but i can't get it to first format the drive i am installing on instead it saiz it will delete the dirs before installing (yeah like i believe that - have to test this / sounds like any microsoft promise :) ).

[Data]
   AutoPartition=0
   MsDosInitiated=0
   UnattendedInstall=Yes

[Unattended]
   CrashDumpSetting=0
   DisableDynamicUpdates=Yes
   DriverSigningPolicy=Ignore
   FileSystem=*
OemPnPDriversPath="drivers\00_Intel_Inf;drivers\01_Intel_LAN;drivers\02_Audio"
   OemPreinstall=Yes
   OemSkipEula=Yes
   TargetPath=*
   UnattendSwitch=Yes
   UnattendMode=FullUnattended
   WaitForReboot=No

[GuiUnattended]
   AdminPassword="xxxxxxxx"
   AutoLogon=Yes
   AutoLogonCount=3
   EncryptedAdminPassword=No
   OemSkipRegional=1
   OemSkipWelcome=1
   TimeZone=115

[UserData]
   ComputerName=wolfshade
   FullName="wolf"
   OrgName="wolfpack"
ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

[Components]
   accessopt=off
   deskpaper=off
   dialer=off
   freecell=off
   hearts=off
   hypertrm=off
   ieaccess=off
   licenseserver=off
   media_clips=off
   minesweeper=off
   mousepoint=off
   mplay=off
   msnexplr=off
   mswordpad=off
   netoc=off
   objectpkg=off
   pinball=off
   solitaire=off
   spider=off
   zonegames=off

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

[RegionalSettings]
   LanguageGroup=1,2

[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=No
   AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
   SpecificTo=Adapter1
   DHCP=No
   IPAddress=194.102.241.174
   SubnetMask=255.255.225.240
   DefaultGateway=194.102.241.161
   DNSServerSearchOrder=194.102.241.1
   WINS=No
   NetBIOSOptions=2

[Shell]
   DefaultThemesOff=Yes

[ComputerSettings]
PowerScheme=Presentation

[GuiRunOnce]
   Command0=e:\winxpsp1\postinst.cmd

I don't really know where to put the "stuff" and where not i just put them on strings like "name" or "password" and not on flags like Yes/No 1/0 i don't think it matters really if u put all answers in "" :rolleyes:

The beauty of having an HDD install is that u don't burn CD's for nothing if u have to put a new software update in it and modify the answer file and directories.

But u might make a SP1 slipstream anyway and burn it then work it like u work from the hard with a batch command and keep a dir structure on HDD (except for $OEM$ of course wich needs to be on cd of course so be carefull what unattend strategy u use if u try this cuz preinstalation of chipset and stuff could be done with batch too (GUIRunOnce).

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