diff --git a/cmake/Platform/Windows/Packaging/BootstrapperTheme.wxl.in b/cmake/Platform/Windows/Packaging/BootstrapperTheme.wxl.in
index fe125cfdfe..364413efa6 100644
--- a/cmake/Platform/Windows/Packaging/BootstrapperTheme.wxl.in
+++ b/cmake/Platform/Windows/Packaging/BootstrapperTheme.wxl.in
@@ -14,8 +14,7 @@
Setup will install [WixBundleName] on your computer. Click install to continue, options to set the install directory or Close to exit.
- [WixBundleName] <a href="#">license terms</a>.
- I &agree to the license terms and conditions
+ By installing, you agree to the @WIX_THEME_EULA_ACCEPTANCE_TEXT@
&Options
&Install
&Close
diff --git a/cmake/Platform/Windows/Packaging/BootstrapperTheme.xml.in b/cmake/Platform/Windows/Packaging/BootstrapperTheme.xml.in
index 61b338cc13..ffae03de94 100644
--- a/cmake/Platform/Windows/Packaging/BootstrapperTheme.xml.in
+++ b/cmake/Platform/Windows/Packaging/BootstrapperTheme.xml.in
@@ -14,9 +14,7 @@
- @WIX_THEME_INSTALL_LICENSE_ELEMENT@
-
- #(loc.InstallAcceptCheckbox)
+@WIX_THEME_INSTALL_LICENSE_ELEMENTS@
diff --git a/cmake/Platform/Windows/Packaging_windows.cmake b/cmake/Platform/Windows/Packaging_windows.cmake
index aec0edeee2..f09a631372 100644
--- a/cmake/Platform/Windows/Packaging_windows.cmake
+++ b/cmake/Platform/Windows/Packaging_windows.cmake
@@ -91,23 +91,33 @@ set(CPACK_WIX_EXTENSIONS
set(_embed_artifacts "yes")
+set(_hyperlink_license "
+ #(loc.InstallEulaAcceptance)
+")
+
+set(_raw_text_license "
+
+ #(loc.InstallEulaAcceptance)
+")
+
if(LY_INSTALLER_DOWNLOAD_URL)
if(LY_INSTALLER_LICENSE_URL)
- set(WIX_THEME_INSTALL_LICENSE_ELEMENT
- "#(loc.InstallLicenseLinkText)"
- )
+ set(WIX_THEME_INSTALL_LICENSE_ELEMENTS ${_hyperlink_license})
+ set(WIX_THEME_EULA_ACCEPTANCE_TEXT "<a href=\"#\">Terms of Use</a>")
else()
- set(WIX_THEME_INSTALL_LICENSE_ELEMENT
- ""
- )
+ set(WIX_THEME_INSTALL_LICENSE_ELEMENTS ${_raw_text_license})
+ set(WIX_THEME_EULA_ACCEPTANCE_TEXT "Terms of Use above")
endif()
+ # theme ux file
configure_file(
"${CPACK_SOURCE_DIR}/Platform/Windows/Packaging/BootstrapperTheme.xml.in"
"${CPACK_BINARY_DIR}/BootstrapperTheme.xml"
@ONLY
)
+
+ # theme localization file
configure_file(
"${CPACK_SOURCE_DIR}/Platform/Windows/Packaging/BootstrapperTheme.wxl.in"
"${CPACK_BINARY_DIR}/BootstrapperTheme.wxl"