summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2013-02-27 15:38:36 +0200
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2013-03-04 16:59:49 +0200
commit0af474b689667b9f772c00c5bb87b3e05334c19f (patch)
treefde6c069a23a0f94c0bba09bebaf53b3939a447e
parentbe28bd057664e4e59d41b9f6edc6ccf7b4052ea0 (diff)
installer,win7: Require product key
It turns out that windows installer media can have multiple products and product key is one of the ways for windows to choose which product to install. In case of Windows 8, unattended installation breaks if a product is not choosen as part of autounattend.xml file. Since we already require product key for windows XP and we'll use this same script for Windows 8 too, its not too bad to start requiring this for Windows 7 as well. Also, the product key will be used to automatically activate the Windows copy during unattended installation rather than requiring the user to do it him/herself at most 30 days after installation. Moreover, the following patch that removes /IMAGE/INDEX, will break unattended install without a product key in place. Co-author: Christophe Fergeau <cfergeau@redhat.com>
-rw-r--r--data/install-scripts/windows-unattend.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/install-scripts/windows-unattend.xml b/data/install-scripts/windows-unattend.xml
index 73ea11d..9ad324f 100644
--- a/data/install-scripts/windows-unattend.xml
+++ b/data/install-scripts/windows-unattend.xml
@@ -12,7 +12,7 @@
<param name="user-login" policy="optional"/>
<param name="user-password" policy="optional"/>
<param name="user-realname" policy="optional"/>
- <param name="reg-product-key" policy="optional"/>
+ <param name="reg-product-key" policy="required"/>
<param name="target-disk" policy="optional"/>
<param name="pre-install-drivers-disk" policy="optional"/>
<param name="pre-install-drivers-location" policy="optional"/>
@@ -228,7 +228,7 @@
<param name="user-password" policy="optional"/>
<param name="user-realname" policy="optional"/>
<param name="hostname" policy="required"/>
- <param name="reg-product-key" policy="optional"/>
+ <param name="reg-product-key" policy="required"/>
<param name="target-disk" policy="optional"/>
<param name="pre-install-drivers-disk" policy="optional"/>
<param name="pre-install-drivers-location" policy="optional"/>