Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <028701c17081$2a788c80$0200a8c0@lifelesswks> From: "Robert Collins" To: "Jonathan Kamens" , References: <20011118214055 DOT 22769 DOT qmail AT lizard DOT curl DOT com> Subject: Re: How does setup.exe figure out what to install by default? Date: Mon, 19 Nov 2001 09:34:19 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 18 Nov 2001 22:34:20.0205 (UTC) FILETIME=[2A12C5D0:01C17081] ----- Original Message ----- From: "Jonathan Kamens" To: Sent: Monday, November 19, 2001 8:40 AM Subject: How does setup.exe figure out what to install by default? > I'm trying to figure out how setup.exe decides which packages should > be installed by default. My best guess was that "Base" categories are > installed by default, but I couldn't find any evidence of that in the > source code in winsup/cinstall (I looked at every instance of the word > "base", and unless I missed it, none of them were the one that would > key this functionality). I found code which seems to suggest that > "Required" or "Misc" packages are installed by default, but I don't > see anything designated "Required" or "Misc" in setup.ini, so I don't > know how those bits would get set on a package (and I suspect that's a > red herring because I'm not understanding it properly anyway). > > Somebody wanna give me a hint? :-) You are looking at old source code? $ grep -n "Base" * choose.cc:590: && !(getpackagecategorybyname (pkg, "Base") > Is there some Windows magic that I'm missing here? we use the argv, argc generated by msvcrt for us. Rob