[Libosinfo] [PATCH v3 07/12] win8.1, installer: Tune for the Volume License variants

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Fri Apr 22 13:06:31 UTC 2016


While this shortlog doesn't go far beyond 50 chars but could easily be
made to fit so why not: win8.1,installer: Tune for Volume License
variant

Patch itself looks good.

On Wed, Apr 20, 2016 at 4:55 PM, Fabiano Fidêncio <fidencio at redhat.com> wrote:
> From: Fabiano Fidêncio <fabiano at fidencio.org>
>
> 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 at fidencio.org>
> ---
>  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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo



-- 
Regards,

Zeeshan Ali (Khattak)




More information about the Libosinfo mailing list