/build/static/layout/Breadcrumb_cap_w.png

Red Hat, Inc. Cygwin

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Views: 4.6k  |  Created: 12/12/2008

Average Rating: 0
Cygwin has 1 inventory records, 1 Questions, 0 Blogs and 1 links. Please help add to this by sharing more!

Deployment Tips (6)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 0 / 5 (Not Rated) based on 0 ratings
Most Commonly Reported Deployment Method
Not Determined
1
Note
> Is it possible to get a setup.ini file to use along side
> setup.exe to allow us to install cygwin on multiple servers in our
> organisation? -I would then like to add the details of the packages to be
> installed in to the setup.ini file for a silent installation across network
> on to our windows servers.

Setup.exe doesn't use a .ini file, but it does accept command-line arguments
to do all the things you want, so instead of a .ini file you could just
distribute a .bat file that contained the correct invocation.

If you run "setup.exe --help", it will (according to windows version) output
help instruction either to the console or to a setup.log file in the current
directory:

> Command Line Options:
> -D --download Download from internet
> -L --local-install Install from local directory
> -s --site Download site
> -O --only-site Ignore all sites except for -s
> -R --root Root installation directory
> -P --packages Specify packages to install
> -C --categories Specify entire categories to install
> -p --proxy HTTP/FTP proxy (host:port)
> -q --quiet-mode Unattended setup mode
> -M --package-manager Semi-attended chooser-only mode
> -h --help print help
> -l --local-package-dir Local package directory
> -r --no-replaceonreboot Disable replacing in-use files on next
> reboot.
> -X --no-verify Don't verify setup.ini signatures
> -n --no-shortcuts Disable creation of desktop and start
> menu shortcuts
> -N --no-startmenu Disable creation of start menu shortcut
> -d --no-desktop Disable creation of desktop shortcut
> -K --pubkey Path to extra public key file (gpg
> format)
> -S --sexpr-pubkey Extra public key in s-expr format
> -u --untrusted-keys Use untrusted keys from last-extrakeys
> -U --keep-untrusted-keys Use untrusted keys and retain all
> -A --disable-buggy-antivirus Disable known or suspected buggy anti
> virus software packages during
> execution.

You're going to want -q for automated installation and then your choice of
-P or -C options for the set of packages you want installed.

Cheers!!!

Amjad Rehman
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
1
Command Line
"setup.exe -q -R c:\cygwin"

The Cygwin Setup program will prompt you for a "root" directory. The default is C:\cygwin, but you can change it. You are urged not to choose something like C:\ (the root directory on the system drive) for your Cygwin root. If you do, then critical Cygwin system directories like etc, lib and bin could easily be corrupted by other (non-Cygwin) applications or packages that use \etc, \lib or \bin. Perhaps there is no conflict now, but who knows what you might install in the future? It's also just good common sense to segregate your Cygwin "filesystems" from the rest of your Windows system disk
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
1
Command Line
to select the add on we can put wise Script
setup.exe -q -R C:\cygwin -C X11

-C X11 will only run X Server, so if u have to run all add on you can put -C All

Amjad Rehman
AJ
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
0
Command Line

 

Copy this this to a notepad as batch file to be run locally c:\install.bat, which will trigger an internet download for extra packages on it’s own.

 

install.bat

@ECHO OFF

REM -- Automates cygwin installation

 

SETLOCAL

 

REM -- Change to the directory of the executing batch file

CD %~dp0

 

REM -- Configure our paths

SET SITE=http://cygwin.mirrors.pair.com/

SET LOCALDIR=%CD%

SET ROOTDIR=C:/cygwin

 

REM -- These are the packages we will install (in addition to the default packages)

SET PACKAGES=mintty,wget,ctags,diffutils,git,git-completion,git-svn,stgit,mercurial

SET PACKAGES=%PACKAGES%,gcc4,make,automake,autoconf,readline,libncursesw-devel,libiconv

SET PACKAGES=%PACKAGES%,lua,python,ruby

 

REM -- Do it!

ECHO *** INSTALLING DEFAULT PACKAGES

setup -q -d -D -L -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%"

ECHO.

ECHO.

ECHO *** INSTALLING CUSTOM PACKAGES

setup -q -d -D -L -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%" -P %PACKAGES%

 

REM -- Show what we did

ECHO.

ECHO.

ECHO cygwin installation updated

ECHO  - %PACKAGES%

ECHO.

 

ENDLOCAL

 

PAUSE

EXIT /B 0

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
0
Command Line
1. Using "Download Without Installing" option from setup program download all packages to local directory.

2. Run setup.exe with parameters:

setup --quiet-mode --local-install -l C:\path\to\local\repository -R C:\dest_dir

or

setup --quiet-mode --local-install -l \\path\to\repository$ -R C:\dest_dir
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
0
Script

 

1.       Create a New Online Shell Script,

1.       Add “Setup.exe” as a New Dependency –

By using Script tex:

 setup.exe -q -R c:\cygwin -s MIRROR

Where MIRROR is one listed at http://cygwin.com/mirrors.html

 

setup.exe -q -R c:\cygwin -s http://cygwin.mirrors.pair.com/

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Cygwin

Version

2

Questions & Answers (1)

Questions & Answers related to Red Hat, Inc. Cygwin

Blogs (0)

Blog posts related to Red Hat, Inc. Cygwin

Reviews (0)

Reviews related to Red Hat, Inc. Cygwin

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ