This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: setup bug...
On Tue, Nov 03, 2009 at 06:56:33PM +0100, Corinna Vinschen wrote:
>On Nov 3 12:37, Christopher Faylor wrote:
>> On Tue, Nov 03, 2009 at 12:16:43PM -0500, Charles Wilson wrote:
>> >In setup-1.7, on the "Select Local Package Directory" page, it says:
>> >
>> >Select a directory where you want Setup to store the installation files
>> >it downloads. The directory will be created if it does not already
>> >exist.
>> >
>> >So, I type in a directory name:
>> >
>> >C:\TEMP\cygwin17
>> >
>> >C:\TEMP exists, but cygwin17 does not. I get the following error popup:
>> >
>> >Could not change dir to C:\TEMP\cywin17: The system cannot find the file
>> >specified. [00000001]
>> >Abort Retry Ignore.
>> >
>> >
>> >If I manually create the cygwin17 directory (and click Retry),
>> >everything proceeds normally.
>> >
>> >This seems to be a new error, because this used to work. I won't have
>> >much time to track this down myself for a couple of weeks, so I figured
>> >I should document it here...
>>
>> Yeah, Mark J. Reed noticed this back in September. I've been keeping
>> his message in my inbox as a "todo" item just in case no one else got
>> around to it:
>>
>> http://cygwin.com/ml/cygwin/2009-09/msg00752.html
>>
>> I looked into this briefly back then and I don't think I saw any
>> possibility that this ever worked but maybe I was wrong.
>
>Shouldn't a simple call to mkdir_p prior to calling SetCurrentDirectoryA
>be enough to get this working?
Yes, I think so.
cgf