зеркало из https://github.com/mozilla/gecko-dev.git
make the uninstaller work
This commit is contained in:
Родитель
7269444eb2
Коммит
f3fc6bf979
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче