Re: [PATCH 1/2] win7: Use product key in desktop profile as well

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ACK

Christophe

On Thu, Dec 27, 2012 at 10:23:09PM +0200, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx>
> 
> Although optional, product key should be used when specifiedy by app.
> 
> Before anyone asks, yes I have tested that win7 accepts empty product
> key node in installer script XML.
> ---
>  data/install-scripts/windows-unattend.xml | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/data/install-scripts/windows-unattend.xml b/data/install-scripts/windows-unattend.xml
> index de84b65..d8c7563 100644
> --- a/data/install-scripts/windows-unattend.xml
> +++ b/data/install-scripts/windows-unattend.xml
> @@ -460,6 +460,15 @@
>           </xsl:if>
>          </component>
>         </settings>
> +       <settings pass="specialize">
> +        <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> +         <xsl:attribute name="processorArchitecture">
> +          <xsl:call-template name="arch"/>
> +         </xsl:attribute>
> +
> +         <ProductKey><xsl:value-of select="config/reg-product-key"/></ProductKey>
> +        </component>
> +       </settings>
>        </unattend>
>       </xsl:template>
>      </xsl:stylesheet>
> -- 
> 1.8.0.2
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libosinfo

Attachment: pgpz88Z7wDEJX.pgp
Description: PGP signature

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux