Skip to content

Commit 8378929

Browse files
committed
Fixing elevated uninstall script
1 parent f34d824 commit 8378929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Chocolatey/elevatedUninstall.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$productName = "ServiceControl";
2-
$version = "MajorMinorPatch";
2+
$version = "{{ReleaseName}}";
33

44
$app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -like "*$productName*" -and ($_.Version -eq "$version") }
55
if($app -eq $null)

0 commit comments

Comments
 (0)