Reboot before upgrade/uninstall (Explorer extension) - Advanced Installer Community
konstantinkoll
Posts: 15
Joined: Fri May 27, 2011 2:45 am

Reboot before upgrade/uninstall (Explorer extension)

Dear Advanced Installer team,

we just ran into another snag in preparing the installer for our product. Among the application itself, an Explorer namespace extension in a DLL gets installed. Deploying the product works fine, including some custom actions.

Problems arise when uninstalling or upgrading the product. The namespace extension DLL is still in use by the Windows Explorer, and cannot be uninstalled. In addition, a nasty "file is in use" dialog appears, which cannot shut down the Explorer. After browsing this forum, I've installed 2 custom actions taken from your RebootAfterUpgrade sample, and changed the conditions to REMOVE="ALL" AND NOT AFTERREBOOT. Uninstall gets correctly suspended, but no reboot takes place. After rebooting manually, an error message is displayed stating that the installer package cannot be found.

How can we achive the disred result of uninstalling/upgrading the product after a reboot, but before the Windows Explorer is launched? I've attached the .aip file along with the two VB scripts.

Thank you very much for your help,
Konstantin

P.S.: sorry for first posting under "Feature Requests"
Attachments
Setup.zip
(13.29 KiB) Downloaded 246 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Reboot before upgrade/uninstall (Explorer extension)

Hi Konstantin,

I answered to your original post, please take a look:
http://www.advancedinstaller.com/forums ... =1&t=18294

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”