Detect XML tags properly

This commit is contained in:
Manuel Thalmann 2023-07-08 23:49:30 +02:00
parent 5da43e3f48
commit 236dcb5459

View file

@ -45,7 +45,7 @@ $Global:SetupConfigPostprocessor = {
# Add space before Windows installation... wha-!? For Linux, ofc! I use Arch Linux, btw.
$size = $winPartition.OwnerDocument.CreateElement("Size");
$size.InnerText = "$((1 * 1024 * 1024) - $offset)";
$winPartition.RemoveChild($winPartition.SelectSingleNode("./Extend"));
$winPartition.RemoveChild($winPartition.SelectSingleNode("./ua:Extend", $namespace));
$winPartition.AppendChild($size);
$newPartition.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex";