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-861f7616d084master
parent
e5a619411e
commit
78fa9a69aa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue