1
0
Fork 0

Re-Add switch between 32/64 bit registry

This commit is contained in:
Willi Goesgens 2015-03-09 10:45:34 +01:00
parent 65005ecf7e
commit 0ff1672f3c
1 changed files with 12 additions and 4 deletions

View File

@ -890,11 +890,19 @@ if (MSVC)
SET(BITS 32)
endif()
# SetRegView controlls where die regkeys are written to
# SetRegView 32 writes the keys into Wow6432
# this variable was defined by eld and included in NSIS.template.in
# we probably need this for the install/uninstall software list.
SET(CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS "SetRegView ${BITS}")
SET(CPACK_NSIS_EXTRA_PREUNINSTALL_COMMANDS
" SimpleSC::StopService 'ArangoDB' 0 30
SimpleSC::RemoveService 'ArangoDB'
"
)
" SetRegView ${BITS}
SimpleSC::StopService 'ArangoDB' 0 30
SimpleSC::RemoveService 'ArangoDB'
"
)
file(TO_NATIVE_PATH "${PROJECT_SOURCE_DIR}/Installation/Windows/Icons/arangodb.bmp" ARANGO_IMG)
file(TO_NATIVE_PATH "${PROJECT_SOURCE_DIR}/Installation/Windows/Icons/arangodb.ico" ARANGO_ICON)