Jump to content

Recommended Posts

Posted (edited)

I'm currently using RIS with a windows PE image to install Windows XP. On RIS I have two cab directories Install_C and Install_D. Drive selection is made via a batch script I created which gets launched when PE starts up. The script then uses the drive variables at the end as displayed below. I set the CAB location immediately after the drive selection is made i.e

set CAB_LOCATION=\\Ris\install_%DRIVE%\i386

set UNATTEND=\\Ris\install_%DRIVE%

:C

diskpart /s diskpart.txt

start /wait format c: %NTFS%

start /wait format d: %NTFS%

start /wait %CAB_LOCATION%\winnt32.exe /s:%CAB_LOCATION% /unattend:%UNATTEND%\%MODEL%.txt /syspart:c:

goto end

:D

start /wait format d: %NTFS%

start /wait %CAB_LOCATION%\winnt32.exe /s:%CAB_LOCATION% /unattend:%UNATTEND%\%MODEL%_PRIMARY.txt

goto end

The way I usually build computers is that I partition the drive with the C partition being about 5 gb and the D the rest this is done via diskpart.txt. I then use Windows PE to install XP to the C partition which works fine. However when I try to install the D partition via the batch script it installs to the C partition. Any suggestions on how I can force the installion of the D partition?

Edited by Jkraz

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