From 9c5f7f58f7f6b0c084d9d1e876e30297857a6def Mon Sep 17 00:00:00 2001 From: portree_kid Date: Wed, 14 Oct 2020 22:49:48 +0200 Subject: [PATCH] https://github.com/Portree-Kid/flightgear-airports/issues/1 --- build/installer.nsh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 build/installer.nsh diff --git a/build/installer.nsh b/build/installer.nsh new file mode 100644 index 0000000..9886d3d --- /dev/null +++ b/build/installer.nsh @@ -0,0 +1,8 @@ +!macro preInit + SetRegView 64 + WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$PROGRAMFILES64\flightgear-airports" + WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$PROGRAMFILES64\flightgear-airports" + SetRegView 32 + WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$PROGRAMFILES32\flightgear-airports" + WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$PROGRAMFILES32\flightgear-airports" +!macroend