We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f37e18 + 8378929 commit 25f51e7Copy full SHA for 25f51e7
src/Chocolatey/elevatedUninstall.ps1
@@ -1,5 +1,5 @@
1
$productName = "ServiceControl";
2
-$version = "MajorMinorPatch";
+$version = "{{ReleaseName}}";
3
4
$app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -like "*$productName*" -and ($_.Version -eq "$version") }
5
if($app -eq $null)
0 commit comments