It's been more than 6 years since this was posted, and I can't seem to find an answer to this question either.
We have a shell extension (dll) which explorer.exe loads when we preview a file of a certain extension. Our MSI's uninstall old versions of our product and install the new one (upgrade). We also support would like to support downgrades but this is besides the point. If during the uninstallation phase, our shell extension is loaded by explorer.exe, we get a popup with the 2 following options:
- Automatically close application and attempt to restart them after setup is complete
- Do not close applications (a reboot will be required)
When we choose the first option, we next get the message "The setup was unable to automatically close all requested applications. Please ensure that the applications holding files in use are closed before continuing with the installation". It is obviously not an option for us to ask the user to close and restart windows explorer manually.
When we choose the second option, the installation completes but does not ask us to reboot at the end. After manual reboot, the shell extension loads properly. Perhaps there is a way to display a popup for the purpose of rebooting?
Basically, if there is a way for the first option to work, this would be our preferred way to handle this as we would prefer to not impose a reboot to our users. If there is no way to accomplish this, then we would like to have a popup which offers the user the opportunity to reboot after the installation is complete.
Thank you,
Eric
FOLLOW US
Get the latest news in Application Packaging