[Libosinfo] [PATCHv2] installer,win7: Require product key

Christophe Fergeau cfergeau at redhat.com
Mon Mar 4 14:56:30 UTC 2013


On Thu, Feb 28, 2013 at 02:49:32PM +0200, Zeeshan Ali (Khattak) wrote:
> 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.

is one possible way 

> 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

... it's not  ...
ACK with that fixed

Christophe

> 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 at redhat.com>
> ---
>  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
> 
> _______________________________________________
> 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/20130304/a9a323c1/attachment.sig>


More information about the Libosinfo mailing list