diff options
author | Araq <rumpf_a@web.de> | 2016-06-07 03:05:27 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-06-07 03:05:27 +0200 |
commit | 0e29eb6f8b869cb8d4de4f791c861612959532f2 (patch) | |
tree | ab91c44f826bc57f89914ed4699d4381b41d48f4 /tools/niminst | |
parent | 4f449f4e529816cd9b426215c94d0056e29063e6 (diff) | |
download | Nim-0e29eb6f8b869cb8d4de4f791c861612959532f2.tar.gz |
use program files rather than c drive
Diffstat (limited to 'tools/niminst')
-rw-r--r-- | tools/niminst/nsis.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/niminst/nsis.tmpl b/tools/niminst/nsis.tmpl index abf462388..0897d36a8 100644 --- a/tools/niminst/nsis.tmpl +++ b/tools/niminst/nsis.tmpl @@ -35,7 +35,7 @@ ; Default installation folder ; This is changed later (in .onInit) to the root directory, if possible. - InstallDir "$LOCALAPPDATA\?{c.name}-?{c.version}" + InstallDir "$PROGRAMFILES?{when sizeof(int) == 8: "64" else: ""}\?{c.name}-?{c.version}" ; Get installation folder from registry if available InstallDirRegKey HKCU "Software\c.name\c.version" "" |