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.
1 parent 7bef883 commit 2c933bcCopy full SHA for 2c933bc
.github/scripts/uninstall-dotnet-windows.ps1
@@ -5,8 +5,9 @@ $url = $asset.browser_download_url
5
Invoke-WebRequest -Uri $url -OutFile $(Split-Path $url -Leaf)
6
7
# Prepare uninstall tool
8
-msiexec.exe /A dotnet-core-uninstall.msi TARGETDIR=$pwd /QN /L*V log.txt
9
-$uninstallToolPath = Join-Path $pwd "dotnet-core-uninstall\dotnet-core-uninstall.exe"
+$extractPath = Join-Path $pwd "dotnet-core-uninstall" # needs to be a new path
+msiexec.exe /A dotnet-core-uninstall.msi TARGETDIR=$msiPath /QN /L*V log.txt
10
+$uninstallToolPath = Join-Path $extractPath "dotnet-core-uninstall" "dotnet-core-uninstall.exe"
11
12
# Perform uninstall
13
& $uninstallToolPath remove --all
0 commit comments