On 27/07/2026 22:41, ASSI via Cygwin wrote:
slipbits via Cygwin writes:
Is there any way to port the application choices in setup-x86_64 from
one computer to another? I just bought a laptop and I'd like to use
the same choices I made for my desktop. Right now I listed all the
applications (> cygcheck -n) and am manually selecting them in the new
laptop's setup-x86_64). I've looked at the setup-x86_64 parameters
(setup-x86_64 --help) and none seem applicable.
The command-line options are described here:

https://cygwin.com/faq.html#faq.setup.cli

and the one you'd need is '-P' (this is a Windows application you'll
likely run from cmd, so quoting the arguments can be a hassle: I
recommend to have the package list in the form pkg1,pkg2,…,pkgN -- that
is no spaces, but separated by comma).  You'll only want the manually
installed packages, that is the ones that have that flag set in
/etc/setup/installed.db -- see this post:

https://cygwin.com/pipermail/cygwin/2023-November/254868.html

If you truly want exactly the same set of packages then you can do so as
well:

https://cygwin.com/pipermail/cygwin/2015-September/223509.html
Note that NT-based Windows limits the command line length (including
argv[0] and quotes) to 32767 (unicode) characters.  Also, the quoting
rules can be found in the C library source code for splitting arguments
into the argv[] array, as each process receives it as a single UTF-16LE
string, which is transported by the OS as a UNICODE_STRING structure).


Regards,
Achim.

--
Jakob Bohm, CIO, partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Soborg, Denmark. direct: +45 31 13 16 10 <tel:+4531131610>
This message is only for its intended recipient, delete if misaddressed.
WiseMo - Remote Service Management for PCs, Phones and Embedded

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

Reply via email to