|
![]() |
| BUG: Pending Restart Bugs |
Windows Installer will return a return code of 3010 if files are in use and at least one file is scheduled for deletion or overwrite. The bug is it is still scheduled even when the need is gone and it will cause problems when executed.
One scenario which will result in missing files:
Do not attempt to let Windows Installer "cover up" this fault by invoking advertised entry points and causing a repair. Of course as a builder of msis, "advertising" is a workaround to this issue.
The solution is that Windows Installer needs its own locked file scheduling which it needs to manage itself (and not just at restart). It needs to remove pending operations that are no longer required or at least not allow future installs that will generate this issue.
![]() | ![]() |