home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 30 fixes_v
/
30-fixes_v.zip
/
gu320358.zip
/
updinst.cmd
< prev
Wrap
OS/2 REXX Batch file
|
2000-12-24
|
2KB
|
42 lines
/* REXX - Install GU320358.CSD */
/* Created by: [CSDBuild, V2.03 - 24/12/00 - (C) Chris Graham - WarpSpeed Computers] */
'@echo off'
say '===================================================='
say 'Installing CSD file for 32 bit Intel applications '
say '===================================================='
GUEnv = Value( 'GU',,'OS2ENVIRONMENT' )
if ( GUEnv <> '' ) then do
'Copy GU320358.CSD' GUEnv
FileSpec( 'Drive', GUEnv )
'CD' GUEnv
end
else do
Beep( 750, 200 )
Beep( 750, 200 )
Beep( 750, 200 )
Beep( 550, 900 )
'echo The GU Environment Variable is not set. Please set > ERROR'
'echo it and try again. You may need to set the environment >> ERROR'
'echo variable in CONFIG.SYS and reboot. >> ERROR'
'echo It should be of the form: >> ERROR'
'echo SET GU=C:\GU20 >> ERROR'
'echo This is the setting for the default installation. >> ERROR'
'START e ERROR'
exit -1
end
say 'Spawning: "START /C CSDINST GU320358.CSD > GU320358.LOG"'
say 'Check GU320358.LOG for results'
say '===================================================='
'START /C CSDINST GU320358.CSD > GU320358.LOG'
if (rc <> 0) then do
say 'An error has occurred while installing this CSD.'
say 'The return code reported is: '||rc
say 'Check for any special instructions in the new-info.txt file'
say 'and retry install.'
say '===================================================='
end
else do
say 'The CSD has installed sucessfully.'
say '===================================================='
end