forked from lthn/blockchain
Windows installer CPack config
Replaces the commented-out WIX configuration with NSIS settings for Windows builds. Adds NSIS-specific options such as modifying PATH, help link, contact info, branding, and finish page executable. Updates the status message to reflect the change.
This commit is contained in:
parent
49573e94b6
commit
10abf9b314
1 changed files with 10 additions and 2 deletions
|
|
@ -26,8 +26,16 @@ if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebI
|
||||||
# message(STATUS "Registered CPACK_GENERATOR: productbuild")
|
# message(STATUS "Registered CPACK_GENERATOR: productbuild")
|
||||||
endif ()
|
endif ()
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
# set(CPACK_GENERATOR "WIX")
|
set(CPACK_GENERATOR "NSIS")
|
||||||
# message(STATUS "Registered CPACK_GENERATOR: WIX")
|
set(CPACK_NSIS_MODIFY_PATH ON)
|
||||||
|
set(CPACK_NSIS_HELP_LINK "https://lt.hn/getting-started/chain.html")
|
||||||
|
set(CPACK_NSIS_URL_INFO_ABOUT "https://lt.hn")
|
||||||
|
set(CPACK_NSIS_CONTACT "support@lt.hn")
|
||||||
|
set(CPACK_NSIS_UNINSTALL_NAME "Lethean CLI")
|
||||||
|
set(CPACK_NSIS_BRANDING_TEXT "Lethean Community")
|
||||||
|
set(CPACK_NSIS_MUI_FINISHPAGE_RUN "lethean-testnet-chain-node.exe")
|
||||||
|
|
||||||
|
message(STATUS "Registered CPACK_GENERATOR: Inno exe")
|
||||||
# set(CPACK_WIX_PRODUCT_ICON "${CMAKE_SOURCE_DIR}/resources/windows_icon.ico")
|
# set(CPACK_WIX_PRODUCT_ICON "${CMAKE_SOURCE_DIR}/resources/windows_icon.ico")
|
||||||
# set(CPACK_WIX_LICENSE_RTF "${CMAKE_SOURCE_DIR}/LICENSE.rtf")
|
# set(CPACK_WIX_LICENSE_RTF "${CMAKE_SOURCE_DIR}/LICENSE.rtf")
|
||||||
# set(CPACK_WIX_UPGRADE_GUID "D3F5A9C1-4B2E-4F5A-9C71-123456789ABC") # change once per major version
|
# set(CPACK_WIX_UPGRADE_GUID "D3F5A9C1-4B2E-4F5A-9C71-123456789ABC") # change once per major version
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue