mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-17 09:46:08 +08:00
Visual Studio 2022 is the first msvc having natively support for
building and debugging ARM64 apps. [CI Platforms]
Provisioning needed to take new Get-CpuArchitecture
helpers.ps1 function into use in several installations.
Requirements for other branches
- Get-CpuArchitecture helpers.ps1 function
- Skip qtwebengine with Windows 11 ARM (QTBUG-124632)
List of excluded installations in Windows on ARM:
- Could be added later
- MinGW - QTQAINFRA-6079
- DirectX SDK for RTA
- libclang
- mcuexpresso
- fbx for msvc2022
- Ruby
- For python
- conan
- emsdk
- Not supported yet
- FFmpeg
- Msys2 (for FFmpeg QTBUG-124399)
- MySQL
- PostgreSQL
- Java JDK
- Strawberry Perl
Task-number: QTQAINFRA-6109
Task-number: QTQAINFRA-5855
Pick-to: 6.7
Change-Id: I4130e78add53f8a6e05eb41b7617b3f9ca802178
Reviewed-by: Simo Fält <simo.falt@qt.io>
26 lines
815 B
PowerShell
26 lines
815 B
PowerShell
# Windows Update Medic Service (WaaSMedicSvc)'PerformRemediation' helps recover update-related services to the supported configuration.
|
|
# WaasMedicSvc keeps re-starting Windows Update, even if it disabled manually.
|
|
# Even Admin user don't have privileged to disable PerformRemediation from Task Scheduler which means that WaaSMedicSvc.dll need's to be removed from the system
|
|
|
|
$limit = (Get-Date).AddMinutes(20)
|
|
$path = "C:\Windows\System32\WaaSMedicSvc.dll"
|
|
|
|
DO {
|
|
takeown /F $path
|
|
icacls $path /grant Administrators:f
|
|
Write-host "Deleting $path"
|
|
|
|
Try {
|
|
del $path
|
|
}
|
|
Catch [System.UnauthorizedAccessException] {
|
|
Write-host "Access to the path '$path' is denied."
|
|
Continue
|
|
}
|
|
|
|
if ((Get-Date) -gt $limit) {
|
|
exit 1
|
|
}
|
|
|
|
}while (Test-Path -Path "$path")
|