delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/04/08:06:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <00d901c1c37c$bd8cb200$d1228d09@wdg.uk.ibm.com>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: <cygwin AT cygwin DOT com>
References: <FC169E059D1A0442A04C40F86D9BA76008AB04 AT itdomain003 DOT itdomain DOT net DOT au>
Subject: Re: setup.exe (cinstall) bugfixes + minor new feature
Date: Mon, 4 Mar 2002 13:01:46 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 04 Mar 2002 13:01:46.0656 (UTC) FILETIME=[BD8CB200:01C1C37C]

> I was thinking that
> If the setting is absent it prompts,
> if the setting is on it always creates, overwriting the current one
> if the setting is off it never creates.

> Rob

Hmm - I'm not sure I understand this.

Current behaviour is that setup checks the boxes by default, if it does not
find the shortcuts.
The user can manually check the boxes to run the creation code even if they
already exist.
I find it mildly annoying to have to uncheck both boxes each time I run
setup. (My desktop shortcut is called something different, and I don't want
a start menu one)
Therefore, I would like setup to remember the fact that the user has
deliberately unchecked the boxes.
I don't understand why anyone would want the shortcuts deleted and recreated
every time the run setup?

I have just realised that there was a bug in my previous implementation -
setup will need to distinguish between it detecting the presence of the
shortcuts, and so defaulting the checkboxes to off, and a user turning them
off. (i.e., a user should be able to run setup, and it creates shortcuts,
run setup again, and the boxes be unchecked, delete the shortcuts, and have
setup check the boxes by default again - so only not checking by default
when the user has deliberately turned the checkboxes off)

I will proceed with fixing that bug, and investigate the use of a setup.conf
file. Are there any objections to using windows {Get,Set}PrivateProfileInt
API calls? Or should I investigate the setup.ini parsing code, and try to
use that?


Thanks,

Max.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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