Added existing scripts

This commit is contained in:
2018-11-26 21:47:57 +01:00
parent af5243b367
commit 45551cd1b0
5 changed files with 123 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
@echo off
REM Version: 1.0
REM Revit server installer script for exobim
REM Usage run this after download
REM Created by Peter Gyetvai: gyetpet@gmail.com with the help of the internet
SET SERVERPATH=exobim.asuscomm.com
SET FOLDER2018=%programdata%\Autodesk\Revit Server 2018
SET FOLDER2019=%programdata%\Autodesk\Revit Server 2019
SET INI2018=%FOLDER2018%\Config\RSN.ini
SET INI2019=%FOLDER2019%\Config\RSN.ini
echo You have to restart Revit after running this script, or modifying your RSN.ini file
echo This script will add the following path to your RSN.ini:
echo %SERVERPATH%
echo ---
if exist "%FOLDER2018%" (
echo Revit 2018 installed
if exist "%INI2018%" (
echo RSN.ini exists, skipping
echo Modify your RSN.ini here:
echo "%INI2018%"
SET OK2018=no
) else (
echo Creating RSN.ini
echo %SERVERPATH% > "%INI2018%"
SET OK2018=ok
)
) else (
echo Revit 2018 not installed, skipping
)
echo ---
if exist "%FOLDER2019%" (
echo Revit 2019 installed
if exist "%INI2019%" (
echo RSN.ini exists, skipping
echo Modify your RSN.ini here:
echo "%INI2019%"
SET OK2019=no
) else (
echo Creating RSN.ini
echo %SERVERPATH% > "%INI2019%"
SET OK2019=pl
)
) else (
echo Revit 2019 not installed, skipping
)
echo ---
if %OK2018% EQU ok echo Successfully set up Revit 2018
if %OK2019% EQU ok echo Successfully set up Revit 2019
echo ---
pause