Skip to content

Commit

Permalink
updated for Viual Studio 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremytammik committed Aug 29, 2019
1 parent 715cacb commit 5cf2021
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5cf2021

Please sign in to comment.