Closed Bug 424042 Opened 18 years ago Closed 18 years ago

Possible problem with files list in PushFilesToCheck macro in shared.nsh

Categories

(Firefox :: Installer, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: reed, Unassigned)

Details

I noticed this in browser/installer/windows/nsis/shared.nsh as I was looking around the NSIS files in relation to another bug: ; The files to check if they are in use during (un)install so the restart is ; required message is displayed. !macro PushFilesToCheck ; The first string to be pushed onto the stack MUST be "end" to indicate ; that there are no more relative file paths to check and the last string ; should be ${FileMainEXE} so if it is in use the CheckForFilesInUse macro ; returns after the first check. Push "end" Push "chrome\browser.jar" Push "chrome\classic.jar" Push "chrome\comm.jar" Push "chrome\${AB_CD}.jar" Push "chrome\pippki.jar" Push "chrome\reporter.jar" Push "chrome\toolkit.jar" Push "AccessibleMarshal.dll" Push "freebl3.dll" Push "nssckbi.dll" Push "nspr4.dll" Push "nssdbm3.dll" Push "sqlite3.dll" Push "xpcom.dll" Push "crashreporter.exe" Push "updater.exe" Push "xpicleanup.exe" Push "${FileMainEXE}" !macroend We've added other .dll files since this file was created (bug 399590 added nssutil3.dll for example). We've also removed things like xpicleanup.exe, too. Does this list need to be updated?
It is doubtful that it will be a problem since the macro that checks if these files are in use first checks for existence... it should still be updated though just in case one of the new files is in use when the others aren't as can be the case with some of the nss files.
add nssutil3, nss3, ssl3, softokn3 for firefox in addition add smime3 for thunderbird
For the most part the files checked have been reported as being in use when the application is not in use. At most we should remove xpicleanup.exe but I'm inclined to leave it in case it isn't removed for whatever reason since that was has been rather problematic in the past... plus it doesn't harm a thing if it doesn't exist. We've had reports of nspr4.dll and freebl3.dll being in use when the application isn't running... if we get reports of the additional files being in use we can always add them. btw: the files are checked so the UI can display a restart may be required message and nothing more. This is WONTFIX for the reasons above. If we find files that are in use then we can add to the list but based on bug reports and my own testing these are the only files.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.