Windows installer: Allow choosing installation directory during install

Switch to using `WixUI_InstallDir` dialog set in the windows installer and add the `WIXUI_INSTALLDIR` property it needs to let user choose where Dangerzone is installed.

resolves #148
This commit is contained in:
JKarasti 2024-09-06 14:46:11 +03:00 committed by Alex Pyrgiotis
parent 830e551567
commit 791444cd5d
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -199,7 +199,13 @@ def main():
Id="ARPURLINFOABOUT", Id="ARPURLINFOABOUT",
Value="https://freedom.press", Value="https://freedom.press",
) )
ET.SubElement(product_el, "UIRef", Id="WixUI_Minimal") ET.SubElement(
product_el,
"Property",
Id="WIXUI_INSTALLDIR",
Value="INSTALLDIR",
)
ET.SubElement(product_el, "UIRef", Id="WixUI_InstallDir")
ET.SubElement(product_el, "UIRef", Id="WixUI_ErrorProgressText") ET.SubElement(product_el, "UIRef", Id="WixUI_ErrorProgressText")
ET.SubElement( ET.SubElement(
product_el, product_el,