Use separate installation folder and registry key for nsis.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11617 4a71c877-e1ca-e34f-864e-861f7616d084
master
Christian Ohm 2010-09-04 21:54:30 +00:00 committed by Git SVN Gateway
parent e5a619411e
commit 78fa9a69aa
1 changed files with 2 additions and 2 deletions

View File

@ -37,10 +37,10 @@
OutFile "${OUTFILE}"
;Default installation folder
InstallDir "$PROGRAMFILES\${PACKAGE_NAME}"
InstallDir "$PROGRAMFILES\${PACKAGE_NAME} Trunk"
;Get installation folder from registry if available
InstallDirRegKey HKLM "Software\${PACKAGE_NAME}" ""
InstallDirRegKey HKLM "Software\${PACKAGE_NAME} Trunk" ""
;Request application privileges for Windows Vista
RequestExecutionLevel admin