summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2012-12-27 22:12:31 +0200
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2013-01-02 19:49:25 +0200
commit6aad07db684b36beedb01ebb1f96ade53c71b387 (patch)
tree6ea456f065fe0f6de80a31004eaa67694f214042
parentb7d7525193a756f181931a0d396a3a49299e15c9 (diff)
win7: Use product key in desktop profile as well
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.
-rw-r--r--data/install-scripts/windows-unattend.xml9
1 files changed, 9 insertions, 0 deletions
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>