[PATCH v1 6/6] win8,installer: Tune based on variants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The same issues faced when enabling the unattended installation for
Windows 8.1 can be faced when performing a unattended installation for
Windows 8. However, I wasn't been able to test the Windows 8
Professional variant as it needs a VLK and MSDN tells me that only
administrators can access kets in the Volume Licensing Service Center
(VLSC). So, this patch has only been tested on No Variant and Enterprise
variant of Windows 8. Any of the debug versions have been tested at all,
as the system reboots as soon as it boots, what seems like an ISO
problem.

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 data/install-script/microsoft.com/windows-unattend-desktop.xml.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/install-script/microsoft.com/windows-unattend-desktop.xml.in b/data/install-script/microsoft.com/windows-unattend-desktop.xml.in
index 310246f..a207c1d 100644
--- a/data/install-script/microsoft.com/windows-unattend-desktop.xml.in
+++ b/data/install-script/microsoft.com/windows-unattend-desktop.xml.in
@@ -150,12 +150,12 @@
          <UserData>
           <AcceptEula>true</AcceptEula>
           <xsl:choose>
-            <xsl:when test="os/version != 6.3"> <!-- Any Windows, but the Windows 8.1 -->
+            <xsl:when test="os/version &lt; 6.2"> <!-- Windows 7 and older -->
               <ProductKey>
                 <Key><xsl:value-of select="config/reg-product-key"/></Key>
               </ProductKey>
             </xsl:when>
-            <xsl:otherwise> <!-- Windows 8.1 -->
+            <xsl:otherwise> <!-- Windows 8 and 8.1 -->
               <xsl:if test="count(media/variant) = 0 or (contains(media/variant, 'debug') and not(contains(media/variant, 'enterprise')))"> <!-- "No Variant" or "Debug" variant -->
                 <ProductKey>
                   <Key><xsl:value-of select="config/reg-product-key"/></Key>
-- 
2.7.3

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux