Windows Installer-Avoid FileinUse dialog box when Installing a package

“Short” Answer Essentially: you could 1) run completely silently (suppresses the files-in-use dialog), 2) shut down locking applications gracefully (application update to allow graceful shutdown – with or without restart manager support), 3) ensure proper service control (if dealing with services), 4) force-kill running processes (the “sledgehammer-approach”), 5) abort setup if locks are detected, 6) … Read more