[Libosinfo] [PATCHv2 2/4] installer,win7: Require product key
Zeeshan Ali (Khattak)
zeeshanak at gnome.org
Wed Feb 27 14:20:34 UTC 2013
From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
It turns out that windows installer media can have multiple products and
product key is a way for windows to choose which product to install.
Since we already require product key for windows XP and it is required
by Windows 8 too (for which we'll use this same script), its not too bad
to start requiring this for Windows 7 as well.
Thanks a bunch to Christophe Fergeau for finding out these facts after
thorough research.
---
data/install-scripts/windows-unattend.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/install-scripts/windows-unattend.xml b/data/install-scripts/windows-unattend.xml
index d4e1b98..743d918 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"/>
--
1.8.1.2
More information about the Libosinfo
mailing list