From 5cf2021793a8a93234843a986f65de6ff35918c4 Mon Sep 17 00:00:00 2001 From: Jeremy Tammik Date: Thu, 29 Aug 2019 11:51:50 +0200 Subject: [PATCH] updated for Viual Studio 2017 --- install.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.bat b/install.bat index 26d9605..9fca146 100644 --- a/install.bat +++ b/install.bat @@ -6,13 +6,13 @@ if exist vb (goto okvb) else (echo "No vb folder found." && goto exit) :okvb if [%1]==[] ( - set "D=%userprofile%\Documents\Visual Studio 2019\Templates\ProjectTemplates" - if not exist "%D%" ( set "D=%userprofile%\Documents\Visual Studio 2017\Templates\ProjectTemplates" ) - if not exist "%D%" (set "D=%userprofile%\Documents\Visual Studio 2015\Templates\ProjectTemplates" ) + echo Please specify Visual Studio version, e.g., 2017 + goto exit ) else ( echo Using version %1 set "D=%userprofile%\Documents\Visual Studio %1\Templates\ProjectTemplates" ) + set "F=%TEMP%\Revit2020AddinWizardCs0.zip" echo Creating C# wizard archive %F%... cd cs