Add newly created nodes
This commit is contained in:
parent
43f6e2e44a
commit
6f7a44ed23
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,8 @@ $Global:SetupConfigPostprocessor = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$partitionCreations.AppendChild($newPartition);
|
||||||
|
|
||||||
$partitionModifications = $diskConfig.SelectSingleNode("./ua:ModifyPartitions");
|
$partitionModifications = $diskConfig.SelectSingleNode("./ua:ModifyPartitions");
|
||||||
$newModification = $diskConfig.ChildNodes[2].CloneNode($true);
|
$newModification = $diskConfig.ChildNodes[2].CloneNode($true);
|
||||||
$newModification.SelectSingleNode("./ua:Order").InnerText = "$newIndex";
|
$newModification.SelectSingleNode("./ua:Order").InnerText = "$newIndex";
|
||||||
|
@ -42,4 +44,6 @@ $Global:SetupConfigPostprocessor = {
|
||||||
$partition.SelectSingleNode("./ua:Order").InnerText = "$($partitionID + 1)";
|
$partition.SelectSingleNode("./ua:Order").InnerText = "$($partitionID + 1)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$partitionModifications.AppendChild($newModification);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue