Post a reply to the thread: DLL not registering -- Win7
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: DLL not registering -- Win7 The reboot "should" clear the pending file rename action. Windows deletes the old file, moves the new file from the temporary location to the target location (this removes the registry entry), WFP detects the file change and a rollback to the original file is triggert. So after the reboot, the registry entry "should" be gone. It is not advised to manipulate the pending rename registry on your own. It's very well possible that other programs or a windows update added items. Friedrich
Re: DLL not registering -- Win7
Re: DLL not registering -- Win7 In my case the Pending action can never be cleared because it is trying to replace a protected file so will always fail. So I presume the Pending action will still be there after future restarts? And therefore future installs will see this Pending action, and suggest restart?? (some installers check for pending items Before starting install, and suggest user restarts first to clear the pending item). IF the above is all true, then should I try and clear the Registry Pending item?
Re: DLL not registering -- Win7 "The System needs to be restarted...." is only displayed if your install replaced a locked/in-use file. This creates a new pending action. If the previous pending action was not cleared (e.g. system not rebooted) and the installer was able to replace the file (because something removed the "lock" state) then the install will not request a reboot even when there is still a reboot pending. Friedrich
Re: DLL not registering -- Win7 One last question on this subject, sorry :-) >> It shows as pending because the installer tried to overwrite it but it was locked (protected). Then Windows rebooted, replaced the file but WFP restored it to its original version. Does this mean that every time any software is installed in future, the OS will give the message "The System needs to be restarted...." because that pending file will never be cleared?? (and if so, should I try to do anything about it?)
Re: DLL not registering -- Win7 You are welcome Friedrich
Re: DLL not registering -- Win7 >> Windows File Protection (WFP)......... >> only a Windows update can replace this file. It shows as pending because the installer tried to overwrite it but it was locked (protected). Then Windows rebooted, replaced the file but WFP restored it to its original version. Many thanks. I think that explains all the odd and different results I've found on various computers and operating systems.
Re: DLL not registering -- Win7 Chris, If you check the compiler .htm file, do you see any reference to expsrv.dll? And do you install any "external" runtime component (e.g. a MS redistributable) from the installer? Friedrich
Re: DLL not registering -- Win7 I do not understand (yet) what is happening, but I have sorted out the original problem. I've removed any mention of expsrv.dll from SB8 Install script. And deleted the Registry entry for PendingFileRenameOperations. Then install again. This puts expsrv.dll back into the Pending... in the registry. Also vbajet32.dll which is dependent on expsrv.dll. Neither of these is mentioned in the install script so I do not know why they get put into the Registry as tmp files waiting to be renamed; every time I run the install. Not a SB problem, but if you have any thoughts I'll be interested. Thanks for the assistance and useful comments in this thread.
Re: DLL not registering -- Win7 Chris, You are not allowed to replace "expsrv.dll" because it is a file covered by Windows File Protection (WFP). OS Protected version is: 6.0.72.9589. You may need to update the operating system for this program to work correctly with package version: 6.0.72.9590. In other words, only a Windows update can replace this file. It shows as pending because the installer tried to overwrite it but it was locked (protected). Then Windows rebooted, replaced the file but WFP restored it to its original version. Does this help? Friedrich
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).
Forum Rules