Re: [Zope-dev] Minor windows intaller bug and a question
From: Chris McDonough [EMAIL PROTECTED] Installing 2.7.0rc2 windows zope installer, i noticed that it uses hard-coded value for instance directory. The proposed value is C:\Zope-Instance. However, some users (me :) don't have C: drive. For some reasons windows choose G: letter for boot drive and (unlike not-boot drives) this letter can't be changed. Most installers autodetect this situation but Zope installer not. You can change the instance dir manually, no? You mean it's a bug that it doesn't detect your system drive and instead always uses C as the default, right? If so, yes, I agree, but likely it won't get fixed too soon as it's so minor. I find the default value strange. The old installer put it into the program files directory, which seem to me to be the reasonable place. Opinions on this? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
RE: [Zope-dev] Minor windows intaller bug and a question
[Chris McDonough, on the C:\Zope-Instance default] You can change the instance dir manually, no? You mean it's a bug that it doesn't detect your system drive and instead always uses C as the default, right? If so, yes, I agree, but likely it won't get fixed too soon as it's so minor. The right drive letter is the value of InnoSetup's {sd} (system drive) constant, but I don't know how to feed that into the Pascal code that sets this up. [Lennart Regebro] I find the default value strange. The old installer put it into the program files directory, which seem to me to be the reasonable place. Opinions on this? PITA. If you want to adhere to Windows standards, programs belong under Program Files, but a Zope instance is more data so really belongs in some confusing place like $WINDOWS_DIRECTORY\Application Data\Zope Corporation\Zope-Instance\ (under an English version of Windows), or even under a user-specific variant of that. That makes it maximally difficult for you to find your data, and the embedded spaces in the path make it maximally difficult for you to use command-line tools too (e.g., maybe you want to do an fsdump on your Data.fs). I'd much rather have this stuff where it's easy to find, and easy to use from a DOS box. The installer *lets* you put it anywhere; the default should favor ease of understanding and use. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Minor windows intaller bug and a question
From: Chris McDonough [EMAIL PROTECTED] The old installer didn't create an instance home, it just created a software home. The software home is still put into program files by the new installer. Ah. Well, I'm not sure I think C:\ is such a good place for the default anyway. I'll test things out and think about it, and maybe it get's magically changed before 2.8. ;-) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Minor windows intaller bug and a question
On Thu, 2004-02-05 at 11:10, Lennart Regebro wrote: I find the default value strange. The old installer put it into the program files directory, which seem to me to be the reasonable place. Opinions on this? The old installer didn't create an instance home, it just created a software home. The software home is still put into program files by the new installer. - C ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
RE: [Zope-dev] Minor windows intaller bug and a question
On Thu, 2004-02-05 at 11:37, Tim Peters wrote: The right drive letter is the value of InnoSetup's {sd} (system drive) constant, but I don't know how to feed that into the Pascal code that sets this up. I'm sure it's possible, I can probably figure it out. I'll put it on my todo list. - C ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Minor windows intaller bug and a question
On Thu, 2004-02-05 at 11:39, Lennart Regebro wrote: From: Chris McDonough [EMAIL PROTECTED] The old installer didn't create an instance home, it just created a software home. The software home is still put into program files by the new installer. Ah. Well, I'm not sure I think C:\ is such a good place for the default anyway. I'll test things out and think about it, and maybe it get's magically changed before 2.8. ;-) Do you mean that you don't think C:\Zope-Instance is a good default for an instance home? If so, I suppose I'd agree. But I chose it because I couldn't (and still can't) think of anything better. As Tim said, we could figure out the application data path, but as far as I can tell no one really uses that or expects to actually find anything there, and it's typically so verbose with so many path elements with spaces in them that it would be painful to specify from the console, which for better or worse, still needs to be used from time to time. - C ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
RE: [Zope-dev] Minor windows intaller bug and a question
[Tim Peters] The right drive letter is the value of InnoSetup's {sd} (system drive) constant, but I don't know how to feed that into the Pascal code that sets this up. [Chris McDonough] I'm sure it's possible, I can probably figure it out. I'll put it on my todo list. Staring at the docs, I think this Pascal expression: ExpandConstant('xyz{sd}xyz') would yield the string xyzC:xyz on my box today. I don't have access to any box where the system drive isn't C:, though -- PITA to test. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )