From f164fcb5167a1fb43bab1e026d56587e0e1f6e3a Mon Sep 17 00:00:00 2001 From: Amaury Martiny Date: Mon, 19 Mar 2018 11:26:36 +0100 Subject: [PATCH 1/2] Change include script location --- package.electron.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.electron.json b/package.electron.json index 2c6c7c6..c220dc0 100644 --- a/package.electron.json +++ b/package.electron.json @@ -17,7 +17,7 @@ }, "nsis": { "allowToChangeInstallationDirectory": true, - "include": "installer.nsh", + "include": "./.build/installer.nsh", "oneClick": false }, "productName": "Parity UI", -- GitLab From dcc7072092fe78cb3b1d9f8d5761f39405156cf6 Mon Sep 17 00:00:00 2001 From: Amaury Martiny Date: Mon, 19 Mar 2018 11:51:01 +0100 Subject: [PATCH 2/2] Fix bug macro --- src/util/windowInstaller.nsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/windowInstaller.nsh b/src/util/windowInstaller.nsh index 35434cd..1d718cd 100644 --- a/src/util/windowInstaller.nsh +++ b/src/util/windowInstaller.nsh @@ -1,6 +1,6 @@ ; Change default install directory on Windows ; https://www.electron.build/configuration/nsis#how-do-change-the-default-installation-directory-to-custom -macro preInit +!macro preInit SetRegView 64 WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Parity Technologies\Parity UI" WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Parity Technologies\Parity UI" -- GitLab