added bit field in nsInstallFile for Windows Shared File and Do No Uninstall.
added support in fileop for registering ole server files. changed the way logging is done in install.log to write to the log file *before* the attempt to complete() the file installation process. This helps with debugging because is shows what file the installation probably stopped on. git-svn-id: svn://10.0.0.236/trunk@69622 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1855,6 +1855,9 @@ static JSConstDoubleSpec install_constants[] =
|
||||
{ nsInstall::INSUFFICIENT_DISK_SPACE, "INSUFFICIENT_DISK_SPACE" },
|
||||
{ nsInstall::FILENAME_TOO_LONG, "FILENAME_TOO_LONG" },
|
||||
|
||||
{ nsInstall::UNABLE_TO_LOCATE_LIB_FUNCTION, "UNABLE_TO_LOCATE_LIB_FUNCTION"},
|
||||
{ nsInstall::UNABLE_TO_LOAD_LIBRARY, "UNABLE_TO_LOAD_LIBRARY" },
|
||||
|
||||
{ nsInstall::GESTALT_UNKNOWN_ERR, "GESTALT_UNKNOWN_ERR" },
|
||||
{ nsInstall::GESTALT_INVALID_ARGUMENT, "GESTALT_INVALID_ARGUMENT" },
|
||||
|
||||
@@ -1866,6 +1869,10 @@ static JSConstDoubleSpec install_constants[] =
|
||||
{ nsInstall::NO_STATUS_DLG , "NO_STATUS_DLG" },
|
||||
{ nsInstall::NO_FINALIZE_DLG, "NO_FINALIZE_DLG" },
|
||||
|
||||
// these are bitwise values supported by addFile
|
||||
{ nsInstall::DO_NOT_UNINSTALL, "DO_NOT_UNINSTALL" },
|
||||
{ nsInstall::WIN_SHARED_FILE, "WIN_SHARED_FILE" },
|
||||
|
||||
{ CHROME_SKIN, "SKIN" },
|
||||
{ CHROME_LOCALE, "LOCALE" },
|
||||
{ CHROME_CONTENT, "CONTENT" },
|
||||
|
||||
Reference in New Issue
Block a user