Windows Installer (Shopkeeper App)
The shopkeeper app can be distributed as a Windows installer so shopkeepers install it like any other application. Two options are supported:
| Type | Output | Install location | Desktop shortcut | Logo background |
|---|---|---|---|---|
| MSIX | .msix | OS drive (managed by Windows) | Created automatically | White (patched) |
| Classic (Inno Setup) | .exe | User chooses (default: Program Files) | Optional checkbox in installer | White/transparent |
Quick build (MSIX)
From shopkeeper_app:
build_installer.bat
This will:
- Ensure SumatraPDF (and optionally LibreOffice) are in place
- Create a signing certificate (if missing) so the installer shows Publisher: Qprint instead of "Msix Testing"
- Run
dart run msix:createto build the app and create the MSIX package - Patch the MSIX: white logo background (installer and Start tile), desktop shortcut ("Qprint Shop"). Requires Windows SDK (MakeAppx.exe).
- Optionally build the classic
.exeinstaller if Inno Setup is in PATH
Output: build\windows\runner\Release\*.msix or build\windows\x64\runner\Release\*.msix
Classic installer (install dir + shortcut option)
For an installer that lets the user choose the install directory (default: Program Files) and opt in or out of a desktop shortcut:
- Install Inno Setup
- Build the Windows app:
flutter build windows(or runbuild_installer.batfirst to get the MSIX build) - From shopkeeper_app, run:
iscc installer_script.iss
Output: build\windows\installer\QprintShop_Setup.exe
If your Flutter build output is in build\windows\runner\Release instead of x64\runner\Release, edit the #define BuildPath at the top of installer_script.iss.
Configuration
- MSIX: All settings are in pubspec.yaml under
msix_config(display_name, publisher_display_name, logo_path, certificate_path, certificate_password, publisher, windows_build_args). See Build and Production. - Certificate: The script
scripts\create_signing_cert.ps1createswindows\Qprint.pfx; the cert is used so the MSIX installer shows "Publisher: Qprint". The.pfxis in.gitignore.
Full details (prerequisites, manual steps, configuration) are in the app folder: shopkeeper_app/WINDOWS_INSTALLER.md.
Last Updated: February 2026