I have one last issue with my WPI config which I can't seem to figure out. The issue is with detecting drives in order to (or not to) create a D: partition.
As part of the standard Windows install I create the C: partition and let it go through until WPI kicks in. At this point WPI loads and the first two steps are to move CD-ROM to X: and an option to create a D: partition. Here is where my issue lies, I need a way to GCOND the option to create the D: partition if there is no partition to create on or if D: already exists as a fixed drive. As default, Windows sets the CD-ROM to D: during install and using DriveExists finds the CD-ROM at D: before it gets moved and I can't think of any other way to do this ?
Does anybody have an idea of how to get this to work?
pn=1;
prog[pn]=['Set CD-ROM to X:'];
ordr[pn]=[1];
uid[pn]=['CDROM'];
dflt[pn]=['yes'];
cat[pn]=['System'];
forc[pn]=['no'];
gcond[pn]=['DriveExists("X:")'];
cmd1[pn]=['hidecmd /w cscript c:\\Build\\Scripts\\cdrom.vbs //B'];
pn++;
prog[pn]=['Create D: Partition'];
ordr[pn]=[2];
uid[pn]=['CREATEDPARTITION'];
dflt[pn]=['yes'];
cat[pn]=['System'];
forc[pn]=['no'];
deps[pn]=['CDROM'];
gcond[pn]=['DriveType("D:")=="FIXED"'];
cmd1[pn]=['hidecmd /w cscript c:\\build\\scripts\\partition.vbs //B'];
pn++;



Help
Back to top









