This commit is contained in:
ben%bengoodger.com 2003-11-06 09:31:41 +00:00
Родитель 7269444eb2
Коммит f3fc6bf979
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -858,6 +858,14 @@ HRESULT FileCopySequential(LPSTR szSourcePath, LPSTR szDestPath, LPSTR szFilenam
lstrcat(szDestFullFilename, szFilenameExtensionOnly);
}
// XXXben (11/06/2003) - I'm not sure if this is exactly the right fix
// for the uninstall log not being copied to the new location - this
// certainly works in Seamonkey's installer, but it seems like an obvious
// and convenient band-aid.
// Create the folder if it does not exist.
if (GetFileAttributes(szDestPath) != FILE_ATTRIBUTE_DIRECTORY)
CreateDirectory(szDestPath, NULL);
CopyFile(szSourceFullFilename, szDestFullFilename, TRUE);
}