From ab0fd51390ee6c59cb45aa21b189604b04051793 Mon Sep 17 00:00:00 2001
From: ZeekA McZeekA <148893598+TheZeekA@users.noreply.github.com>
Date: Sun, 2 Aug 2026 15:07:41 +1200
Subject: [PATCH 1/2] Switch MSI installer to per-machine install, add desktop
shortcut
The per-user (no-admin) install silently completed without actually
installing anything - confirmed on a real machine, since nothing in
this pipeline actually runs the installer (CI only builds it). Rather
than keep debugging a less common, harder-to-test install path blind,
switched to the standard per-machine pattern: installs to
ProgramFiles64Folder, requires a UAC admin prompt during install.
File association and context menu registry entries move from HKCU to
HKCR, which Windows Installer resolves to
HKEY_LOCAL_MACHINE\Software\Classes for a per-machine install - the
correct root so these apply to every user on the machine, not just
whoever happened to run the elevated installer.
Also adds a Desktop shortcut alongside the existing Start Menu one.
README updated to reflect that the installer (not the app itself) now
requires administrator privileges.
---
README.md | 2 +-
dist/windows/installer.wxs | 59 +++++++++++++++++++++++---------------
2 files changed, 37 insertions(+), 24 deletions(-)
diff --git a/README.md b/README.md
index 28be4bf..40f09b8 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Make sure to only download ZeeCrypt from this repository. When sharing ZeeCrypt
## Windows
To download the latest, standalone, and portable executable for Windows, click here.
-If you use ZeeCrypt frequently, you can also download the [installer](https://github.com/TheZeekA/ZeeCrypt/releases/latest/download/ZeeCrypt-Installer.msi) for a Start Menu shortcut and automatic file extension association. Administrator privileges are not required to run the installer.
+If you use ZeeCrypt frequently, you can also download the [installer](https://github.com/TheZeekA/ZeeCrypt/releases/latest/download/ZeeCrypt-Installer.msi) for Start Menu and Desktop shortcuts, automatic file extension association, and a right-click "Open with ZeeCrypt" entry in Explorer. This installs to Program Files, so it requires administrator privileges (a UAC prompt) during installation.
If your antivirus flags ZeeCrypt as a virus, please report it as a false positive to help everyone.
diff --git a/dist/windows/installer.wxs b/dist/windows/installer.wxs
index c030b70..cfb69f7 100644
--- a/dist/windows/installer.wxs
+++ b/dist/windows/installer.wxs
@@ -14,8 +14,13 @@
EULA that must be accepted before the tool will run at all. Don't bump
the major version here without checking the licensing terms first.
- Installs per-user (no administrator privileges required), matching the
- portable download's "no admin needed" promise in the README.
+ Installs per-machine (to Program Files), which requires a UAC admin
+ prompt during install. An earlier per-user (no-admin) version of this
+ installer silently completed without actually installing anything -
+ install-time behavior can only be verified on a real Windows machine
+ (nothing in CI actually runs the installer, only builds it), so this
+ switched to the standard, far more common and better-tested per-machine
+ path rather than continuing to debug the per-user install blind.
IMPORTANT: UpgradeCode must never change across releases - it's what lets
Windows Installer detect and upgrade a previous ZeeCrypt install instead of
@@ -27,8 +32,7 @@
Version="$(var.ProductVersion)"
UpgradeCode="fcc59afd-06ce-40f0-8de0-46e02636afff"
Language="1033"
- Compressed="yes"
- Scope="perUser">
+ Compressed="yes">
@@ -38,10 +42,8 @@
-
-
-
-
+
+