OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: christech on November 09, 2023, 09:55:51 pm

Title: HyperAccess 7
Post by: christech on November 09, 2023, 09:55:51 pm
I bought a copy of HyperAccess 7 for OS/2 from eBay. When I go to install it it can't complete the installation saying that it can't write a file to a temporary directory.

"Setup is unable to copy the installation support file A:\~INS0762.LIB to a temporary location.Error 420."

The file is on the floppy. It looks like Setup.CMD is searching for a temp directory. Any thoughts on how to complete the installation?

Title: Re: HyperAccess 7
Post by: christech on November 09, 2023, 09:57:39 pm
Code: [Select]
/* Setup.cmd */

/*  $Revision: 1.10 $  */
/*  $Date: 1996/07/02 14:58:52 $ */

PARSE ARG arg1

/* Load RexxUtil functions if not loaded */
WeLoadedRxFnc=0
if rxfuncquery('SysLoadFuncs') <> 0 then
do
    /* Load RexxUtil functions */
    call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
    call SysLoadFuncs
    WeLoadedRxFnc=1
end

/* Clear screen */
rv = SysCls()

/*Check for setup.cmd */
rc = SysFileTree("setup.cmd", stem, 'O')
IF stem.0 = 0 THEN
SIGNAL err
say ' '
say ' '
say 'Loading...'
say ' '
say ' '

/* How much space is needed */
required = 100000

/* Get TMP environment variable */
tempvar = VALUE('TMP',,'OS2ENVIRONMENT')
IF tempvar = ' ' THEN
DO
tempvar = SysSearchPath('PATH', os2.ini)
tempvar = left(tempvar, 3)
flag = 1
END

/* Get the OS/2 boot drive */
PARSE VALUE tempvar WITH drive':'path
drive = drive || ':'

/* Get available drive space */
drivestring = SysDriveInfo(drive)
PARSE VALUE drivestring WITH,
drive_name,
drive_free,
drive_used,
drive_vol

/* Check if enough disk space */
IF drive_free < required THEN
DO
say ' '
say ' '
say ' '
say 'ERROR:  Not enough free space for temporary setup files.'
say ' '
say 'Setup requires ' || required || ' bytes for temporary setup files'
say 'and found ' || drive_free || ' bytes available. Please free up some '
say 'additional disk space on drive ' || drive || ', or point the TMP '
say 'environment variable in your CONFIG.SYS file to a drive '
say 'with more space and then reboot.'
say ' '
say 'Once the problem has been corrected run SETUP again.'
SIGNAL Cleanup
END
ELSE
DO
'@echo off'
Commandline = "setup2.exe"
IF arg1 = ' ' THEN
NOP
ELSE
Commandline = Commandline 'y' arg1
Commandline
szFileSpec = tempvar || '\hasetup.hlp'

/* Wait until hasetup.hlp is deleted by InstallSheild */
DO Forever
rc = SysSleep(1)
rc = SysFileTree(szFileSpec, 'stem')
if stem.0 = 0 THEN
LEAVE
END

Delete:
rc = SysSleep(10)
if flag <> 1 THEN
DO
Commandline = 'del' tempvar || '\~ins0363.~mp'
Commandline
Commandline = 'del' tempvar || '\~ins0463.~mp'
Commandline
Commandline = 'del' tempvar || '\setup.dll'
Commandline
Commandline = 'del' tempvar || '\install.log'
Commandline
Commandline = 'del' tempvar || '\~ins0163.~mp'
Commandline
END
rv = SysCls()
signal cleanup

END

Err:
/* if not in installation directory */
rc = SysCls()
say ' '
say ' '
say ' '
say ' '
SAY 'Please log onto the drive that contains the HyperACCESS for OS/2'
say 'installation files and type SETUP'
SAY ' '
SIGNAL Cleanup

Cleanup:
  /* if we loaded the REXX Utility Package drop it */
if WeLoadedRxFnc = 1 then 
  call SysDropFuncs

EXIT

Title: Re: HyperAccess 7
Post by: Olafur Gunnlaugsson on November 09, 2023, 10:34:45 pm
Ar you sure the sectors containing the library file are good?

Try downloading https://winworldpc.com/product/hyperaccess%20/7x and see if you get the same error.
Title: Re: HyperAccess 7
Post by: christech on November 09, 2023, 10:54:21 pm
I did. I wrote it out to a floppy.
Title: Re: HyperAccess 7
Post by: Tom on November 09, 2023, 11:57:52 pm
"Setup is unable to copy the installation support file A:\~INS0762.LIB to a temporary location.Error 420."

(snip)

tempvar = VALUE('TMP',,'OS2ENVIRONMENT')

This suggests to me that it is looking for a temporary location that is to be found in the TMP environment variable. Maybe there is no TMP environment variable but instead a TEMP environment variable?
Title: Re: HyperAccess 7
Post by: Dave Yeo on November 10, 2023, 12:45:15 am
There should be a set TMP=x:\var\temp in a stock AOS install.
Try doing "set TMP" without the quotes on a cmd line to see if and where set, and also make sure your  drive didn't fill up
Title: Re: HyperAccess 7
Post by: christech on November 10, 2023, 12:51:53 am
Right now my setup in Config.sys is:

SET TMP=C:\var\temp
SET TEMP=C:\var\temp
SET TMPDIR=C:\var\temp


I have about 20GB free on the drive.
Title: Re: HyperAccess 7
Post by: christech on November 10, 2023, 12:56:25 am
If I boot to my old ArcaOS 5.1 install I can run the installer. Strange.
Title: Re: HyperAccess 7
Post by: christech on November 15, 2023, 05:27:06 pm
I created an OS/2 Warp 4 VM last night.. going to make disk imgs and try to install on the VM. That was fun.. haven't used OS/2 in quite a long time.
Title: Re: HyperAccess 7
Post by: Pete on November 15, 2023, 07:38:51 pm
Hi cristech

Looks like the install fails as the installer finds a lack of disk space - How much does it report in the install failed message?


Regards

Pete


Title: Re: HyperAccess 7
Post by: christech on November 15, 2023, 07:53:18 pm
It doesn't say.. I tried altering the installer cmd file for less space and it still didn't work. I'm hoping with my OS/2 W4 VM it will work - 2GB HPFS partition.
Title: Re: HyperAccess 7
Post by: David Graser on November 16, 2023, 03:12:24 pm
I have not used a floppy drive in years, but I believe I have seen this error message before. If I remember correctly, it needs the temporary folders to be on Drive C.
Title: Re: HyperAccess 7
Post by: christech on November 17, 2023, 10:13:02 pm
I made some disk images and it installed just fine on my Warp 4.5 VM. How can I copy desktop objects the best way? I had some issues in the past copying them, perhaps it was because I was going from a C: to a D: drive and the links to the objects in the folder were broken?
Title: Re: HyperAccess 7
Post by: christech on November 17, 2023, 10:38:23 pm
There should be a set TMP=x:\var\temp in a stock AOS install.
Try doing "set TMP" without the quotes on a cmd line to see if and where set, and also make sure your  drive didn't fill up

This was on a stock Warp 4.5 install. My ArcaOS TMP/TEMP/TMPDIR were all set to C:\var\tmp
Code: [Select]
[C:\] set tmp
TMP=(null)
Title: Re: HyperAccess 7
Post by: christech on November 17, 2023, 10:41:13 pm
The installer created a hidden folder called "Nowhere" with the files needed for installation.

Code: [Select]
C:\attrib nowhere

   D SH

Checked my ArcaOS machine and it also has the 'Nowhere' directory.
Title: Re: HyperAccess 7
Post by: Tom on November 17, 2023, 11:26:22 pm
Code: [Select]
[C:\] set tmp
TMP=(null)

Hm, if "set tmp" returns (null)  like you write, then there exists no environment variable TMP.
Title: Re: HyperAccess 7
Post by: Dave Yeo on November 18, 2023, 12:01:33 am
The installer created a hidden folder called "Nowhere" with the files needed for installation.

Code: [Select]
C:\attrib nowhere

   D SH

Checked my ArcaOS machine and it also has the 'Nowhere' directory.

It's normal to have a "Nowhere" directory, IIRC, the WPS uses it
Title: Re: HyperAccess 7
Post by: christech on November 18, 2023, 12:42:07 am
Code: [Select]
[C:\] set tmp
TMP=(null)

Hm, if "set tmp" returns (null)  like you write, then there exists no environment variable TMP.

That was on a freshly installed Warp 4.5 machine.
Title: Re: HyperAccess 7
Post by: Sean Casey on January 11, 2025, 10:38:34 pm
I have about 20GB free on the drive.

I know this thread is over a year old...

The Error 420 is likely due to your temp directory, as configured within config.sys, pointing to a partition having over 2GB storage space.  This was often seen in the older OS/2 installation programs that used InstallShield.   

Change the temp directory to point to a smaller partition that does not exceed 2GB in size.