Re: ZTIUserExit.vbs
- From: "Matthieu" <piwude@xxxxxxxxx>
- Date: 12 Oct 2006 01:21:20 -0700
SMS_Wannabe wrote:
I am trying to configure the system with a 15gb C partition, and leave the
rest of the disk alone so an installer can cut up the drive later as he/she
likes.
Try this ZTIDiskPart.txt :
REM // Suppression de toutes les partitions du disque.
select disk=0
clean
REM // Création de la partition Système : 15 Go.
select disk=0
create partition primary size=15240
select partition=1
assign letter=C
active
exit
When I set up ZTIUserExit.vbs to use the ztidiskpart options pasted
below, the set up does not work as I expected. Instead of creating a 15gb C
drive and installing the OS on that drive, OSD creates a C drive that uses
all available disk space (a full 60gb on my lab system).
By Default, it's the process. Do you have changed your ZTIDiskPart.txt
?
I assume this has to do with OSD running diskpart.exe parsing the default
"diskpart.txt" on it's own during the pre-install phase. I guess this must
happen after the custom action runs and overwrites the earlier configuration?
no. Open ZTIUserExit.vbs with Notepad and check line 37 : Can you read
this : iRetVal = wshShell.Run("DISKPART.EXE /s """ & sThisScriptDir &
"\ZTIDiskPart.txt""", 0, true)
If you read : DiskPart.txt, change it to ZTIDiskPart.txt or rename your
file to DiskPart.txt
.
- Follow-Ups:
- Re: ZTIUserExit.vbs
- From: SMS_Wannabe
- Re: ZTIUserExit.vbs
- References:
- ZTIUserExit.vbs
- From: SMS_Wannabe
- ZTIUserExit.vbs
- Prev by Date: ZTIUserExit.vbs
- Next by Date: Re: ZTIUserExit.vbs
- Previous by thread: ZTIUserExit.vbs
- Next by thread: Re: ZTIUserExit.vbs
- Index(es):
Loading