Re: How to make setup.exe default to local-install?
On 2009-01-13, Larry Hall (Cygwin) reply-to-list-only...@cygwin.com wrote: On 01/12/2009, Grant Edwards wrote: It looks like a batch file would work, but it pops up a nuisance console window. [Question: does local directory refer to the directory where setup.exe is located or to the current working directory?] It refers to the local directory containing all the packages in the directory structure you get when you download packages. So it is neither the directory where 'setup.exe' is located not the current working directory. If it's neither the current working directory nor the directory where setup.exe is located, then how does setup.exe know where to find it? -- Grant -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to make setup.exe default to local-install?
On 2009-01-13, Larry Hall (Cygwin) reply-to-list-only...@cygwin.com wrote: On 01/12/2009, Grant Edwards wrote: It looks like a batch file would work, but it pops up a nuisance console window. [Question: does local directory refer to the directory where setup.exe is located or to the current working directory?] It refers to the local directory containing all the packages in the directory structure you get when you download packages. We haven't downloaded packages yet. All we've done is start up setup.exe and we're sitting looking at the first screen. So it is neither the directory where 'setup.exe' is located not the current working directory. If you believe the setup.exe source code, it is the currrent working directory. The three choices are: IDC_SOURCE_DOWNLOAD IDC_SOURCE_NETINST IDC_SOURCE_CWD AFAICT, CWD stands for current working directory. -- Grant Edwards grante Yow! I want another at RE-WRITE on my CEASAR visi.comSALAD!! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to make setup.exe default to local-install?
On 2009-01-13, Grant Edwards gra...@visi.com wrote: On 2009-01-13, Larry Hall (Cygwin) reply-to-list-only...@cygwin.com wrote: On 01/12/2009, Grant Edwards wrote: It looks like a batch file would work, but it pops up a nuisance console window. [Question: does local directory refer to the directory where setup.exe is located or to the current working directory?] It refers to the local directory containing all the packages in the directory structure you get when you download packages. We haven't downloaded packages yet. All we've done is start up setup.exe and we're sitting looking at the first screen. My mistake. We're at the second screen Choose a download source. -- Grant Edwards grante Yow! I'm RELIGIOUS!! at I love a man with visi.coma HAIRPIECE!! Equip me with MISSILES!! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to make setup.exe default to local-install?
Grant Edwards wrote: On 2009-01-13, Larry Hall (Cygwin) reply-to-list-only-lh AT cygwin DOT com wrote: ^^ http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. On 01/12/2009, Grant Edwards wrote: It looks like a batch file would work, but it pops up a nuisance console window. [Question: does local directory refer to the directory where setup.exe is located or to the current working directory?] It refers to the local directory containing all the packages in the directory structure you get when you download packages. So it is neither the directory where 'setup.exe' is located not the current working directory. If it's neither the current working directory nor the directory where setup.exe is located, then how does setup.exe know where to find it? Are you only interested in knowing where the local directory defaults to the first time it is run on a machine without a Cygwin installation? If so, then yes, it is CWD. Otherwise, the local directory is the local package directory where packages were downloaded last time, which may not be the synonymous with the CWD at the time that you start 'setup.exe'. In any case, the local directory to use is stored in '/etc/setup/last-cache'. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to make setup.exe default to local-install?
On 2009-01-13, Larry Hall (Cygwin) reply-to-list-only...@cygwin.com wrote: Are you only interested in knowing where the local directory defaults to the first time it is run on a machine without a Cygwin installation? Yes. If so, then yes, it is CWD. Thanks for confirming that. That's what my experiments and examination of setup.exe sources have shown. -- Grant Edwards grante Yow! ! Now I understand at advanced MICROBIOLOGY and visi.comth' new TAX REFORM laws!! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
How to make setup.exe default to local-install?
I'm creating a Cygwin snapshot for installation from CD, and I've got everything figured out except for one thing: I need setup.exe to default to a local install. I can't use a shortcut to run setup.exe because shortcuts have absolute paths. It looks like a batch file would work, but it pops up a nuisance console window. [Question: does local directory refer to the directory where setup.exe is located or to the current working directory?] I suppose I could build a custom setup.exe that checks the local install radio button by default instead of the network install button. But I was hoping there was somthing a little easier. -- Grant Edwards grante Yow! does your DRESSING at ROOM have enough ASPARAGUS? visi.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to make setup.exe default to local-install?
On 01/12/2009, Grant Edwards wrote: It looks like a batch file would work, but it pops up a nuisance console window. [Question: does local directory refer to the directory where setup.exe is located or to the current working directory?] It refers to the local directory containing all the packages in the directory structure you get when you download packages. So it is neither the directory where 'setup.exe' is located not the current working directory. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/