From 9c98b562e06fa32f9db195604dd341112f699193 Mon Sep 17 00:00:00 2001 From: Renaud Paquay Date: Tue, 28 May 2019 10:57:28 -0700 Subject: [PATCH] Add helper bat files for 2019 vsix (de)registration --- VsixInstall/install_vs2019_community_debug.bat | 5 +++++ VsixInstall/install_vs2019_community_release.bat | 5 +++++ VsixInstall/install_vs2019_pro_debug.bat | 5 +++++ VsixInstall/install_vs2019_pro_release.bat | 5 +++++ VsixInstall/install_vsix_helper.bat | 2 ++ 5 files changed, 22 insertions(+) create mode 100644 VsixInstall/install_vs2019_community_debug.bat create mode 100644 VsixInstall/install_vs2019_community_release.bat create mode 100644 VsixInstall/install_vs2019_pro_debug.bat create mode 100644 VsixInstall/install_vs2019_pro_release.bat diff --git a/VsixInstall/install_vs2019_community_debug.bat b/VsixInstall/install_vs2019_community_debug.bat new file mode 100644 index 00000000..888a0c78 --- /dev/null +++ b/VsixInstall/install_vs2019_community_debug.bat @@ -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 diff --git a/VsixInstall/install_vs2019_community_release.bat b/VsixInstall/install_vs2019_community_release.bat new file mode 100644 index 00000000..7835d629 --- /dev/null +++ b/VsixInstall/install_vs2019_community_release.bat @@ -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 diff --git a/VsixInstall/install_vs2019_pro_debug.bat b/VsixInstall/install_vs2019_pro_debug.bat new file mode 100644 index 00000000..19720cd6 --- /dev/null +++ b/VsixInstall/install_vs2019_pro_debug.bat @@ -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 diff --git a/VsixInstall/install_vs2019_pro_release.bat b/VsixInstall/install_vs2019_pro_release.bat new file mode 100644 index 00000000..b91c016b --- /dev/null +++ b/VsixInstall/install_vs2019_pro_release.bat @@ -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 diff --git a/VsixInstall/install_vsix_helper.bat b/VsixInstall/install_vsix_helper.bat index a6d3c003..3515b6dc 100644 --- a/VsixInstall/install_vsix_helper.bat +++ b/VsixInstall/install_vsix_helper.bat @@ -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 @@ -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