Skip to content

Commit 7ee6205

Browse files
VladD2VladD2
authored andcommitted
IDE Added batch file to uninstall vsixs
1 parent ce306f4 commit 7ee6205

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Ide/uninstall-vsixs.cmd

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
@echo off
2+
title BuildBoot
3+
4+
SET MSBUILDENABLEALLPROPERTYFUNCTIONS=1
5+
setlocal ENABLEEXTENSIONS
6+
set KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\SxS\VS7"
7+
set VALUE_NAME=15.0
8+
9+
for /f "tokens=3" %%a in ('reg query %KEY_NAME% /V %VALUE_NAME% ^|findstr /ri "REG_SZ"') DO set Value=%%a
10+
11+
if defined Value (
12+
"%Value%Common7\IDE\VSIXInstaller.exe" /u:TdlLangVsPackage
13+
"%Value%Common7\IDE\VSIXInstaller.exe" /u:NitraCSharpVsPackage
14+
"%Value%Common7\IDE\VSIXInstaller.exe" /u:NitraLangVsPackage
15+
"%Value%Common7\IDE\VSIXInstaller.exe" /u:NitraCommonVSIX
16+
17+
) else (
18+
@echo %KEY_NAME%\%VALUE_NAME% not found.
19+
)
20+
21+
pause
22+

0 commit comments

Comments
 (0)