delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/05/09/21:19:52

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=kDKlcACJi/d9V+rJ
P7FpvQXNqrgsqFC5+gt0TP4Qp18CzADO4d3o06ryM1pPH3MIrnjXSqd+ZNmdTwql
nquWvy50tUOknhO+cYyNX0kBBSQDBX/LyvaMo4Xyoi41KBP5/yG9qyEb/DD1An1x
5JojNajWItX4Vbv6gbYVtzcrtcw=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=t9wXDtJTt5L9K/E1/hfF3p
VR6vI=; b=Qc1/mF7x8Jl+bv3yOEX37Og3efLTU/4w6Y4IbdvjRNDtLzTNlU42LK
upximKFmS9E9+6BMC/XqJatSnqiOxTaujPT1TYk3sW4Bk65WFENe2SmUCydi8SJa
9iS+jzXh2XDI5iqWnRMFFF4QresAILyKPPRwc8PSNRx12Jx3wq6r8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=mirror, sk:incompa, H*R:D*ca, _64
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.3 cv=PvS9kTE3 c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=AsBeeLkhoQnVERyA_XkA:9 a=QEXdDO2ut3YA:10
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: How portable (relocatable) is a Cygwin installation?
To: cygwin AT cygwin DOT com
References: <CAM-5HMtk-0xo9L+8HWZmVjhXQxKGaG8_NS8NKWwOed+gdn806g AT mail DOT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <35bbce66-d74a-357e-785d-973a956f4723@SystematicSw.ab.ca>
Date: Wed, 9 May 2018 19:19:35 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CAM-5HMtk-0xo9L+8HWZmVjhXQxKGaG8_NS8NKWwOed+gdn806g@mail.gmail.com>
X-CMAE-Envelope: MS4wfCSP2yoe8JHQnHCi0igsKIq2W9TIf0p1/CevaftsRVxMQmY/ke6IRgA77FK23KoWUxU336hZhe1xR07QuR/iO3bFQaY8LcjGkkWQebBhs3eoL4YFny13 rePOVuNDoBJg3i66nIJpn+AZ/LCjzusJ+VR0XyaDrxitfWVc/7gsQETHyBKMNM7FCYeyu75AW1JrYw==
X-IsSubscribed: yes

On 2018-05-09 18:08, Andy Li wrote:
> We are looking for an easy way to distribute an OCaml development
> enviroment based on Cygwin. Someone has an idea of installing all the
> necessary packages and zip the whole Cygwin installation directory and
> distribute the resulting archive.
> Is it a good idea? Is the installation path written in a Cygwin
> installation somewhere that may need to be updated when relocating? Is
> there any registry entry or env var required for a Cygwin installation to
> work?

Others use that approach, which generates many posts asking about find_fast_cwd
warnings, due to lack of Cygwin updates and Windows update incompatibilities.
No. Yes. Yes.
How good is your organization's Windows app packaging, distribution, deployment,
and installation system e.g. SCCM infrastructure?

Rather than deal with possible existing Cygwin installs, internal details which
may change, initial install actions, package postinstall script effects, and dll
rebasing, it may be better to distribute a zip, or use a network share or web
server, to provide a local package archive with the
{noarch,x86{,_64}}/release/<package>/ directories and contents including setup
exe, ini, distributed .tar.xz packages, and install on each system using Cygwin
setup from that location, instead of an official network mirror.
The install could be a scripted unattended setup run: check what the web docs
say about using local archives, and unattended setup.
You could standardize on Cygwin root e.g. C:\cygwin{32,64}\ and local package
archive location of C:\cygwin{32,64}\var\cache\setup\, or a network share or web
server equivalent of the latter.
Updated copies of the setup exe, ini, packages, and all dependencies can be
added to that local archive to allow synchronized updates using Cygwin setup.
You will have to track and save all Cygwin updates, and decide when you need or
want to release updates for your custom distro.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019