This is not complicated either:
Change the part where I define PriSize in the script file to the following commands
//Select the first partition
Select Partition First
dim PriSize
//Detect the used space of the first partition and set PriSize to twice its used space
PriSize = GetUsedAmount * 2
Change the part where I define PriSize in the script file to the following commands
//Select the first partition
Select Partition First
dim PriSize
//Detect the used space of the first partition and set PriSize to twice its used space
PriSize = GetUsedAmount * 2


