3
echo Installing to %COINDIR%
5
if not "%COINDIR%"=="" goto coindirset
6
echo The COINDIR environment variable must be set to point to a directory
7
echo to be able to perform the installation procedure.
10
if exist %COINDIR%\*.* goto coindirexists
11
echo The COINDIR environment variable must point to an existing directory
12
echo to be able to perform the installation procedure.
18
REM **********************************************************************
19
REM * Create all the directories for the installed files
21
if exist bin\*.* goto binexists
22
echo mkdir %COINDIR%\bin
25
if exist data\*.* goto dataexists
26
echo mkdir %COINDIR%\data
30
if exist draggerDefaults\*.* goto draggerdefaultsexists
31
echo mkdir %COINDIR%\data\draggerDefaults
33
:draggerdefaultsexists
35
if exist lib\*.* goto libexists
36
echo mkdir %COINDIR%\lib
39
if exist include\*.* goto includeexists
40
echo mkdir %COINDIR%\include
44
if exist Inventor\*.* goto inventorexists
45
echo mkdir %COINDIR%\include\Inventor
49
if exist Qt\*.* goto qtexists
50
echo mkdir %COINDIR%\include\Inventor\Qt
54
if exist common\*.* goto qtcommonexists
55
echo mkdir %COINDIR%\include\Inventor\Qt\common
58
if exist devices\*.* goto qtdevicesexists
59
echo mkdir %COINDIR%\include\Inventor\Qt\devices
62
if exist editors\*.* goto qteditorsexists
63
echo mkdir %COINDIR%\include\Inventor\Qt\editors
66
if exist engines\*.* goto qtenginesexists
67
echo mkdir %COINDIR%\include\Inventor\Qt\engines
70
if exist nodes\*.* goto qtnodesexists
71
echo mkdir %COINDIR%\include\Inventor\Qt\nodes
74
if exist viewers\*.* goto qtviewersexists
75
echo mkdir %COINDIR%\include\Inventor\Qt\viewers
78
if exist widgets\*.* goto qtwidgetsexists
79
echo mkdir %COINDIR%\include\Inventor\Qt\widgets
85
REM **********************************************************************
88
echo Installing header files...
89
call install-headers.bat
91
echo Installing binaries...
92
xcopy soqt1.dll %COINDIR%\bin\ /R /Y
93
xcopy Release\soqt1.lib %COINDIR%\lib\ /R /Y