windows-updates-20010819
[openafs.git] / src / WINNT / install / InstallShield5 / CompileScript.bat
1 @echo off
2 rem Copyright 2000, International Business Machines Corporation and others.
3 rem All Rights Reserved.
4 rem 
5 rem This software has been released under the terms of the IBM Public
6 rem License.  For details, see the LICENSE file in the top-level source
7 rem directory or online at http://www.openafs.org/dl/license10.html
8
9 rem This file runs the IS5 command line compiler to compile the setup script.
10
11 echo.
12 echo Compiling the setup script...
13 echo.
14 echo NOTE:  Ignore "Function defined but never called" warnings
15 echo.
16
17 Set SavePath=%Path%
18
19 Path %IS5ROOT%\Program;%PATH%
20
21 Compile -I%IS5ROOT%\Include "Script Files\setup.rul"
22
23 If errorlevel 1 goto CompilerErrorOccurred
24
25 rem Skip over the error handling and exit
26   Goto Done
27
28 rem Report the compiler error then exit
29 :CompilerErrorOccurred
30   Echo Error on compile; media not built. 
31   Goto Done
32
33 :Done
34 rem Restore the search path
35   Path=%SavePath%
36   Set SavePath=
37