autounattend: fix installation without productKey

master
Astro 2023-05-25 15:43:50 +02:00
parent 9a92143337
commit 285b33a674
1 changed files with 1 additions and 1 deletions

View File

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