We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f96e7c6 commit 2438339Copy full SHA for 2438339
CMakeLists.txt
@@ -509,6 +509,11 @@ set(CPACK_WIX_PATCH_FILE "${CMAKE_CURRENT_BINARY_DIR}/icinga-installer/icinga2.w
509
set(CPACK_WIX_EXTENSIONS "WixUtilExtension" "WixNetFxExtension")
510
set(CPACK_WIX_INSTALL_SCOPE NONE)
511
512
+if(DEFINED ENV{ICINGA2_NO_MSI_VALIDATION})
513
+ # https://wixtoolset.org/docs/tools/validation/#errors-running-validation
514
+ set(CPACK_WIX_LIGHT_EXTRA_FLAGS "-sval")
515
+endif()
516
+
517
set(CMAKE_INSTALL_SYSTEM_RUNTIME_DESTINATION "sbin")
518
set(CMAKE_INSTALL_UCRT_LIBRARIES TRUE)
519
include(InstallRequiredSystemLibraries)
0 commit comments