changeset 1350:00ba9a4c422d

Fix some paths where \BSI subdirectory was forgotten. This fixes single user installation again.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 30 Oct 2014 12:33:06 +0100
parents 7840851b26b9
children 4503af8f6ce4
files packaging/trustbridge.nsi
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/packaging/trustbridge.nsi	Thu Oct 30 11:19:28 2014 +0100
+++ b/packaging/trustbridge.nsi	Thu Oct 30 12:33:06 2014 +0100
@@ -25,11 +25,11 @@
 !define MULTIUSER_EXECUTIONLEVEL Highest
 !define MULTIUSER_MUI
 !define MULTIUSER_INSTALLMODE_COMMANDLINE
-!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY "Software\${productname_short}"
+!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY "Software\BSI\${productname_short}"
 !define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME ""
-!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_KEY "Software\${productname_short}"
+!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_KEY "Software\BSI\${productname_short}"
 !define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_VALUENAME ""
-!define MULTIUSER_INSTALLMODE_INSTDIR "${productname_short}"
+!define MULTIUSER_INSTALLMODE_INSTDIR "BSI\${productname_short}"
 
 !addplugindir "${plugin_dir}"
 !addincludedir "${plugin_dir}"
@@ -179,7 +179,7 @@
   ${GetOptions} $R0 /UPDATE= $is_update
 
 ; Check if the install directory was modified on the command line
-  StrCmp "$INSTDIR" "$PROGRAMFILES\${productname_short}" unmodified 0
+  StrCmp "$INSTDIR" "$PROGRAMFILES\BSI\${productname_short}" unmodified 0
   ; It is modified. Save that value.
   StrCpy $changed_dir "$INSTDIR"
 

http://wald.intevation.org/projects/trustbridge/