File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 9393 run : |
9494 Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser
9595 $ProgressPreference = 'SilentlyContinue'
96+ $keyPath = "HKLM:\SOFTWARE\Microsoft\Service Fabric SDK"
97+ if (Test-Path $keyPath) {
98+ Remove-Item -Path $keyPath -Force
99+ Write-Output "Registry key removed: $keyPath"
100+ } else {
101+ Write-Output "Registry key not found: $keyPath"
102+ }
103+
96104 Invoke-RestMethod -OutFile setup.exe -Method GET -Uri https://download.microsoft.com/download/b/8/a/b8a2fb98-0ec1-41e5-be98-9d8b5abf7856/MicrosoftServiceFabric.11.0.2707.1.exe
97105 #.\setup.exe /accepteula /force /quiet
98106 Start-Process setup.exe -UseNewEnvironment -ArgumentList '/accepteula /force /quiet' -Wait
You can’t perform that action at this time.
0 commit comments