X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=oyBp/IvE3TAqkkz18h6qGebBwGx7XU4ONtHaEalfZAo
	E0oiyBiJXJcSR2Offw3iAYn9Wl8bIBzZuKJ3cNsV2/H4oh8sa470rwS+vaYSrTVz
	7Tm7/oZs8Cm2h5fNRY9LjAzSVTv9BNDr/UD3VcPDeZDJqNJ3mP7gx7jSIJYwPiMA
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=OMvygqRdI9F2D19h1xnpMmh2Y7c=; b=siNT5Z89cG+Kl1bX9
	ty91lfORhNDEq4+QBAEs76c95HsksApAPbS7RTEcH5roCUW+Kn4Hc4msKym/GujM
	mtUxkYQwAbFZDdOQ0pPXGprKu2766pSVtDIyaiwipMG8djK98f428CIJu0CbPgyX
	OC6CpnWLUDftk1CBtgQYFyfkKU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.2
X-HELO: etr-usa.com
Message-ID: <5294D37E.7090001@etr-usa.com>
Date: Tue, 26 Nov 2013 09:59:42 -0700
From: Warren Young <warren@etr-usa.com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: Cygwin-L <cygwin@cygwin.com>
Subject: Re: Cygwin 1.7.25 issue: Crontab on Windows (was ...1.5.25...)
References: <CAMwOpcry6fkHwZC8thRjMuV=iZL3keP3SCrsjCroqWrEcQNa-w@mail.gmail.com> <CAMwOpcp4heAtgg7fnMXdSw02iKO+Z5pwnBDC2GV6_zcLdjt_ag@mail.gmail.com>
In-Reply-To: <CAMwOpcp4heAtgg7fnMXdSw02iKO+Z5pwnBDC2GV6_zcLdjt_ag@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 11/26/2013 02:27, Aleksander Panayotov wrote:
> It was actually a typo - a missing "2". What I meant was that I tested
> it with the 1.7.25 version (the latest one that was on your website
> last week) and not with 1.7.5.

Okay, then.

The standard solution here is to set your installer to require UAC. 
There's a flag for this in MSI, and probably in any other reasonable 
software installation system.  That elevates the actual install process 
to Admin privileges, so that when it launches cygrunsrv, it will have 
the permissions it needs to handle the -u flag correctly.

I would suggest not shipping a private copy of Cygwin, but instead ship 
Cygwin's setup.exe and do your custom minimal installation via its 
command line interface.  That way, you don't have to keep your shipped 
version up-to-date, you don't have to worry about source code 
distribution for anything but setup.exe, and you can take advantage of 
the auto-UAC features of setup.exe.

That latter feature might be enough to sway you all by itself.  It means 
you can run the installation as a normal user, but if they have the 
ability to do UAC authentication, Cygwin's setup.exe will elevate *that 
part* of the installation to Admin level automatically.

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

