[comp.sys.atari.st] "Install Application"

glens@natinst.com (Glen Sescila) (05/07/91)

	Is it good practice to Install one application for many different
file extensions ? (such as a text editor for .c .s .doc .txt)
	Also, can you Install a new application for an extension that is
already used for a different application to "deinstall" the old one ?
	And finally is there any limit to the number of applications you
can have installed ?

					Thanks.

ekrimen@ecst.csuchico.edu (Ed Krimen) (05/07/91)

In article <22871@natinst.natinst.com> glens@natinst.com (Glen Sescila) writes:
>
>	Is it good practice to Install one application for many different
>file extensions ? (such as a text editor for .c .s .doc .txt)

I do it with NeoDesk, and I'm sure the normal desktop will allow it as well.
On the desktop though, you'll have to edit the DESKTOP.INF manually in 
a text editor.  I recommend installing one application, then loading the
DESKTOP.INF file into a text editor, and copying the format it uses, but
using a different extender.  Gee, I might as well just show you here.  The
following is a sample of the end of a DESKTOP.INF file:

#G 03 04   C:\EDITOR\EDITOR.PRG@ *.S@ 
#G 03 04   C:\EDITOR\EDITOR.PRG@ *.C@ 
#G 03 04   C:\EDITOR\EDITOR.PRG@ *.DOC@
#G 03 04   C:\EDITOR\EDITOR.PRG@ *.TXT@ 
 
Therefore, whenever you doubleclick on a .S, .C, .DOC, or .TXT file,
the program EDITOR will load and hopefully load the document as well, if
the program is written to accomodate that feature.

Hmmm, you just wanted to know if it's good practice to use multiple
file extensions.  I guess so. :^) 

e	Also, can you Install a new application for an extension that is
>already used for a different application to "deinstall" the old one ?

Not sure.  Depending on how DESKTOP.INF is read, the old application
may be ignored or the new one may be ignored.  In both cases, however,
the application and its extension will still be left in DESKTOP.INF as
I don't think the desktop deletes unused applications.  You will have 
two programs looking for .S for example.  I still recommend editing
the DESKTOP.INF if you want to change anything.  It's a little more
hassle, but it insures that everything will work the way you want it to.


>	And finally is there any limit to the number of applications you
>can have installed ?

I think there is, but I don't know the number.


-- 
   |||   Ed Krimen [ekrimen@ecst.csuchico.edu or al661@cleveland.freenet.edu]
   |||   Video Production Major, California State University, Chico
  / | \  SysOp, Fuji BBS: 916-894-1261