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

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Wed Feb 27 14:53:17 UTC 2013


On Wed, Feb 27, 2013 at 4:42 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> 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,

I clearly recall that I spent many hours to figure this one out.
Windows 8 unattend install certainly breaks if you don't move the
product key in the XML. You might be right that log is not 100%
accurate about this but its pretty damn close.

> 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).

I give up. Could you please modify these patches and/or their commit
logs? As long as they enable windows 8 unattended installation without
breaking it for windows 7, I'll be happy.

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124




More information about the Libosinfo mailing list