delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/06/12:12:21

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: setup.exe creates files outside install directory
Date: Mon, 6 Nov 2006 17:12:06 -0000
Message-ID: <00d801c701c6$b08dbda0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <20061106165333.GM14878@dude.terrorpin.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 06 November 2006 16:54, Ben Collver wrote:

> Good day,
> 
> I installed cygwin to C:\bens\cygwin, and afterwards I found install.log
> and install.log.full under C:\cygwin\var\log.
> 


  When setup.exe starts up, it has to open the logfile before it asks you
where you want it installed to.  If there's already a cygwin installation on
the machine, it'll use that one's /var, but if there isn't because it's the
very first run ever on the machine....  well, you can see the problem.  I
reckon you can just delete them and it won't create them again next time you
use setup.

  (Disclaimer:  I haven't checked the source code to see that this is actually
exactly what happens, but I don't see what else it could do on a
first-ever-run.)

  Hmm, maybe it would be better to fall back on %TEMP% instead of the default
cygwin install path, or to do so if the C:\cygwin directory doesn't exist.



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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