diff options
author | Heikki Halmet <heikki.halmet@qt.io> | 2020-06-24 08:59:40 +0300 |
---|---|---|
committer | Heikki Halmet <heikki.halmet@qt.io> | 2020-09-04 07:39:23 +0300 |
commit | a1358676d30afca4e056f9eceeac15e46df11c4b (patch) | |
tree | 0daaf766cf0a8ea667920aa693ae03bc886f44a0 /coin/pre-provisioning | |
parent | 6f86671359d8d80424d56eeaa8b150d362384690 (diff) |
Provisioning: Update Windows 10 x86_64 to version 2004
MSVC 2019 version 16.6.2
MSVC 2019 Build Tools version 16.6.2
Virtio driver
Virtio Balloon driver
NetKVM driver
Task-number: QTQAINFRA-3818
Task-number: QTQAINFRA-3817
Change-Id: Id0edee66d4eb42730a70495dbb063a0d379f026c
Reviewed-by: Toni Saario <toni.saario@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit ba4eb4929eee3f613962ddd719ae337ccc6ef729)
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'coin/pre-provisioning')
5 files changed, 57 insertions, 21 deletions
diff --git a/coin/pre-provisioning/qtci-windows-10-x86_64/README_MANUAL_INSTALLATIONS b/coin/pre-provisioning/qtci-windows-10-x86_64/README_MANUAL_INSTALLATIONS index fd646cbf..ac602763 100644 --- a/coin/pre-provisioning/qtci-windows-10-x86_64/README_MANUAL_INSTALLATIONS +++ b/coin/pre-provisioning/qtci-windows-10-x86_64/README_MANUAL_INSTALLATIONS @@ -10,12 +10,13 @@ Video Card - total memory: 32MB VM Options: Boot options/Firmware: BIOS -Language: English US -Keyboard: finnish +Language to install: English UK +Time and currency format: English UK +Keyboard or input method: United Kingdom location: finnish Windows 10 Enterprise Region: Finland -Keyboard layout: Finnish +Keyboard layout: United Kingdom * VMware tools (complete) installed * Resolution set to 1280x800 @@ -27,24 +28,29 @@ Keyboard layout: Finnish - Enabling autologin - Automatic login - Disabling windows updates -* Windows Defender Antivirus turned off: Open 'gpedit.msc': 'Computer Configuration' - 'Administrative Templates' - 'Windows Components' - 'Windows Defender Antivirus' - - Edit 'Turn off Windows Defender Antivirus' > 'Enabled' > 'Apply' +* Microsoft Defender Antivirus turned off: Open 'gpedit.msc': 'Computer Configuration' - 'Administrative Templates' - 'Windows Components' - 'Microsoft Defender Antivirus' + - Edit 'Turn off Microsoft Defender Antivirus' > 'Enabled' > 'Apply' - NOTE! Without this step windows defender can't be disabled! * Remote connections allowed: - Enable Remote Desktop -* Background defrag disabled: 'defragment and optimize drives' - 'change settings' - unchecked "run on a schedule" +* Background defrag disabled: 'Defragment And Optimize Drives' - 'change settings' - unchecked "run on a schedule" - Run in terminal: 'schtasks /Delete /TN "Microsoft\Windows\Defrag\ScheduledDefrag"' -* Time zone: Coordinated Universal Time +* Time zone: 'Co-ordinated Universal Time' * Windows search disabled: 'Control Panel\System and Security\Administrative Tools\Services' - 'Windows search' - stop & disable * Sysmain disabled: 'Control Panel\System and Security\Administrative Tools\Services' - 'SysMain' - stop & disable -* Power saver disabled: Open 'Power & sleep' and set 'Screen' to 'never' +* Power saver disabled: Open 'Power & sleep settings' + - set 'Screen' to 'never' + - set 'Sleep' to 'never' * Turn windows features on or off -> Check the "SMB 1.0/CIFS File Sharing Support +* (Restart Windows) * Google Chrome installed for RTA -* Turn off Virus & threat protection (all sections) manually - - Real-tiem protection -> off +* Virus & threat protection settings: + - Real-time protection -> off - Cloud-delivered protection -> off - Automatic sample submission -> off - Tamper protection -> off +* Virus & threat protection notifications: + - Get informational notifications -> off + - Account protection notifications -> off * Activate Windows -* Modify 'Windows Software Development Kit - Windows 10.0.18362.1' from 'Add or remove programs' - - Add feature 'Debugging Tools for Windows' + diff --git a/coin/pre-provisioning/qtci-windows-10-x86_64/disable-update-orchestrator.ps1 b/coin/pre-provisioning/qtci-windows-10-x86_64/disable-update-orchestrator.ps1 index c7f23470..1022c798 100644 --- a/coin/pre-provisioning/qtci-windows-10-x86_64/disable-update-orchestrator.ps1 +++ b/coin/pre-provisioning/qtci-windows-10-x86_64/disable-update-orchestrator.ps1 @@ -5,7 +5,6 @@ $path = "C:\Windows\System32\Tasks\Microsoft\Windows\$name" takeown /F $path /A /R icacls $path /grant Administrators:F /T -SCHTASKS /Change /TN "Microsoft\Windows\$name\Reboot" /DISABLE del "$path\Schedule Scan" del "$path\Schedule Scan Static Task" del "$path\UpdateModelTask" diff --git a/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2015_update.ps1 b/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2015_update.ps1 index 69f3e27b..9ac8196e 100644 --- a/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2015_update.ps1 +++ b/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2015_update.ps1 @@ -34,10 +34,11 @@ # Visual Studio $version was installed manually using $installer. $version = "2015 update 3" $version_number ="14.0.25420.1" -$installer = "http://ci-files01-hki.intra.qt.io/input/windows/en_visual_studio_professional_2015_with_update_3_x86_x64_web_installer_8922978" +$installer = "en_visual_studio_professional_2015_with_update_3_x86_x64_web_installer_8922978.exe" # default plus following components were selected: # * Visual C++ +# - Common Tools for Visual C++ 2015 # * Universal Windows App Development Tools # - Tools (1.4.1) and Windows SDK (10.0.14393) # - Windows 10 SDK (10.0.10586) diff --git a/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt b/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt index 28f63762..e5fc9e93 100644 --- a/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt +++ b/coin/pre-provisioning/qtci-windows-10-x86_64/msvc2019.txt @@ -2,13 +2,13 @@ $version = "2019" # Current version was manually upgraded from the installer -$version_number = "16.4.4" +$version_number = "16.6.2" $installer = "http://ci-files01-hki.ci.local/input/windows/vs_professional__505064367.1547034421.exe" MSVC 2019 build tools (default installation, no additional selections). * Install after MSVC2019 is installed! * Installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe" - * Version: 16.4.4 + * Version: 16.6.2 Installed MSVC-2019 Components: @@ -38,14 +38,14 @@ Text Template Transformation C# and Visual Basic Roslyn compilers C++ 2019 Redistributable Update C++ Cmake tools for Windows -C++/CLI support for v142 build tools /14.24) +C++/CLI support for v142 build tools /14.26) MSBuild MSVC v142 - VS 2019 C++ ARM build tools (v14.20) -MSVC v142 - VS 2019 C++ ARM build tools (v14.24) +MSVC v142 - VS 2019 C++ ARM build tools (v14.26) MSVC v142 - VS 2019 C++ ARM64 build tools (v14.20) -MSVC v142 - VS 2019 C++ ARM64 build tools (v14.24) +MSVC v142 - VS 2019 C++ ARM64 build tools (v14.26) MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.20) -MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.24) +MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.26) .NET profiling tools C++ profiling tools JavaScript diagnostics @@ -57,11 +57,14 @@ Razor Language Services Graphics debugger and GPU profiler for DirectX Image and 3D model editors C++ ATL for latest v142 build tools (x86 & x64) -TypeScript 3.7 SDK +TypeScript 3.8 SDK Windows 10 SDK (10.0.16299.0) Windows 10 SDK (10.0.17134.0) Windows 10 SDK (10.0.17763.0) Windows 10 SDK (10.0.18362.0) +Windows 10 SDK (10.0.19041.0) # NOTE! Work loads were added during installation! +* Modify 'Windows Software Development Kit - Windows 10.0.18362.1' from 'Add or remove programs' + - Add feature 'Debugging Tools for Windows' diff --git a/coin/pre-provisioning/qtci-windows-10-x86_64/virtio.txt b/coin/pre-provisioning/qtci-windows-10-x86_64/virtio.txt new file mode 100644 index 00000000..4692e4a3 --- /dev/null +++ b/coin/pre-provisioning/qtci-windows-10-x86_64/virtio.txt @@ -0,0 +1,27 @@ +Install virtio + +Our vanilla images are pre-installed in VMware where we have networking available. In KVM we can +use the VMware installed vmxnet3 NIC to fetch VirtIO drivers, install them, and only then switch +to using the VirtIO NIC in KVM. + +* Download https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win-0.1.171.iso +* Mount virtio-win-0.1.171.iso by double clicking it. +* Right click 'E:\NetKVM\w10\amd64\netkvm.inf' and select Install +* Right click 'E:\Balloon\w10\amd64\balloon.inf' and select Install + +* Right click 'E:\vioscsi\w10\amd64\vioscsi.inf' and select Install + +Because vioscsi does not install the entries in windows registry before we actually +have a VirtIO device installed, and we can't boot with a VirtIO device before +the driver is installed, we have to blindly install the registry entries: + +* Download https://bugreports.qt.io/secure/attachment/95685/95685_vioscsi.reg + +However, we've seen that the Owner in the registry can be wrong. This entry +sets it to oem11.inf, but we've seen it be oem10.inf in one case and it has +to be corrected so that it will boot from the VirtIO driver. This was found out +by having 2 devices installed simultaneously and having the drivers install +properly into the registry. + +* Eject the mounting +* Remove downloaded virtio-win-0.1.171.iso |