1. 如何使用NSIS设定变量$R1、$R2、$R3修改写入diskpart的脚本DISK.txt里面几行size=?。
2. 设定变量$R1修改size=300。变量$R2修改size=100。变量$R3修改size=128
DISK.txt内容:
select disk 5
clean
convert gpt
create partition primary size=300
format quick fs=ntfs label="Windows RE tools"
assign letter="T"
create partition efi size=100
rem == Note: for Advanced Format Generation One drives, change to size=260.
format quick fs=fat32 label="System"
assign letter="S"
create partition msr size=128
create partition primary
format quick fs=ntfs label="Windows"
assign letter="W"