+ Reply to Thread
Results 1 to 5 of 5

Thread: Reboot message after installation

  1. #1

    Default Reboot message after installation

    I have an installation that "sometimes" displays a "This system must be restarted to complete the installation" message after it is done. How can I tell what part of the installation generates this condition?

    We done run one or more external installs that are "chained" as part of the overall installation - could one of them be returning the "reboot required" condition?

    I've attached the log file from the last run that generated the message.
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Reboot message after installation

    Mark,

    If a file to be replaced is locked (in-use) then Windows needs a reboot. It only requests a reboot if the file can't be replaced because exclusive write access is not possible (file is locked/in-use).

    You can very easily check this. If the reboot message comes up, simply check the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager->PendingFileRenameOperations

    http://technet.microsoft.com/en-us/l.../cc960241.aspx

    There you'll find the file(s) that need(s) to be replaced at next reboot.

    As far as I can see, all kind of files are locked in your case:

    M:\MuniSoft\SM\SM_DATA.dll
    M:\MuniSoft\SM\C60ASCX.DLL
    M:\MuniSoft\SM\C60CLAX.DLL
    M:\MuniSoft\SM\C60DOSX.DLL
    M:\MuniSoft\SM\C60MSSX.DLL
    M:\MuniSoft\SM\C60RUNX.DLL
    M:\MuniSoft\SM\C60TPSX.DLL
    M:\MuniSoft\SM\LSPUZIPX.DLL
    and more...

    Hope this helps.

    Friedrich

  3. #3

    Default Re: Reboot message after installation

    Is there a flag or variable I can check to see if this condition exists?

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Reboot message after installation

    Mark,

    Get System Info -> Reboot Status. It lets you determine whether the system should be restarted. Returns "1" if the system should be restarted.

    BTW, all (or most of) your files are locked. So I think your application is "in-use" (active) when you do the update. You can test this BEFORE the file installation is performed if you would like to avoid a reboot.

    Friedrich

  5. #5

    Default Re: Reboot message after installation

    Quote Originally Posted by linder View Post
    Mark,

    Get System Info -> Reboot Status. It lets you determine whether the system should be restarted. Returns "1" if the system should be restarted.

    BTW, all (or most of) your files are locked. So I think your application is "in-use" (active) when you do the update. You can test this BEFORE the file installation is performed if you would like to avoid a reboot.

    Friedrich
    That's a big help, thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •