Compare commits

...

8 Commits

Author SHA1 Message Date
Ray
ae7e50b370 Test registry path before invoking Get-ChildItem (#95) 2021-05-25 10:26:11 +03:00
Alena Sviridenko
7d36f506c4 Merge pull request #94 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 05/04/2021
2021-05-04 11:12:38 +03:00
Service account
f670a2adea Update versions-manifest 2021-05-04 08:10:58 +00:00
MaksimZhukov
505f65215c Merge pull request #93 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 04/29/2021
2021-04-29 15:40:40 +03:00
Service account
4598952486 Update versions-manifest 2021-04-29 12:38:53 +00:00
Alena Sviridenko
42bcd17332 [versions-manifest] Update for release from 04/19/2021 #92
[versions-manifest] Update for release from 04/19/2021
2021-04-19 11:13:43 +03:00
Service account
878244d959 Update versions-manifest 2021-04-19 08:01:02 +00:00
github-actions[bot]
42c2eea389 Update versions-manifest (#90)
Co-authored-by: Service account <no-reply@microsoft.com>
2021-04-08 15:23:08 +03:00
2 changed files with 194 additions and 6 deletions

View File

@@ -28,17 +28,21 @@ function Remove-RegistryEntries {
$versionFilter = Get-RegistryVersionFilter -Architecture $Architecture -MajorVersion $MajorVersion -MinorVersion $MinorVersion $versionFilter = Get-RegistryVersionFilter -Architecture $Architecture -MajorVersion $MajorVersion -MinorVersion $MinorVersion
$regPath = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products" $regPath = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products"
if (Test-Path -Path Registry::$regPath) {
$regKeys = Get-ChildItem -Path Registry::$regPath -Recurse | Where-Object Property -Ccontains DisplayName $regKeys = Get-ChildItem -Path Registry::$regPath -Recurse | Where-Object Property -Ccontains DisplayName
foreach ($key in $regKeys) { foreach ($key in $regKeys) {
if ($key.getValue("DisplayName") -match $versionFilter) { if ($key.getValue("DisplayName") -match $versionFilter) {
Remove-Item -Path $key.PSParentPath -Recurse -Force -Verbose Remove-Item -Path $key.PSParentPath -Recurse -Force -Verbose
} }
} }
}
$regPath = "HKEY_CLASSES_ROOT\Installer\Products" $regPath = "HKEY_CLASSES_ROOT\Installer\Products"
if (Test-Path -Path Registry::$regPath) {
Get-ChildItem -Path Registry::$regPath | Where-Object { $_.GetValue("ProductName") -match $versionFilter } | ForEach-Object { Get-ChildItem -Path Registry::$regPath | Where-Object { $_.GetValue("ProductName") -match $versionFilter } | ForEach-Object {
Remove-Item Registry::$_ -Recurse -Force -Verbose Remove-Item Registry::$_ -Recurse -Force -Verbose
} }
}
$uninstallRegistrySections = @( $uninstallRegistrySections = @(
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall", # current user, x64 "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall", # current user, x64

View File

@@ -1,4 +1,50 @@
[ [
{
"version": "3.10.0-beta.1",
"stable": false,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.0-beta.1-107003",
"files": [
{
"filename": "python-3.10.0-beta.1-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-beta.1-107003/python-3.10.0-beta.1-darwin-x64.tar.gz"
},
{
"filename": "python-3.10.0-beta.1-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-beta.1-107003/python-3.10.0-beta.1-linux-16.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-beta.1-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-beta.1-107003/python-3.10.0-beta.1-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-beta.1-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-beta.1-107003/python-3.10.0-beta.1-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.10.0-beta.1-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-beta.1-107003/python-3.10.0-beta.1-win32-x64.zip"
},
{
"filename": "python-3.10.0-beta.1-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.0-beta.1-107003/python-3.10.0-beta.1-win32-x86.zip"
}
]
},
{ {
"version": "3.10.0-alpha.7", "version": "3.10.0-alpha.7",
"stable": false, "stable": false,
@@ -321,6 +367,52 @@
} }
] ]
}, },
{
"version": "3.9.5",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.5-106999",
"files": [
{
"filename": "python-3.9.5-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.5-106999/python-3.9.5-darwin-x64.tar.gz"
},
{
"filename": "python-3.9.5-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.5-106999/python-3.9.5-linux-16.04-x64.tar.gz"
},
{
"filename": "python-3.9.5-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.5-106999/python-3.9.5-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.9.5-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.5-106999/python-3.9.5-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.9.5-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.5-106999/python-3.9.5-win32-x64.zip"
},
{
"filename": "python-3.9.5-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.5-106999/python-3.9.5-win32-x86.zip"
}
]
},
{ {
"version": "3.9.4", "version": "3.9.4",
"stable": true, "stable": true,
@@ -827,6 +919,98 @@
} }
] ]
}, },
{
"version": "3.8.10",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.10-107001",
"files": [
{
"filename": "python-3.8.10-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-107001/python-3.8.10-darwin-x64.tar.gz"
},
{
"filename": "python-3.8.10-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-107001/python-3.8.10-linux-16.04-x64.tar.gz"
},
{
"filename": "python-3.8.10-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-107001/python-3.8.10-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.8.10-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-107001/python-3.8.10-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.8.10-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-107001/python-3.8.10-win32-x64.zip"
},
{
"filename": "python-3.8.10-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.10-107001/python-3.8.10-win32-x86.zip"
}
]
},
{
"version": "3.8.9",
"stable": true,
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.9-104257",
"files": [
{
"filename": "python-3.8.9-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.9-104257/python-3.8.9-darwin-x64.tar.gz"
},
{
"filename": "python-3.8.9-linux-16.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.9-104257/python-3.8.9-linux-16.04-x64.tar.gz"
},
{
"filename": "python-3.8.9-linux-18.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.9-104257/python-3.8.9-linux-18.04-x64.tar.gz"
},
{
"filename": "python-3.8.9-linux-20.04-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "20.04",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.9-104257/python-3.8.9-linux-20.04-x64.tar.gz"
},
{
"filename": "python-3.8.9-win32-x64.zip",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.9-104257/python-3.8.9-win32-x64.zip"
},
{
"filename": "python-3.8.9-win32-x86.zip",
"arch": "x86",
"platform": "win32",
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.9-104257/python-3.8.9-win32-x86.zip"
}
]
},
{ {
"version": "3.8.8", "version": "3.8.8",
"stable": true, "stable": true,