[comp.sys.dec] How are Pro-350 system files organized?

chaim@eniac.seas.upenn.edu (Chaim Dworkin) (12/05/90)

Greetings Pro-350 experts....

Recently I was given a Pro-350 with lots of software installed on the
hard disk.  I was also given some original commercial diskettes by
an office which was junking it all.  I'd like to copy the software
off the Pro-350 and onto my Pro-380.  The easy way would be to simply
backup the software from the 350 and restore to the 380.  But I don't
do things the easy way; what I want to do is re-create the distribution
diskettes so that they can be installed by using the install utility.

I'm trying to make sense of how applications are installed on the 
hard disk and how they are installed on distribution diskettes.  
I have a bunch of subdirectories labeled ZZAP000xx where the xx is
a number from 01 to 20.  In each subdirectory is a file called
ZZAP00xx.INS which is a text file that appears to be a script for
installation.  For the easier programs I simply copied all the files
in the subdir to a subdir on the diskette named ZZAPPL and renamed
the .INS file ZZAPPL.INS.

Now I am getting to the more complex installation files and I'm not sure
what to do.  Below is a sample .INS file which I need help on.

-------------------------------
!Installation file for EDT as a P/OS application
NAME "EDT text editor, V3.00-14"
FILE [ZZPROEDT]EDT.TSK/DELETE
FILE [001002]EDTHELP.HLP/DELETE
FILE [001002]EDTSYS.EDT/DELETE
Install [ZZSYS]FCSRES.TSK/Library
Install [ZZPROEDT]EDT.TSK/TASK
Run EDT
-------------------------------

So, on my home-made distribution disks do I need to create subdirectories
named [ZZPROEDT], [001002], [ZZSYS], and [ZZPROEDT] and copy those files
specified into those subdirectories?  Or do I still put all the files into
a subdir called ZZAPPL and let the Pro install them into those subdirectories
on the hard disk?  The installation file appears to delete pre-existing files
called EDTHELP.HLP and EDTSYS.EDT yet does not replace them when replacing 
them, how do they get copied back to the hard disk?  If I create those
four subdirectories on my floppy then which subdir gets the .INS file?

I have a friend who has the toolkit documentation, something like 12 volumes.
Does anyone know if there is a discussion of this topic there?  Can someone
point me to it?  There is no mention of how tasks are set up in the P/OS 3.1
docs as far as I can tell.

Thanks a lot.

Chaim

--
Chaim Dworkin                             (chaim@eniac.seas.upenn.edu)

scooper@max4.llnl.gov (Steve Cooper) (12/06/90)

>Recently I was given a Pro-350 with lots of software installed on the
>hard disk.  I was also given some original commercial diskettes by
>an office which was junking it all.  I'd like to copy the software
>off the Pro-350 and onto my Pro-380.  The easy way would be to simply
>backup the software from the 350 and restore to the 380.  But I don't
>do things the easy way; what I want to do is re-create the distribution
>diskettes so that they can be installed by using the install utility.

This is a good choice.  Using the Install facility ensures that the system
file that points to the installed applications gets updated correctly.  If
I remember right, it is not a simple text file.

>Now I am getting to the more complex installation files and I'm not sure
>what to do.  Below is a sample .INS file which I need help on.
>
>-------------------------------
>!Installation file for EDT as a P/OS application
>NAME "EDT text editor, V3.00-14"
>FILE [ZZPROEDT]EDT.TSK/DELETE
>FILE [001002]EDTHELP.HLP/DELETE
>FILE [001002]EDTSYS.EDT/DELETE
>Install [ZZSYS]FCSRES.TSK/Library
>Install [ZZPROEDT]EDT.TSK/TASK
>Run EDT
>-------------------------------
>
>So, on my home-made distribution disks do I need to create subdirectories
>named [ZZPROEDT], [001002], [ZZSYS], and [ZZPROEDT] and copy those files
>specified into those subdirectories?

Yes you do.  The FILE lines list the files for installation and the directories
where they are found on the installation diskette as well as the destination
on the hard disk.  The /DELETE means to delete the file on removal of the
application via the Install facility.  If there is no directory specified,
the file goes in the same directory as the .INS file on the installation
diskette.  The INSTALL and RUN lines are used on application startup.

>I have a friend who has the toolkit documentation, something like 12 volumes.
>Does anyone know if there is a discussion of this topic there?

The information is there somewhere.  Look for the section which describes
how to build applications.  It may be the toolkit reference volume.

Good luck and have fun.

--
---------------------------------------+--------------------------------
Stephen P. Cooper                      | scooper@aracmax1.llnl.gov (now)
who works at but does not represent    | cooper10@llnl.gov (soon)
Lawrence Livermore National Laboratory |