+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29

Thread: DLL not registering -- Win7

  1. #11

    Default Re: DLL not registering -- Win7

    Done exactly what you suggested (while you were typing the suggestion :-)

    Have checked: HKLM\System\CurrentControlSet...
    HKLM\System\ControlSet001 and 002
    HKLM\Software\Microsoft\CurrentVersion\RunOnce
    and RunOnceEx
    HKLM\Software\WOW6432Node\......\RunOnce

    Although install ended with message System must be restarted....
    None of the locations had any files pending. NO FILES PENDING.
    The \PendingFileRenameOperations node is not there.

    So.... ????

  2. #12

    Default Re: DLL not registering -- Win7

    Forgot to say.... I have done this using the latest Development Build of SB8 that you suggested.

    Happy to send you the DLL. errr. which one? :-)

  3. #13
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: DLL not registering -- Win7

    See attached screenshot. I have simulated a locked-file scenario for you on Windows 7 Ultimate x64. The file is in-use during the installation and so Windows needs a reboot. The Windows API writes the required information to the registry (elevated running setup).

    Friedrich
    Attached Images Attached Images  

  4. #14
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: DLL not registering -- Win7

    The one that does not register <g>. And you only need the Development Build if your self-registration DLL needs the additional OleInitialize() call.

    If a locked file causes a reboot request then it is definitely logged in the registry (PendingFileRenameOperations value).

    Friedrich

  5. #15
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: DLL not registering -- Win7

    Quote Originally Posted by Chris View Post
    NO FILES PENDING.
    The \PendingFileRenameOperations node is not there.

    So.... ????
    There is no PendingFileRenameOperations "node". It's a value name under the "Session Manager" key name. And don't get confused with the empty "FileRenameOperations" key name

    Friedrich

  6. #16

    Default Re: DLL not registering -- Win7

    I mean there is no PendingFileRenameOperation value name under the SessionManager Key.

  7. #17

    Default Re: DLL not registering -- Win7

    Oops, I may need you to delete my last message to avoid me being thought of as stupid. I need to go and repeat the process.

  8. #18
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: DLL not registering -- Win7

    If there is no PendingFileRenameOperations value then the installer did not request a reboot to replace a locked file. The only other action that causes a reboot message is a "Reboot Operating System" script function in your project.

    Friedrich

  9. #19
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: DLL not registering -- Win7

    Please do not delete it All this Windows UAC / x86 / x64 is very complex. It took us years to understand how it all works.

    Friedrich

  10. #20

    Default Re: DLL not registering -- Win7

    Thanks Friedrich,

    I hereby declare that I did not properly read the helpful reply which did in fact point me at the right place. :-|

    Anyway. The file that is pending is expsrv.dll (part of VBA DAO system).
    In the SB8 Installation script it is set as Check Version/Date, and therefore should not need to be installed.

    BUT... (maybe this is the problem).
    Source file (to be installed): date: 02/14/2008 vers: 6.0.72.9590
    Target file (already installed): 07/14/2009 vers: 6.0.72.9589
    ie. Date newer but version older

    Target file is already installed in both Win\System32\ and \sysWOW64\

    Despite me having run the install a dozen times (and restarted), this file has NOT been replaced in either target location. But is shown as pending.

    Maybe you can guess at what is getting confused.
    (I probably do not need to install this file anyway -- historic reasons why it's there -- and also I will try changing source file Date to after 7/14/2009 to see if that fixes everything).

+ 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
  •