Skip to content

Introduce msi installer for Windows x64 and arm packages - #7753

Merged
nirvn merged 1 commit into
masterfrom
wix
Jul 21, 2026
Merged

nirvn merged 1 commit into
masterfrom
wix

Conversation

@nirvn

@nirvn nirvn commented Jul 15, 2026 •

Copy link
Copy Markdown
Member

Introduce msi installer for Windows x64 and arm packages and retires NSIS-based exe installers.

After this change, here's where we stand:

  • portable .zip packages for development builds; and
  • msi installer for releases

This work also was a good opportunity to add file association with .qgs / .qgz files on Windows, allowing for users to directly open projects into QField from windows explorer / desktop.

@qfield-fairy

qfield-fairy commented Jul 15, 2026 •

Copy link
Copy Markdown
Collaborator

🍎 MacOS DMG universal builds

Download a MacOS DMG universal build of this PR for testing.
(Built from commit 5162491)

📱 Android builds

Download an Android arm64 build of this PR for testing.
(Built from commit 5162491)

Other Android architectures

🐧 Linux AppImage builds

Download a Linux AppImage build of this PR for testing.
(Built from commit 5162491)

🪟 Windows builds

Download a Windows build of this PR for testing and for arm64.

(Built from commit 5162491)

@nirvn
nirvn marked this pull request as draft July 15, 2026 04:37
@nirvn
nirvn force-pushed the wix branch 4 times, most recently from 825980e to 441f6ec Compare July 16, 2026 09:44
@nirvn nirvn changed the title First step towards msi installer Introduce msi installer for Windows x64 and arm packages Jul 17, 2026
@nirvn
nirvn marked this pull request as ready for review July 17, 2026 02:40
- name: Install WiX
run: |
dotnet tool uninstall --global wix
dotnet tool install --global wix --version 6.0.2

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but package.cmake set variable version to 4. Does it fullly suppory wiX v6 directly with variable declarition, or if it realies on v4 compatibility behaviour ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the cpack variable name is misleading here. 4 means in this case >= 4 (the toolkit fundamentally changed between 3 and 4).

@nirvn
nirvn merged commit 71064ef into master Jul 21, 2026
34 of 42 checks passed
@nirvn
nirvn deleted the wix branch July 21, 2026 02:07
azchohfi added a commit to azchohfi/QField that referenced this pull request Sep 16, 2026
The Windows installer switched from NSIS .exe to WiX .msi in opengisch#7753, but
the Store submission payload still declared packageType "exe", passed the
NSIS silent switch /S, and pointed genericDocUrl at the NSIS error code
reference.

Partner Center uses packageType to decide how to launch the downloaded
installer: "exe" is executed directly, "msi" is handed to msiexec. So the
Store downloaded QField-x64.msi, saved it as <guid>.exe and ran it
directly. An MSI is not a PE binary, so Windows reports "Unsupported
16-Bit Application" and the install fails.

- packageType: exe -> msi
- installerParameters: /S -> /quiet /norestart (msiexec)
- drop genericDocUrl, which the API documents as exe-only

Fixes the install failure reported on opengisch#7888.
nirvn pushed a commit that referenced this pull request Sep 17, 2026
The Windows installer switched from NSIS .exe to WiX .msi in #7753, but
the Store submission payload still declared packageType "exe", passed the
NSIS silent switch /S, and pointed genericDocUrl at the NSIS error code
reference.

Partner Center uses packageType to decide how to launch the downloaded
installer: "exe" is executed directly, "msi" is handed to msiexec. So the
Store downloaded QField-x64.msi, saved it as <guid>.exe and ran it
directly. An MSI is not a PE binary, so Windows reports "Unsupported
16-Bit Application" and the install fails.

- packageType: exe -> msi
- installerParameters: /S -> /quiet /norestart (msiexec)
- drop genericDocUrl, which the API documents as exe-only

Fixes the install failure reported on #7888.
nirvn pushed a commit that referenced this pull request Sep 17, 2026
The Windows installer switched from NSIS .exe to WiX .msi in #7753, but
the Store submission payload still declared packageType "exe", passed the
NSIS silent switch /S, and pointed genericDocUrl at the NSIS error code
reference.

Partner Center uses packageType to decide how to launch the downloaded
installer: "exe" is executed directly, "msi" is handed to msiexec. So the
Store downloaded QField-x64.msi, saved it as <guid>.exe and ran it
directly. An MSI is not a PE binary, so Windows reports "Unsupported
16-Bit Application" and the install fails.

- packageType: exe -> msi
- installerParameters: /S -> /quiet /norestart (msiexec)
- drop genericDocUrl, which the API documents as exe-only

Fixes the install failure reported on #7888.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants