diff --git a/win-linux/package/windows/make_advinst.ps1 b/win-linux/package/windows/make_advinst.ps1 index 9356cfc8b..78b67ea28 100644 --- a/win-linux/package/windows/make_advinst.ps1 +++ b/win-linux/package/windows/make_advinst.ps1 @@ -155,12 +155,15 @@ if ($Target -ne "commercial") { $AdvInstConfig += ` "AddFile APPDIR $LicensePath\opensource\LICENSE.txt" } else { + Copy-Item -Force ` + -Path "$LicensePath\commercial\LICENSE.txt" ` + -Destination "$LicensePath\commercial\EULA.txt" $AdvInstConfig += ` "SetProperty Edition=Enterprise", ` "SetProperty AI_PRODUCTNAME_ARP=`"[|AppName] ([|Edition]) [|Version] ([|Arch])`"", ` "SetEula -rtf `"$("$LicensePath\commercial\LICENSE.rtf" | Resolve-Path)`"", ` "SetPackageName `"$MsiFile`" -buildname $MsiBuild", ` - "AddFile APPDIR $LicensePath\commercial\LICENSE.txt" + "AddFile APPDIR $LicensePath\commercial\EULA.txt" } $AdvInstConfig += ` "Rebuild -buildslist $MsiBuild"