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 6447ff0 commit bc1aae2Copy full SHA for bc1aae2
scripts/WindowsTemplateStudio.ps1
@@ -15,11 +15,11 @@ $wtsVsix = [System.IO.Path]::GetFileName($wtsFileUrl.source)
15
$desktopPath = Resolve-Path $env:USERPROFILE\desktop
16
$wtsFullPath = [System.IO.Path]::Combine($desktopPath, $wtsVsix);
17
18
-Invoke-WebRequest -Uri $wtsFileUrl.source -OutFile `"$wtsVsix`"
+Invoke-WebRequest -Uri $wtsFileUrl.source -OutFile $wtsFullPath
19
20
$vsixInstallerFile = Get-Childitem -Include vsixinstaller.exe -Recurse -Path "C:\Program Files (x86)\Microsoft Visual Studio\2017\"
21
$wtsArgList = $wtsFullPath + " /q"
22
23
$vsixInstallerResult = Start-Process -FilePath $vsixInstallerFile.FullName -ArgumentList `"$wtsArgList`" -Wait -PassThru;
24
25
-Remove-Item $wtsVsix
+Remove-Item $wtsFullPath
0 commit comments