Larry Hall (Cygwin) wrote: > On 4/3/2010 12:34 AM, Andrew DeFaria wrote: >> On 04/02/2010 09:28 PM, Larry Hall (Cygwin) wrote: >> And yes a .bat file that you double click would probably suffice however >> there is something in the whole setup structure that make certain >> packages install by default (e.g. bash.exe) and other packages come up >> as "Skip" (i.e. OpenSSH). I'd like to toggle it on for OpenSSH and rxvt >> such that when setup.exe runs and they get to the package selection >> screen, it says the version number for these and will install them by >> default (IOW it won't list them as "Skip"). Is that too much to ask? > > One can always ask. > > If you don't mind fiddling around with the setup.ini file, then the key > thing is to edit this file and change the category of the desired packages > to "Base".
There's no need to edit setup.ini. Just use the -P option and name the packages you want to install in a comma separated list. The packages you list, those packages' dependencies, and all of the base packages will be installed. It gets even better once you look through the other command line options listed with --help because you can automate installation selections to the point that the users don't have to do anything more than run your batch file. They won't have to interact with any of setup.exe directly. The only thing they will see is the window showing the package installation progress which they can cancel if they choose. -Jeremy -- 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