mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 12:41:50 +02:00
Change: Wrap installer ui related things in a UI
element
This commit is contained in:
parent
945f1846d1
commit
a900a7c42e
1 changed files with 7 additions and 4 deletions
|
@ -152,10 +152,6 @@ def main():
|
||||||
Id="ARPURLINFOABOUT",
|
Id="ARPURLINFOABOUT",
|
||||||
Value="https://freedom.press",
|
Value="https://freedom.press",
|
||||||
)
|
)
|
||||||
ET.SubElement(
|
|
||||||
package_el, "ui:WixUI", Id="WixUI_InstallDir", InstallDirectory="INSTALLFOLDER"
|
|
||||||
)
|
|
||||||
ET.SubElement(package_el, "UIRef", Id="WixUI_ErrorProgressText")
|
|
||||||
ET.SubElement(
|
ET.SubElement(
|
||||||
package_el,
|
package_el,
|
||||||
"WixVariable",
|
"WixVariable",
|
||||||
|
@ -174,6 +170,13 @@ def main():
|
||||||
DowngradeErrorMessage="A newer version of [ProductName] is already installed. If you are sure you want to downgrade, remove the existing installation via Programs and Features.",
|
DowngradeErrorMessage="A newer version of [ProductName] is already installed. If you are sure you want to downgrade, remove the existing installation via Programs and Features.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Add The UI element
|
||||||
|
ui_el = ET.SubElement(package_el, "UI")
|
||||||
|
ET.SubElement(
|
||||||
|
ui_el, "ui:WixUI", Id="WixUI_InstallDir", InstallDirectory="INSTALLFOLDER"
|
||||||
|
)
|
||||||
|
ET.SubElement(ui_el, "UIRef", Id="WixUI_ErrorProgressText")
|
||||||
|
|
||||||
# Add the ProgramMenuFolder StandardDirectory
|
# Add the ProgramMenuFolder StandardDirectory
|
||||||
programmenufolder_el = ET.SubElement(
|
programmenufolder_el = ET.SubElement(
|
||||||
package_el,
|
package_el,
|
||||||
|
|
Loading…
Reference in a new issue