Skip to content
Snippets Groups Projects
Commit 07f3f154e03a authored by Gregory Szorc's avatar Gregory Szorc
Browse files

pyoxidizer: pass arch to WiXInstaller()

We just upgraded Windows automation to PyOxidizer 0.17.0. This
version of PyOxidizer changed the behavior of WiX installers so
installer architecture defaulted to "x64" (before it defaulted
to the target of the pyoxidizer.exe binary). To allow controlling
the architecture of the installer, the `arch` argument was added
to `WiXInstaller`. This commit passes that argument in.

Differential Revision: https://phab.mercurial-scm.org/D11358
parent feb1b2b8eeec
No related branches found
No related tags found
No related merge requests found
......@@ -255,7 +255,7 @@
path = "defaultrc/editor.rc",
)
wix = WiXInstaller("hg", "%s-%s.msi" % (MSI_NAME, VERSION))
wix = WiXInstaller("hg", "%s-%s.msi" % (MSI_NAME, VERSION), arch = platform)
# Materialize files in the manifest to the install layout.
wix.add_install_files(manifest)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment