Date: Tue, 8 May 2001 10:11:25 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Jason Green cc: djgpp AT delorie DOT com Subject: Re: Installation Problem? In-Reply-To: <72kdft06ki4g9sma8ibo1f776misjp6cbf@4ax.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 7 May 2001, Jason Green wrote: > > 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. Isn't this unnecessarily complicated? We already have setdjgpp.bat in djdevNNN.zip, so there shouldn't be any need to create it. The user needs to open the DOS box's Properties, and enter this in the "Cmd line" property: command.com /e:2000 /k c:\djgpp\bin\setdjgpp c:\djgpp That's it! Once they do this, they only need to create a shortcut to the DOS box, if they want. Making a shortcut is something I'd expect users to know how to do, but we could add some simple guidance. > 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. Experience shows that those who use the zip-picker (a large portion of new users, judging by the messages here) do read the instructions presented by the zip-picker. > 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 This is almost exactly what we already have in setdjgpp.bat. > 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. Then we will be back to square one: Windows ME ignores AUTOEXEC.BAT.