add NSIS template for custom installer options

This commit is contained in:
Stephen Birarda 2016-01-08 16:21:58 -08:00
parent 87e55543ce
commit 63a88815bc
2 changed files with 8 additions and 0 deletions

View file

@ -15,6 +15,10 @@ macro(GENERATE_INSTALLERS)
set(CPACK_PACKAGE_NAME "HighFidelity")
set(CPACK_PACKAGE_VENDOR "HighFidelity")
if (WIN32)
set(INTERFACE_STARTMENU_NAME "High Fidelity")
endif ()
if (APPLE)
set(CPACK_PACKAGE_INSTALL_DIRECTORY "/")
set(CPACK_PACKAGING_INSTALL_PREFIX /)

View file

@ -43,6 +43,10 @@ macro(SET_PACKAGING_PARAMETERS)
set(CONSOLE_ICON "console-beta.ico")
endif ()
if (WIN32)
set(INTERFACE_EXEC_NAME "interface")
endif ()
if (APPLE)
set(CONSOLE_INSTALL_DIR ".")
set(CONSOLE_APPLICATION_NAME "Server Console.app")