home *** CD-ROM | disk | FTP | other *** search
- /* rexx */
- /************************************************************************/
- /*trace ?i*/
- call RxFuncAdd 'RexxInstSetVariable', 'WPINSTAL', 'RexxInstSetVariable'
- call RxFuncAdd 'RexxInstDeselect', 'WPINSTAL', 'RexxInstDeselect'
- call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'sysLoadFuncs'
- call SysLoadFuncs
-
- parse arg objectid
-
- path = sysIni(,'Netscape','2.02')
- if c2d(right(path,1)) = 0 then do
- path=substr(path,1,length(path)-1)
- end
-
- if path == 'ERROR:' then do
- call RexxInstDeSelect objectid,"NSFiles"
- end
- else do
- path = insert('\java11',path,length(path))
- fullpath = stream(path||"\SYSLEVEL.JEP","C","Query Exists")
- if fullpath = '' then do
- call RexxInstDeSelect objectid,"NSFiles"
- end
- else do
- newpath=SysTempFileName(path'\javabk?',?)
- call SysMkDir(newpath)
- 'copy 'path'\*.*' newpath
- call RexxInstSetVariable objectid,"Java11", "NSDRV", path
- end
- end
-
- exit 0
-
-