Jkraz Posted March 22, 2006 Posted March 22, 2006 (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%\i386set UNATTEND=\\Ris\install_%DRIVE%:Cdiskpart /s diskpart.txtstart /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 endstart /wait format d: %NTFS%start /wait %CAB_LOCATION%\winnt32.exe /s:%CAB_LOCATION% /unattend:%UNATTEND%\%MODEL%_PRIMARY.txtgoto endThe 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 March 22, 2006 by Jkraz
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now