From: Fabiano Fidêncio <fabiano@xxxxxxxxxxxx> An error occurs when trying to express install Windows 8.1 Professional (Volume License) variant, as they don't need a ProductKey during the WindowsPE phase of the setup. Signed-off-by: Fabiano Fidêncio <fabiano@xxxxxxxxxxxx> --- data/install-script/microsoft.com/windows-unattend-desktop.xml.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/install-script/microsoft.com/windows-unattend-desktop.xml.in b/data/install-script/microsoft.com/windows-unattend-desktop.xml.in index e31df1f..7e56d84 100644 --- a/data/install-script/microsoft.com/windows-unattend-desktop.xml.in +++ b/data/install-script/microsoft.com/windows-unattend-desktop.xml.in @@ -149,9 +149,11 @@ </ImageInstall> <UserData> <AcceptEula>true</AcceptEula> + <xsl:if test="count(media/variant) = 0 or not(contains(media/variant, '-vl'))"> <ProductKey> <Key><xsl:value-of select="config/reg-product-key"/></Key> </ProductKey> + </xsl:if> </UserData> </component> <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> @@ -249,7 +251,6 @@ <xsl:attribute name="processorArchitecture"> <xsl:call-template name="arch"/> </xsl:attribute> - <ProductKey><xsl:value-of select="config/reg-product-key"/></ProductKey> </component> </settings> -- 2.7.3 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo