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

Christophe Fergeau cfergeau at redhat.com
Fri Dec 28 20:47:49 UTC 2012


ACK

Christophe

On Thu, Dec 27, 2012 at 10:23:09PM +0200, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
> 
> 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20121228/ddf4486c/attachment.sig>


More information about the Libosinfo mailing list