Change: Wrap installer ui related things in a UI element

fix
This commit is contained in:
jkarasti 2024-10-29 18:56:56 +02:00
parent 7e4346a306
commit 8603cd3b86

View file

@ -155,10 +155,14 @@ def main():
Id="ARPURLINFOABOUT", Id="ARPURLINFOABOUT",
Value="https://freedom.press", Value="https://freedom.press",
) )
ui_el = ET.SubElement(package_el, "UI")
ET.SubElement( ET.SubElement(
package_el, "ui:WixUI", Id="WixUI_InstallDir", InstallDirectory="INSTALLFOLDER" ui_el, "ui:WixUI", Id="WixUI_InstallDir", InstallDirectory="INSTALLFOLDER"
) )
ET.SubElement(package_el, "UIRef", Id="WixUI_ErrorProgressText") ET.SubElement(ui_el, "UIRef", Id="WixUI_ErrorProgressText")
ET.SubElement( ET.SubElement(
package_el, package_el,
"WixVariable", "WixVariable",