autounattend: fix installation without productKey

This commit is contained in:
Astro 2023-05-25 15:43:50 +02:00
parent 9a92143337
commit 285b33a674

View File

@ -215,7 +215,7 @@ let
<UserData>
<ProductKey>
${if productKey != null then "<Key>${productKey}</Key>" else ""}
${if productKey != null then "<Key>${productKey}</Key>" else "<Key/>"}
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>