From f5851e331ebf405acfce03264085da253573b73b Mon Sep 17 00:00:00 2001 From: infeeeee Date: Mon, 3 Dec 2018 16:30:13 +0100 Subject: [PATCH] Added 2017 to serverinstaller --- exobim-revitServerInstaller.bat | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/exobim-revitServerInstaller.bat b/exobim-revitServerInstaller.bat index 53cb53f..4085deb 100644 --- a/exobim-revitServerInstaller.bat +++ b/exobim-revitServerInstaller.bat @@ -4,10 +4,12 @@ REM Revit server installer script for exobim REM Usage: run this after download. it's possible that you have to run it as admin. REM Created by Peter Gyetvai: gyetpet@gmail.com with the help of the internet -SET SERVERPATH=myoffice.com +SET SERVERPATH=exobim.asuscomm.com +SET FOLDER2017=%programdata%\Autodesk\Revit Server 2017 SET FOLDER2018=%programdata%\Autodesk\Revit Server 2018 SET FOLDER2019=%programdata%\Autodesk\Revit Server 2019 +SET INI2017=%FOLDER2017%\Config\RSN.ini SET INI2018=%FOLDER2018%\Config\RSN.ini SET INI2019=%FOLDER2019%\Config\RSN.ini @@ -16,6 +18,24 @@ echo This script will add the following path to your RSN.ini: echo %SERVERPATH% echo --- +if exist "%FOLDER2017%" ( + echo Revit 2017 installed + if exist "%INI2017%" ( + echo RSN.ini exists, skipping + echo Modify your RSN.ini here: + echo "%INI2017%" + SET OK2017=no + ) else ( + echo Creating RSN.ini + echo %SERVERPATH% > "%INI2017%" + SET OK2017=ok + ) +) else ( + echo Revit 2017 not installed, skipping +) +echo --- + + if exist "%FOLDER2018%" ( echo Revit 2018 installed if exist "%INI2018%" ( @@ -49,6 +69,7 @@ if exist "%FOLDER2019%" ( echo Revit 2019 not installed, skipping ) echo --- +if %OK2017% EQU ok echo Successfully set up Revit 2017 if %OK2018% EQU ok echo Successfully set up Revit 2018 if %OK2019% EQU ok echo Successfully set up Revit 2019 echo ---