Added 2017 to serverinstaller
This commit is contained in:
@@ -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 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
|
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 FOLDER2018=%programdata%\Autodesk\Revit Server 2018
|
||||||
SET FOLDER2019=%programdata%\Autodesk\Revit Server 2019
|
SET FOLDER2019=%programdata%\Autodesk\Revit Server 2019
|
||||||
|
SET INI2017=%FOLDER2017%\Config\RSN.ini
|
||||||
SET INI2018=%FOLDER2018%\Config\RSN.ini
|
SET INI2018=%FOLDER2018%\Config\RSN.ini
|
||||||
SET INI2019=%FOLDER2019%\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 %SERVERPATH%
|
||||||
echo ---
|
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%" (
|
if exist "%FOLDER2018%" (
|
||||||
echo Revit 2018 installed
|
echo Revit 2018 installed
|
||||||
if exist "%INI2018%" (
|
if exist "%INI2018%" (
|
||||||
@@ -49,6 +69,7 @@ if exist "%FOLDER2019%" (
|
|||||||
echo Revit 2019 not installed, skipping
|
echo Revit 2019 not installed, skipping
|
||||||
)
|
)
|
||||||
echo ---
|
echo ---
|
||||||
|
if %OK2017% EQU ok echo Successfully set up Revit 2017
|
||||||
if %OK2018% EQU ok echo Successfully set up Revit 2018
|
if %OK2018% EQU ok echo Successfully set up Revit 2018
|
||||||
if %OK2019% EQU ok echo Successfully set up Revit 2019
|
if %OK2019% EQU ok echo Successfully set up Revit 2019
|
||||||
echo ---
|
echo ---
|
||||||
|
|||||||
Reference in New Issue
Block a user