[Libosinfo] [PATCHv2 3/4] win7,installer: Adapt for Windows 8

Christophe Fergeau cfergeau at redhat.com
Wed Feb 27 14:42:32 UTC 2013


On Wed, Feb 27, 2013 at 04:20:35PM +0200, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
> 
> The presence of 'InstallFrom' in the XML breaks unattended installation
> for Windows 8
> and its not needed for Windows 7 now that we require
> product key. 'ProductKey' is expected in different locations in the XML
> by Windows 8 but same location works for Windows 7 as well.

All of this is not really accurate. Win8 seems to require
Microsoft-Windows-Setup/UserData/ProductKey/Key to be set, which seems to
be exclusive with using
Microsoft-Windows-Setup/ImageInstall/OSImage/InstallFrom/MetaData (or at
least some care needs to be taken when using both together). As letting the
Windows installer decide on which OSImage to use from the product key
rather than hardcoding use of the first OSImage on the ISO seems more
robust,  we switch from InstallFrom installation image selection to
ProductKey installation image selection.

Also, ProductKey is not expected in a different location for Windows 8, but
there are 2 different locations where you can put it with different
purposes, the one at Microsoft-Windows-Setup/UserData/ProductKey/Key is
used for installation image selection (ie as a /IMAGE/INDEX replacement).
The ProductKey that was set for Win7 is used for Windows activation (which
you have to do within 30 days of installation), so we should set it as well
in all cases if this does not break win8 unattended (I don't think I've
tested that).

Christophe
-------------- 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/20130227/855d3c73/attachment.sig>


More information about the Libosinfo mailing list