summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--dist-assets/windows/installer.nsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dist-assets/windows/installer.nsh b/dist-assets/windows/installer.nsh
index 03c5de1e98..367a251b67 100644
--- a/dist-assets/windows/installer.nsh
+++ b/dist-assets/windows/installer.nsh
@@ -44,6 +44,10 @@
# Windows error codes
!define ERROR_SERVICE_DEPENDENCY_DELETED 1075
+# Override electron-builder generated application settings key.
+# electron-builder uses a GUID here rather than the application name.
+!define INSTALL_REGISTRY_KEY "Software\${PRODUCT_NAME}"
+
#
# BreakInstallation
#