I want an unattended setup. First it needs to make several partitions. A batch file is run, asking for serial & username, and then making winnt.sif answer file. Windows needs to start after that using the winnt.sif answer file, format the drives, and start setup.
What I have:
The CD boots a dos environment, starting a tool which partitions the hard disk in the way I want (NOTE: Partition, not format). It also creates a RAM-drive. After that a batch file is started, which ask for serial, un, and so on. It writes this info to an winnt.sif file, which is then created on the RAM-drive. So far so good.
The Problem:
This is where the problem kicks in. I try to start the windows setup by executing winnt.exe (Ofcourse with the command switches to use the new winnt.sif). However, windows starts to complain there is not enough space available, which is quite logical considering there are no formated partitions.
When the setup started from the normal CD, it was possible to format the drives in NTSF through the setup,and unattended. Why not now?
Is there a possibility to start the windows formating tool from a dos-environment?
Note: For reference, here is a section from my winnt.sif:
[DiskConfig] Disk1 = "Disk1.config" Disk2 = "Disk2.config" Disk3 = "Disk3.config" [Disk1.config] Size1=* PartitionType1=primary FileSystem1=ntfs Quickformat1=yes [Disk2.config] Size2=* PartitionType2=logical FileSystem2=ntfs Quickformat2=yes [Disk3.config] Size3=* PartitionType3=logical FileSystem3=ntfs Quickformat3=yes



Help
Back to top










