IE 6/7, restart computer on plugin update

Hello.

I noticed that after some Windows Update, IE6 (also 7), XP, asks to restart the computer after some plugin was sucessfully updated. The plugin is not in use at the moment when the webpage (that requires the plugin) is loaded.


Do you know why And, most important, does anybody know a way how to avoid the restart


Thank you.
Cosmin



Answer this question

IE 6/7, restart computer on plugin update

  • KlausC

    No, I haven't try this because I don't think that the customer will be so happy to add some MB to every plugin download.

    I caught the restart once (with an anti-spyware ), IE was trying to add the registry key to install the plugin:

    RunOnce: [ICDRegOCX1] rundll32.exe advpack.dll,RegisterOCX "some path different than C:\WINNT\Downloaded Program Files\myplugin.dll".

    I do not know why the path was different than the "standard" one, the old version of the plugin was installed on "Downloaded Program Files", I expected to install the new version in the same place.

    And it seems I found a solution, based on your answer: if you install the Microsoft Visual C++ 2005 Redistributable Package (http://www.microsoft.com/downloads/details.aspx familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en) once it seems that you do not have to restart the computer anymore on each plugin update.

    I have to test (further) this solution to be sure it is working everytime, or at least.. often.

    Thank you for your time.

    Cosmin


  • mcheung

    There is no install program running. There is only one instance of iexplore.exe running.

    The sequence is the following: I update the plugin on the webserver and the javascript code that specifies the version. The client downloads the page and IE gets the latest version of the .cab file. And then it asks to restart the computer.

    One little thing is annoying as well: if you press "Yes, restart my computer that is running Windows" button, the plugin is launched and it is destroyed (along with the IE instance) during the rebooting process.

    Any other opinions


  • pfh

    Does your plugin update include installing something (like the C Runtime) into windows\system32, or update some other potentially common file

    I needed to install the prerequisite (now required with new compiler) C Runtime into the ActiveX cache along with the plugin DLL in order to get rid of the request to reboot the machine.


  • NehaVSTS

    Some install programs will ask you to reboot even when it's not strictly necessary.

    But if we're talking BHOs and extensions, you should make sure all iexplore.exe processes are terminated before upgrading. Some BHOs/extensions may be locked by the explorer.exe process as well, though. In that case you probably can't avoid rebooting.

    Troels


  • IE 6/7, restart computer on plugin update