Date: Tue, 6 Apr 1999 09:22:04 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Laurynas Biveinis cc: djgpp-workers AT delorie DOT com Subject: Re: Fw: LBInstDJ - second, improved version In-Reply-To: <001101be7f64$5d4f7c60$b4033bd4@default> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 5 Apr 1999, Laurynas Biveinis wrote: > >> I agree that for everybody's safety a non-LFN directory is better, but > >> having an installer insist on that is IMHO a Bad Thing, 'cause > >> somebody might know what they are doing. It might be a better idea to > >> check whether DJGPP.ENV is accessible via the DJGPP variable setting. > > How can I do it in the installer? When DJGPP is not set and DJGPP.ENV does > not exist? I obviously don't know anything about the code of your installer, so my advice shouldn't be taken literally. If this test is done before DJGPP is set, use the directory name to check the acessibility of DJGPP.ENV. If DJGPP.ENV doesn't yet exist (because you do this test before unzipping djdev), create it temporarily using the installation directory name chosen by the user and then test. The point is, if %DJDIR%/DJGPP.ENV *can* be accessed, the installation is probably okay, except that if the user wants the installation to work in plain DOS mode and the numeric tails weren't turned off (you can test for this latter part by truncating the file name to 8+3 and then trying to access the truncated name: if numeric tails are ON, the access will fail). I agree with DJ that a warning about plain DOS mode should be issued if numeric tails are ON and the user installs on Windows 9X (not that I believe people pay attention to warnings ;-).