Re: Setup.ini file for Silent Install
Is there eventually a possibility of someone explaining to me why Jonathan used my incredibly complex and hard to maintain method rather than following Daves eloquent advice?!? Although it's so funny that my message cam *after* somebody telling him how to do this with setup.exe?!? Never the less: - Dave, thank so much you for posting setup.exe's command line switches. That was probably the 1st thing Jonathan did. - Christopher, thank you so much for telling the world how dumb everybody is, that doens't do something your way. - Ralf, thank you so much for posting two of your so simple batch files to underline what you have in mind. Guys: If you have a cooler/simpler/better to maintain way to do a completely unattended installation of Cygwin: Great...I'd love to applaud it. Please let the world take part --- or keep quiet. Mit freundlichen Grüßen / with kind regards Christoph Herdeg Christoph HerdegContact IBM Deutschland Research Windows Infrastructure Support Information Development GmbH Information Management Vorsitzender des Aufsichtsrats: Development Martin Jetter IBM Software Group Geschäftsführung: Erich Baier Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 mail: christoph.her...@de.ibm.com fon:49-7031-16-1039 (tie line fax:*120-1039) address:49-7031-16-4891 Schönaicher Str. 220 71032-03 Böblingen visit IBM Deutschland Research Development GmbH From: Ralph Hempel rhem...@bmts.com To: cygwin@cygwin.com Date: 25.03.2010 13:39 Subject:Re: Setup.ini file for Silent Install Sent by:cygwin-ow...@cygwin.com RESEND - NOW WITH SPELLING MISTAKES FIXED... Christoph Herdeg wrote: Hello Jonathan, I can't stand seeing this question come up every week again... Yes, this is definitely possible, but due to Cygwin's completely crappy installer (setup.exe) it's a real pain in the ass. Given
Re: Setup.ini file for Silent Install
Am 26.03.2010 10:25, schrieb Christoph Herdeg: Is there eventually a possibility of someone explaining to me why Jonathan used my incredibly complex and hard to maintain method rather than following Daves eloquent advice?!? Although it's so funny that my message cam *after* somebody telling him how to do this with setup.exe?!? Message propagation times may not be the same for everyone - greylisting; server hiccups and retry schedules, and other reasons might cause this... -- Matthias Andree -- 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
Re: Setup.ini file for Silent Install
That's something you should please tell CGF, not me... Mit freundlichen Grüßen / with kind regards Christoph Herdeg Christoph HerdegContact IBM Deutschland Research Windows Infrastructure Support Information Development GmbH Information Management Vorsitzender des Aufsichtsrats: Development Martin Jetter IBM Software Group Geschäftsführung: Erich Baier Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 mail: christoph.her...@de.ibm.com fon:49-7031-16-1039 (tie line fax:*120-1039) address:49-7031-16-4891 Schönaicher Str. 220 71032-03 Böblingen visit IBM Deutschland Research Development GmbH From: Matthias Andree matthias.and...@gmx.de To: cygwin@cygwin.com Date: 26.03.2010 10:28 Subject:Re: Setup.ini file for Silent Install Sent by:cygwin-ow...@cygwin.com Am 26.03.2010 10:25, schrieb Christoph Herdeg: Is there eventually a possibility of someone explaining to me why Jonathan used my incredibly complex and hard to maintain method rather than following Daves eloquent advice?!? Although it's so funny that my message cam *after* somebody telling him how to do this with setup.exe?!? Message propagation times may not be the same for everyone - greylisting; server hiccups and retry schedules, and other reasons might cause this... -- Matthias Andree -- 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 -- 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
Re: Setup.ini file for Silent Install
Christoph Herdeg wrote: snip - Dave, thank so much you for posting setup.exe's command line switches. That was probably the 1st thing Jonathan did. - Christopher, thank you so much for telling the world how dumb everybody is, that doens't do something your way. - Ralf, thank you so much for posting two of your so simple batch files to underline what you have in mind. Look in the archives, you'll find that I have posted samples of the batch files in the past...I certainly was not trying to be mean. Ralph -- 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
Re: Setup.ini file for Silent Install
Just for fun, I googled ralph hempel cygwin mailing list archive Guess what the first hit is? Ralph -- 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
Re: Setup.ini file for Silent Install
On Fri, Mar 26, 2010 at 10:31:55AM +0100, Christoph Herdeg wrote: That's something you should please tell CGF, not me... Actually, I prefer not to be lectured about obvious things. YMMV. -- 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
Re: Setup.ini file for Silent Install
On Fri, Mar 26, 2010 at 10:25:59AM +0100, Christoph Herdeg wrote: On Thu, Mar 25, 2010 at 12:39:22PM +0100, Christoph Herdeg wrote: I can't stand seeing this question come up every week again... Yes, this is definitely possible, but due to Cygwin's completely crappy installer (setup.exe) it's a real pain in the ass. Is there eventually a possibility of someone explaining to me why Jonathan used my incredibly complex and hard to maintain method rather than following Daves eloquent advice?!? I could only find one message from Jonathan in the archives and that is the initial query. So, it is not in evidence that he is using your complicated method. Although it's so funny that my message cam *after* somebody telling him how to do this with setup.exe?!? Never the less: - Dave, thank so much you for posting setup.exe's command line switches. That was probably the 1st thing Jonathan did. - Christopher, thank you so much for telling the world how dumb everybody is, that doens't do something your way. You replied to a request for information implying that a question which comes up every week goes unanswered and then referred to setup.exe as Cygwin's completely crappy installer. Given that, you were publicly criticizing the cygwin community, it seems rather naive of you not to expect some sort of response. And, given that we all know how very mean this mailing list is, this response: On Thu, Mar 25, 2010 at 08:46:28AM -0400, Christopher Faylor wrote: Funny how your email comes *after* someone telling the OP how to do this with setup.exe. seems pretty mild to me, especially when it is a response to someone who chose to use such critical language to begin with. Guys: If you have a cooler/simpler/better to maintain way to do a completely unattended installation of Cygwin: Great...I'd love to applaud it. The cooler/simpler/better way was already demonstrated. If this isn't adequate then we'd love to see patches to setup.exe to improve it rather than promoting complicated cookbook approaches. Please let the world take part --- or keep quiet. Hmm. That seems like a rather contradictory sentence. Lucky we can all ignore it. cgf -- 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
Re: Setup.ini file for Silent Install
On 25/03/2010 09:02, Jonathan Cummings wrote: Sir/Madam, Please feel free not to stand on formality round here :) 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 --categoriesSpecify entire categories to install -p --proxy HTTP/FTP proxy (host:port) -q --quiet-modeUnattended setup mode -M --package-manager Semi-attended chooser-only mode -h --help print help -l --local-package-dir Local package directory -r --no-replaceonrebootDisable 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-desktopDisable creation of desktop shortcut -K --pubkeyPath to extra public key file (gpg format) -S --sexpr-pubkey Extra public key in s-expr format -u --untrusted-keysUse 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, DaveK -- 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
Re: Setup.ini file for Silent Install
Hello Jonathan, I can't stand seeing this question come up every week again... Yes, this is definitely possible, but due to Cygwin's completely crappy installer (setup.exe) it's a real pain in the ass. Given is a destination directory of c:\cygwin: - First you need to create a customized installation on one machine using the Download Only option in setup.exe. - Then you need to modify the resulting setup.ini file so that all the packages you selected for your custom setup belong to category: base (Personally I use Notepad++'s regular expression SRep. for this action: 2.) Find: category: *.*, replace with: category: base). An example: Original: @ aewm++ sdesc: bla ldesc: bla category: X11 Modified: @ aewm++ sdesc: bla ldesc: bla category: base - Now you need have the following directory structure: c:\cygwin\cygwin_mirror\ c:\cygwin\cygwin_mirror\release c:\cygwin\cygwin_mirror\release\ ~ your packages in their subfolders ~ c:\cygwin\cygwin_mirror\setup.exe c:\cygwin\cygwin_mirror\setup.ini - As penultimate step you need to create parts of the destination directory structure. If your destination directory is c:\cygwin, please create c:\cygwin\etc\setup. - As last step before actually running setup.exe you need to create three files in your destination directory structure: c:\cygwin\etc\setup\last-action - with content: Install c:\cygwin\etc\setup\last-cache - with content: \etc\setup \last-cache c:\cygwin\etc\setup\last-mirror - with content: cygwin_mirror - Finally you can run setup.exe with commandline switches -q and -R, followed from your destination directioy, e.g. setup.exe -q -R c:\cygwin - If you want to configure something automatically after running setup.exe, write a customization shellscript and copy it to c:\cygwin\etc\profile.d. Then start Cygwin by running bash --login -i from within c:\cygwin\bin. I use AutoIT and NSI to build a completely unattended installer running the Cygwin installation including sshd-configuration and other things. It's quite a task, but nevertheless doable. Mit freundlichen Grüßen / with kind regards Christoph Herdeg Christoph HerdegContact IBM Deutschland Research Windows Infrastructure Support Information Development GmbH Information Management Vorsitzender des Aufsichtsrats: Development Martin Jetter IBM Software Group Geschäftsführung: Erich Baier Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 mail: christoph.her...@de.ibm.com fon:49-7031-16-1039 (tie line fax:*120-1039) address:49-7031-16-4891 Schönaicher Str. 220 71032-03 Böblingen visit IBM Deutschland Research Development GmbH From: Jonathan Cummings jonathancummi...@hotmail.co.uk To: cygwin@cygwin.com
Re: Setup.ini file for Silent Install
Christoph Herdeg wrote: Hello Jonathan, I can't stand seeing this question come up every week again... Yes, this is definitely possible, but due to Cygwin's completely crappy installer (setup.exe) it's a real pain in the ass. Given is a destination directory of c:\cygwin: - First you need to create a customized installation on one machine using the Download Only option in setup.exe. Hold it right there. No - Back up one step. Then read Dave Korn's reply about using setup.exe and it's wonderful assortment of command line switches. OK, now test out a few of these switches on a clean install machine. See how you can easily specify a place to put the downloaded packages, how you can tell the installer where to get packes from, how to tell it which packages you want. Imagine having a standard base install batch file for all your users, then customized versions for sertain departments. Then imagine doing this all with nothing more complicated than a simple .bat file. While you are busy hacking out a complex, hard to maintain scheme for doing a custom install, I'll be sipping a latte and dreaming of a world where everyone takes the time to think about using the tools at hand instead of chipping their own axe out of rocks Ralph -- 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
Re: Setup.ini file for Silent Install
RESEND - NOW WITH SPELLING MISTAKES FIXED... Christoph Herdeg wrote: Hello Jonathan, I can't stand seeing this question come up every week again... Yes, this is definitely possible, but due to Cygwin's completely crappy installer (setup.exe) it's a real pain in the ass. Given is a destination directory of c:\cygwin: - First you need to create a customized installation on one machine using the Download Only option in setup.exe. Hold it right there. No - Back up one step. Then read Dave Korn's reply about using setup.exe and it's wonderful assortment of command line switches. OK, now test out a few of these switches on a clean install machine. See how you can easily specify a place to put the downloaded packages, how you can tell the installer where to get packages from, how to tell it which packages you want, and even where to put them on the local user's machine. Imagine having a standard base install batch file for all your users, then customized versions for certain departments. Then imagine doing this all with nothing more complicated than a simple .bat file. While you are busy hacking out a complex, hard to maintain scheme for doing a custom install, I'll be sipping a latte and dreaming of a world where everyone takes the time to think about using the tools at hand instead of chipping their own axe out of rocks Ralph -- 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
Re: Setup.ini file for Silent Install
On Thu, Mar 25, 2010 at 12:39:22PM +0100, Christoph Herdeg wrote: I can't stand seeing this question come up every week again... Yes, this is definitely possible, but due to Cygwin's completely crappy installer (setup.exe) it's a real pain in the ass. Funny how your email comes *after* someone telling the OP how to do this with setup.exe. cgf -- 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
Re: Setup.ini file for Silent Install
On 25/03/2010 12:46, Christopher Faylor wrote: On Thu, Mar 25, 2010 at 12:39:22PM +0100, Christoph Herdeg wrote: I can't stand seeing this question come up every week again... Yes, this is definitely possible, but due to Cygwin's completely crappy installer (setup.exe) it's a real pain in the ass. Funny how your email comes *after* someone telling the OP how to do this with setup.exe. The crappiness must not be in setup.exe, but in the mind of the beholder. cheers, DaveK -- 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