www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/07/14:30:30

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Installation Problem?
Date: Mon, 07 May 2001 18:27:40 +0100
Lines: 48
Message-ID: <72kdft06ki4g9sma8ibo1f776misjp6cbf@4ax.com>
References: <3AF68B96 DOT AF669379 AT falconsoft DOT be> <Pine DOT SUN DOT 3 DOT 91 DOT 1010507165056 DOT 22905C-100000 AT is>
NNTP-Posting-Host: modem-187.silicon.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: news5.svr.pol.co.uk 989256440 28887 62.136.13.187 (7 May 2001 17:27:20 GMT)
NNTP-Posting-Date: 7 May 2001 17:27:20 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

> On Mon, 7 May 2001, Tim Van Holder wrote:

> > Unfortunately, it isn't quite so straightforward.  It's a separate
> > application (msconfig.exe) that's not really advertised
> 
> Then I think we should improve setdjgpp.bat a bit and advertise that as 
> the recommended solution for Windows ME (via the "CMD line" property of 
> the DOS box).

How about this as a general solution:  We have a program setup.exe which
is installed to c:\djgpp from djdev*.zip.

The install instructions go like this:

  In Windows Explorer, navigate to the directory where you unzipped djgpp
  and double-click on the file "setup.exe".  This will create a file in
  the same directory called "djgpp.bat".  Right-click on the file
  "djgpp.bat", select "Copy", then minimise all windows, right-click on
  the desktop and select "Paste Shortcut".  This will create a new icon
  on the desktop, which you can use to run djgpp with the correct
  environment settings.

The choice of filename "setup.exe", is deliberate.  It's what a user who
can't be bothered to read the docs might naturally run.  As an exit
message it can print instructions to install the shortcut, and to Read
The README.1ST File.

AFAICT, the program setup.exe would be quite trivial.  Apart from a few
sanity checks, all it needs to do is extract the path from argv[0] and
create djgpp.bat from a template.  I can write some code for this if you
think it's a workable solution.

BTW, I don't use Windows ME so I am assuming this would work there too.

I have something like this in mind for the template:

@echo off
if not .%DJGPP%==. goto end
set PATH=C:\DJGPP\BIN;%PATH%
set DJGPP=C:\DJGPP\DJGPP.ENV
command.com /e:2000
:end

It would be nice too if the batch file could also be made callable from
autoexec.bat to set PATH and DJGPP, so we cater for DOS-only installation
too.  But hey, lets not get carried away right. ;-)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019