X-Recipient: archive-cygwin AT delorie DOT 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=IdZd3Btt2eZeQQz+ gxgxzxnki0WRAMP3aq3NXxffx0OIpwYFVbSvx/IZ2uZbEUI806pBRRK8u7tOzpnt 8TvqVpSBhSTht/qJf/puFvFZ1yIyPUD1FSTb0Z3cnENd78b6m4TJaHnKR8rwbxyZ FaZPE2u2+TFA7/pyvZoWUr6z4AU= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=KVa1UWD4ofYRwJMy2iXeuo qeGSE=; b=WIaJI+omM1yPUtmTbpwVA/T6rBnyEaN7eC1k/7gyTbubW1MjEvQ3T0 zS9A7nf4hZ/l4zxEpk4V9KTHY6gk0KJMj0hO/PGYMcWhVxmTJfA3CkgRYZtpRYlP XbRLG7IdrK9iS0W6I/txCb0L2trFA8MnckhZlGgs6AdgVr4wNKNXE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:D*mail.com, distributing, UD:zip, transfer X-HELO: mout.gmx.com Subject: Re: distributing preconfigured cygwin To: cygwin AT cygwin DOT com References: <0F7D3B1B3C4B894D824F5B822E3E5A17787FB4BB AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <3110356010 DOT 20180606204945 AT yandex DOT ru> <540c62ab-2519-9f57-6565-d536d8b74ef2 AT gmail DOT com> <944481618 DOT 20180607010455 AT yandex DOT ru> <20180608133017 DOT GB20898 AT rus DOT uni-stuttgart DOT de> <0F7D3B1B3C4B894D824F5B822E3E5A17787FD684 AT IRSMSX102 DOT ger DOT corp DOT intel DOT com> <20180608135221 DOT GF20898 AT rus DOT uni-stuttgart DOT de> <49498971 DOT 20180608194124 AT yandex DOT ru> <20180709002131 DOT GA3525 AT rus DOT uni-stuttgart DOT de> <87d0vp7uth DOT fsf AT Rainer DOT invalid> <20180817094154 DOT GB9924 AT rus DOT uni-stuttgart DOT de> From: john doe Message-ID: Date: Fri, 17 Aug 2018 11:58:32 +0200 MIME-Version: 1.0 In-Reply-To: <20180817094154.GB9924@rus.uni-stuttgart.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 8/17/2018 11:41 AM, Ulli Horlacher wrote: > On Sat 2018-07-14 (16:31), Achim Gratz wrote: > >>>> You have to install Cygwin, not "transfer". >>> >>> I have several 100 users, none of them is able to install cygwin and >>> the packages they need the official way, they are way to *CENSORED* for >>> this job :-} >> >> If they can follow your current instructions, they can surely start some >> script that does this correctly? > > I do not have a script which installs all needed packages. > > >>> I give them my preconfigured cygwin.zip (or cygwin64.zip) and tell them to >>> unpack it in C:\ >>> >>> http://fex.belwue.de/usecases/cygwin.html >> >> Whatever you call it, it's still cludgey nonsense that might or might >> not work. Only when it's not working your users will really be unable >> to figure out what to do since they won't even know what is failing. > > So far, it has worked for all my users. No one is complaining. > > >> script that calls setup to install it and any other packages you need >> (if not already installed by way of dependency). Setup can deal with >> multiple package repositories, so you can use one of the official >> mirrors as the primary package repository and only provide your package >> as an add-on repository (like cygwin ports does). > > How do I write such a script? > Is there documentation/examples about this? > > This install script must first download the cygwin base package, install > it and then run setup with all needed cygwin packages. > But at the very beginning, I do not have a shell at all? > Basically, you create a batch script that would execute a powershell script. The powershell script will handle the download of the setup file, installation of cygwin, installation of extra packages, detect 32/64bit architecture... The batch script is easier for the user to execute and you can also run the powershell script as administrator, if needed. From a CLI pass the '-h, --help' option to the setup file to get all available options. -- John Doe -- 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