X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.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
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <20061106165333.GM14878@dude.terrorpin.net>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

