Commit 8c1056f5 authored by Kirk Webb's avatar Kirk Webb

Automatically update version of Windows to install.

parent f051cd88
......@@ -4897,7 +4897,8 @@ done
# Win7 Pro x86
if test -n ${WINDOWS_KEY_7PRO_X86}; then
cp -f $srcdir/tmcc/cygwinseven/unattend-x86.xml.in.tmpl $srcdir/tmcc/cygwinseven/unattend-7pro-x86.xml.in
WIN7_IMNAME="Windows 7 PROFESSIONAL"
sed -e "s/@WIN7_IMNAME@/$WIN7_IMNAME/" < $srcdir/tmcc/cygwinseven/unattend-x86.xml.in.tmpl > $srcdir/tmcc/cygwinseven/unattend-7pro-x86.xml.in
winfiles="$winfiles tmcc/cygwinseven/unattend-7pro-x86.xml"
fi
......
......@@ -222,7 +222,8 @@ AC_SUBST(PYTHON_INCLUDE)
# Win7 Pro x86
if test -n ${WINDOWS_KEY_7PRO_X86}; then
cp -f $srcdir/tmcc/cygwinseven/unattend-x86.xml.in.tmpl $srcdir/tmcc/cygwinseven/unattend-7pro-x86.xml.in
WIN7_IMNAME="Windows 7 PROFESSIONAL"
sed -e "s/@WIN7_IMNAME@/$WIN7_IMNAME/" < $srcdir/tmcc/cygwinseven/unattend-x86.xml.in.tmpl > $srcdir/tmcc/cygwinseven/unattend-7pro-x86.xml.in
winfiles="$winfiles tmcc/cygwinseven/unattend-7pro-x86.xml"
fi
......
......@@ -120,6 +120,12 @@
<PartitionID>1</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>@WIN7_IMNAME@</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<UserData>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment