diff --git a/cmake/Platform/Windows/Packaging_windows.cmake b/cmake/Platform/Windows/Packaging_windows.cmake
index 5df53d158c..6dc806ff56 100644
--- a/cmake/Platform/Windows/Packaging_windows.cmake
+++ b/cmake/Platform/Windows/Packaging_windows.cmake
@@ -91,14 +91,14 @@ set(CPACK_WIX_EXTENSIONS
set(_embed_artifacts "yes")
-set(_hyperlink_license "
- #(loc.InstallEulaAcceptance)
-")
+set(_hyperlink_license [[
+ #(loc.InstallEulaAcceptance)
+]])
-set(_raw_text_license "
-
- #(loc.InstallEulaAcceptance)
-")
+set(_raw_text_license [[
+
+ #(loc.InstallEulaAcceptance)
+]])
if(LY_INSTALLER_DOWNLOAD_URL)