Fix non-functioning command

This commit is contained in:
Manuel Thalmann 2023-07-08 23:25:22 +02:00
parent 2f2b35af07
commit 1044862290

View file

@ -14,7 +14,7 @@ $Global:SetupConfigPostprocessor = {
$newIndex = 2; $newIndex = 2;
$installationPartition.InnerText = "$($newIndex + 1)"; $installationPartition.InnerText = "$($newIndex + 1)";
$partitionCreations = $diskConfig.SelectSingleNode("./ua:CreatePartitions", $namespace); $partitionCreations = $diskConfig.SelectSingleNode("./ua:CreatePartitions", $namespace);
$winPartition = ($partitionCreations.SelectNodes("./ua:CreatePartition", $namespace) | Select-Object -Last)[0]; $winPartition = ($partitionCreations.SelectNodes("./ua:CreatePartition", $namespace) | Select-Object -Last 1)[0];
$newPartition = $winPartition.CloneNode($true); $newPartition = $winPartition.CloneNode($true);
$offset = 0; $offset = 0;