a bit more logging
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5219 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b23a7560ee
commit
7af66a4a9c
1 changed files with 2 additions and 0 deletions
|
@ -335,10 +335,12 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
||||||
{
|
{
|
||||||
if (GetLastError() != ERROR_ALREADY_EXISTS)
|
if (GetLastError() != ERROR_ALREADY_EXISTS)
|
||||||
{
|
{
|
||||||
|
log_printf3("CreateDirectory: can't create \"%s\" (err=%d)",buf,GetLastError());
|
||||||
exec_error++;
|
exec_error++;
|
||||||
}
|
}
|
||||||
else if ((GetFileAttributes(buf1) & FILE_ATTRIBUTE_DIRECTORY) == 0)
|
else if ((GetFileAttributes(buf1) & FILE_ATTRIBUTE_DIRECTORY) == 0)
|
||||||
{
|
{
|
||||||
|
log_printf3("CreateDirectory: can't create \"%s\" - a file already exists",buf);
|
||||||
exec_error++;
|
exec_error++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue