mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 15:10:23 +00:00
Fix install script sometimes uninstalling PTB version
This commit is contained in:
parent
ee3f5babe6
commit
73efb183e7
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ function Uninstall {
|
|||
|
||||
Write-Host "Looking for previous $ProductName installations ..."
|
||||
|
||||
$cim = Get-CimInstance Win32_Product | Where {$_.Name -match "$ProductName" } | Select-Object -First 1
|
||||
$cim = Get-CimInstance Win32_Product | Where {$_.Name -eq "$ProductName" } | Select-Object -First 1
|
||||
if ($cim) {
|
||||
$message = @(
|
||||
"Uninstalling existing $ProductName $($cim.Version) installation ..."
|
||||
|
|
Loading…
Reference in a new issue