Skip to content

Commit

Permalink
Add helper bat files for 2019 vsix (de)registration
Browse files Browse the repository at this point in the history
  • Loading branch information
rpaquay committed May 28, 2019
1 parent 7122104 commit 9c98b56
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions VsixInstall/install_vs2019_community_debug.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
REM Copyright 2013 The Chromium Authors. All rights reserved.
REM Use of this source code is governed by a BSD-style license that can be
REM found in the LICENSE file.

call install_vsix_helper.bat Debug Community 16.0
5 changes: 5 additions & 0 deletions VsixInstall/install_vs2019_community_release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
REM Copyright 2015 The Chromium Authors. All rights reserved.
REM Use of this source code is governed by a BSD-style license that can be
REM found in the LICENSE file.

call install_vsix_helper.bat Release Community 16.0
5 changes: 5 additions & 0 deletions VsixInstall/install_vs2019_pro_debug.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
REM Copyright 2013 The Chromium Authors. All rights reserved.
REM Use of this source code is governed by a BSD-style license that can be
REM found in the LICENSE file.

call install_vsix_helper.bat Debug Pro 16.0
5 changes: 5 additions & 0 deletions VsixInstall/install_vs2019_pro_release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
REM Copyright 2015 The Chromium Authors. All rights reserved.
REM Use of this source code is governed by a BSD-style license that can be
REM found in the LICENSE file.

call install_vsix_helper.bat Release Pro 16.0
2 changes: 2 additions & 0 deletions VsixInstall/install_vsix_helper.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ set VSIX_INSTALLER_PATH_2012=C:\Program Files (x86)\Microsoft Visual Studio 11.0
set VSIX_INSTALLER_PATH_2013=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE
set VSIX_INSTALLER_PATH_2015=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
set VSIX_INSTALLER_PATH_2017=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE
set VSIX_INSTALLER_PATH_2019=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE
set VSIX_INSTALLER_NAME=VSIXInstaller.exe

REM Order is important: Last (i.e. newer) one wins
Expand All @@ -20,6 +21,7 @@ if exist "%VSIX_INSTALLER_PATH_2012%\%VSIX_INSTALLER_NAME%" set VSIX_INSTALLER=%
if exist "%VSIX_INSTALLER_PATH_2013%\%VSIX_INSTALLER_NAME%" set VSIX_INSTALLER=%VSIX_INSTALLER_PATH_2013%\%VSIX_INSTALLER_NAME%
if exist "%VSIX_INSTALLER_PATH_2015%\%VSIX_INSTALLER_NAME%" set VSIX_INSTALLER=%VSIX_INSTALLER_PATH_2015%\%VSIX_INSTALLER_NAME%
if exist "%VSIX_INSTALLER_PATH_2017%\%VSIX_INSTALLER_NAME%" set VSIX_INSTALLER=%VSIX_INSTALLER_PATH_2017%\%VSIX_INSTALLER_NAME%
if exist "%VSIX_INSTALLER_PATH_2019%\%VSIX_INSTALLER_NAME%" set VSIX_INSTALLER=%VSIX_INSTALLER_PATH_2019%\%VSIX_INSTALLER_NAME%

if "%VSIX_INSTALLER%"=="" goto installer_not_found

Expand Down

0 comments on commit 9c98b56

Please sign in to comment.