mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Remove WOW6432Node from 32-bit installer.
This commit is contained in:
parent
32b0d41b68
commit
a1100ec6f0
@ -126,13 +126,7 @@ function Install-Remotely {
|
||||
}
|
||||
|
||||
function Install-DesktopRuntime() {
|
||||
$UninstallKeys = New-Object System.Collections.ArrayList
|
||||
Get-ChildItem -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" | ForEach-Object {
|
||||
$UninstallKeys.Add($_) | Out-Null
|
||||
}
|
||||
Get-ChildItem -Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\" | ForEach-Object {
|
||||
$UninstallKeys.Add($_) | Out-Null
|
||||
}
|
||||
$UninstallKeys = (Get-ChildItem -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\")
|
||||
|
||||
$RuntimeRegKey = $UninstallKeys | Where-Object {
|
||||
$_.GetValue("DisplayName") -like "Microsoft Windows Desktop Runtime - 3.1.1*"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user