Repository navigation
fix(ci): declare the Windows packages as msi in the Store submission - #8011
Merged
Merged
Conversation
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.
Collaborator
🍎 MacOS DMG universal buildsDownload a MacOS DMG universal build of this PR for testing. 📱 Android buildsDownload an Android arm64 build of this PR for testing. Other Android architectures🪟 Windows buildsDownload a Windows build of this PR for testing and for arm64. (Built from commit a951e55) 🐧 Linux AppImage buildsDownload a Linux AppImage build of this PR for testing. |
nirvn
approved these changes
Sep 17, 2026
Member
|
@azchohfi , thanks, not sure how I managed to miss this one. I had gone as far as trying to tweak the settings on the released package via the web management site to no real success. This should do it. I'll push a release in ~1 hour or so. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Installing QField from the Microsoft Store currently fails with "Unsupported 16-Bit Application" (reported by @nirvn in #7888):
Cause
#7753 switched the Windows installer from NSIS
.exeto WiX.msi:The Store submission payload in this workflow was not updated to match, and still declares:
packageType"exe"QField-x64.msiinstallerParameters"/S"genericDocUrlpackageType: exePartner Center uses
packageTypeto decide how to launch the downloaded installer —exeis executed directly,msiis handed tomsiexec. So the Store downloadsQField-x64.msi, saves it to a temp file named<guid>.exe, and executes it directly. An MSI is an OLE compound document rather than a PE binary, so Windows can't identify it, falls back to assuming a 16-bit image, and shows that dialog.Why it surfaced only in 4.3
The
v4.2.xreleases were cut from a branch that predates #7753, so they kept building.exeand the payload was still accurate:v4.2.10v4.2.11v4.3.0v4.3.2v4.3.0is the first release containing #7753 — and it happened to be the first release after the MSStore CLI migration in #7888 landed, which is why the two looked related. The CLI change is not involved: #7888 carried the payload across verbatim, so the same JSON would have been sent by the old action.Fix
Applied to both the x64 and arm64 package entries.
isSilentInstallstaysfalse, which is correct — an MSI does need switches to install silently, and the API documentsinstallerParametersas required in that case.Verification
I can't exercise this against your Partner Center product, so please sanity-check before merging. The next release is the real test: the deploy job should stay green and the resulting Store listing should install cleanly.
One thing worth confirming on your side — Partner Center may need the product's installer type reviewed once the first
msisubmission goes through, since previous submissions declaredexe.