X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8C3173858D28
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=dinwoodie.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinwoodie.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=dinwoodie.org; s=google;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=a3D6e+vatrqeUDqaRFj1aB4ESRp1KzlZMviUON5gPTg=;
 b=MgJSnvsJY8FnFXs925/jgApahmdNlT1FUCzjnyRiTA89sTYNHIrVefIFMf1Y1SYpIN
 aXv+N9OckROzfFVP4mE4mPRnzc5qBXpT2vEBsd0ffzD72x6WQ2PQ9GijJid+XwT1DYfs
 0xm9jz0oIvkXlGGsfawMZSewnvW1E2EHYyN20=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=a3D6e+vatrqeUDqaRFj1aB4ESRp1KzlZMviUON5gPTg=;
 b=mpeS9/AHuk12MOzv6oyO6FIohvPOdyawUpTtQwz3jGzzvajpx/cCoHCr9kR7U6O/jI
 pKoKmb7a4AZrBOAieLONTfrdlEcRpT7gwFnNRJzT/b1ltIcMsvoDmyrrqYLhaz0DhEnM
 KgNyTCoOjM0f6wslqvazrdFmwiObt3AsHSGuTHi4jy0g1iCNvJROHTSZup5ovo0K5P0Z
 NVdxC5KkvGzu6Cpev5ZAESEJxVP10k+JnexXimY9U8NJab6OD8JupSV7d7LFWM9SifLL
 lHJ4ZQDUqRS+U6zk0qQOilKJC2KiuOCgiFyZh2XC7qUr20k4keAQcqGpp9h6ad8r566E
 jTyw==
X-Gm-Message-State: AOAM533/2OHRX2dVaSPWhfdtvSYOjm6/CKvSRgnucNOOAA/EMDwBy0Ba
 K9FR60sYY9m6eoMZaHj9LCGCVGUktJ07sVDs/KVAn84MtBRXZg==
X-Google-Smtp-Source: ABdhPJxehgIRkJWq+HWcMlkvlN8GSsR0sfKpC155T8FRaOWVeC1mYzWds0eOM+mxg3t/D3eee2FAP8LXLo7Ix+Z/9p4=
X-Received: by 2002:a25:a429:: with SMTP id f38mr40506247ybi.34.1638274869990; 
 Tue, 30 Nov 2021 04:21:09 -0800 (PST)
MIME-Version: 1.0
References: <DB8PR08MB40112FA11CC8E0740925C3B594669@DB8PR08MB4011.eurprd08.prod.outlook.com>
In-Reply-To: <DB8PR08MB40112FA11CC8E0740925C3B594669@DB8PR08MB4011.eurprd08.prod.outlook.com>
From: Adam Dinwoodie <adam@dinwoodie.org>
Date: Tue, 30 Nov 2021 12:20:37 +0000
Message-ID: <CA+kUOakzANiU74TY=PQuDCrSu0yA08_tQqRO-Q+8XUnJtE+YHA@mail.gmail.com>
Subject: Re: No cancel mode for setup.exe
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
 SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Cc: "Fuchs, Thorsten" <Thorsten.Fuchs@brose.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Mon, 29 Nov 2021 at 15:24, Fuchs, Thorsten via Cygwin
<cygwin@cygwin.com> wrote:
> We are using the setup-x86_64.exe within our deployment system to install Cygwin at the developer workstations. The setup run is triggered automatically and all developer workstation going to be install identically. However, when the setup window is open and the install is in progress it is possible for the user to cancel it.
> Sometimes developers interrupt the process. Would be good if this can be avoided. Is there an command line option for setup-x86_64.exe to prohibit the cancelation or can something like that implemented?

This is function that doesn't currently exist, and while you could
probably disable the "Cancel" button, I don't think you'd be able to
reliably prevent a determined user from breaking out of the
installation process.

If you're interested in adding it this function, the source code for
the installer is accessible via
https://sourceware.org/cygwin-apps/setup.html. Cygwin is an open
source project; two of the common phrases on this list are "Someone
has to do it" () and "Patches thoughtfully considered". If you or your
employer aren't willing to write and submit the patches yourselves, if
you ask on this list you might find other developers willing to do
work on a contracting basis. You *might* get lucky and find someone
who will do it without pay, but I don't imagine this is the sort of
thing that anyone would be interested in doing for free.

HTH

Adam

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