在Windows 10上安装VB6应用程序时缺少Dll
我有一个非常旧的VB6应用程序,我正在使用软件包和开发向导创建安装文件。运行应用程序时出错: 我做了一些谷歌搜索,并尝试了以下解决方案,但没有一个有效:在Windows 10上安装VB6应用程序时缺少Dll,windows,vb6,windows-10,windows-xp,32bit-64bit,Windows,Vb6,Windows 10,Windows Xp,32bit 64bit,我有一个非常旧的VB6应用程序,我正在使用软件包和开发向导创建安装文件。运行应用程序时出错: 我做了一些谷歌搜索,并尝试了以下解决方案,但没有一个有效: 检查System32和SysWOW64中的adbapx.ocx,它就在那里 使用regsvr32 cmd手动注册adbapx.ocx 以管理员身份运行安装程序文件和vb6应用程序文件(我每次都这样做) 以下是安装过程中的日志文件: %% PLEASE DO NOT MODIFY OR DELETE THIS FILE! %% %%
- 检查System32和SysWOW64中的adbapx.ocx,它就在那里
- 使用regsvr32 cmd手动注册adbapx.ocx
- 以管理员身份运行安装程序文件和vb6应用程序文件(我每次都这样做)
%% PLEASE DO NOT MODIFY OR DELETE THIS FILE! %%
%% This file contains information about the installation of an application. %%
%% It will be used to automatically remove all application components from your computer if you choose to do so. %%
NOTE: Beginning of the bootstrapper section
CONFIG: Title: "CCI Manager"
ACTION: RegKey: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "SharedDLLs"
ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\VB6STKIT.DLL"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\COMCAT.DLL"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\MSVCRT40.DLL"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\STDOLE2.TLB"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\ASYCFILT.DLL"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\OLEPRO32.DLL"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\OLEAUT32.DLL"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\msvbvm60.dll"
(File currently on disk was already up to date)
ACTION: DllSelfRegister: "C:\WINDOWS\SYSTEM32\COMCAT.DLL"
ACTION: TLBRegister: "C:\WINDOWS\SYSTEM32\STDOLE2.TLB"
ACTION: DllSelfRegister: "C:\WINDOWS\SYSTEM32\OLEPRO32.DLL"
ACTION: DllSelfRegister: "C:\WINDOWS\SYSTEM32\OLEAUT32.DLL"
ACTION: DllSelfRegister: "C:\WINDOWS\SYSTEM32\msvbvm60.dll"
NOTE: End of the bootstrapper section
NOTE: Now spawning the main Setup program 'Setup1.exe'....
ACTION: SharedFile: "C:\Windows\System32\RDOCURS.DLL"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\MSRDO20.DLL"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\SoftekBarcode.ocx"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\Code39draw.ocx"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\MSMAPI32.OCX"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\MSSTDFMT.DLL"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\MSADODC.OCX"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\MSINET.OCX"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\MSCOMCTL.OCX"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\Windows\System32\tdbgpp.dll"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\Windows\System32\todgub6.dll"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\todg6.ocx"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\adbapx.ocx"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\imgedit.ocx"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\comctl32.ocx"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\ImageMagickObject.dll"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\adbactvx.dll"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\MSBIND.DLL"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\Windows\System32\MSVCRT.DLL"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\scrrun.dll"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\Windows\System32\tibase6.dll"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\Windows\System32\tishare6.dll"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\titime6.ocx"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\tidate6.ocx"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\titext6.ocx"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Program Files (x86)\Common Files\Designer\MSDERUN.DLL"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\tinumbl6.ocx"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\VB5DB.DLL"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\Windows\System32\msrepl35.dll"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\Windows\System32\MSRD2X35.DLL"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\Windows\System32\expsrv.dll"
(File was not found or was an older version -- new file copied)
ACTION: SystemFile: "C:\Windows\System32\vbajet32.dll"
(File was not found or was an older version -- new file copied)
ACTION: SystemFile: "C:\Windows\System32\MSJINT35.DLL"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\Windows\System32\MSJTER35.DLL"
(File currently on disk was already up to date)
ACTION: SystemFile: "C:\Windows\System32\msjet35.dll"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\DAO350.DLL"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\DAO2535.TLB"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\xarraydb.ocx"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\psapi.dll"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\wininet.dll"
(File currently on disk was already up to date)
ACTION: SharedFile: "C:\Windows\System32\adbapi.dll"
(File currently on disk was already up to date)
ACTION: PrivateFile: "C:\Program Files (x86)\CCI Manager\CCI Manager.exe"
(File was not found or was an older version -- new file copied)
ACTION: DllSelfRegister: "C:\Windows\System32\MSRDO20.DLL"
ACTION: DllSelfRegister: "C:\Windows\System32\SoftekBarcode.ocx"
ACTION: DllSelfRegister: "C:\Windows\System32\Code39draw.ocx"
ACTION: DllSelfRegister: "C:\Windows\System32\MSMAPI32.OCX"
ACTION: DllSelfRegister: "C:\Windows\System32\MSSTDFMT.DLL"
ACTION: DllSelfRegister: "C:\Windows\System32\MSADODC.OCX"
ACTION: DllSelfRegister: "C:\Windows\System32\MSINET.OCX"
ACTION: DllSelfRegister: "C:\Windows\System32\MSCOMCTL.OCX"
ACTION: DllSelfRegister: "C:\Windows\System32\todgub6.dll"
ACTION: DllSelfRegister: "C:\Windows\System32\todg6.ocx"
ACTION: DllSelfRegister: "C:\Windows\System32\adbapx.ocx"
ACTION: DllSelfRegister: "C:\Windows\System32\imgedit.ocx"
ACTION: DllSelfRegister: "C:\Windows\System32\comctl32.ocx"
*** ERROR: LoadLibrary() failed while registering file 'C:\Windows\System32\ImageMagickObject.dll'
*** DURING THIS ACTION: DllSelfRegister: "C:\Windows\System32\ImageMagickObject.dll"
*** ERROR: An error occurred while registering the file 'C:\Windows\System32\ImageMagickObject.dll'
*** ERROR: (User Responded with 'Ignore')
*** DURING THIS ACTION: DllSelfRegister: "C:\Windows\System32\ImageMagickObject.dll"
ACTION: DllSelfRegister: "C:\Windows\System32\adbactvx.dll"
ACTION: DllSelfRegister: "C:\Windows\System32\MSBIND.DLL"
ACTION: DllSelfRegister: "C:\Windows\System32\scrrun.dll"
ACTION: DllSelfRegister: "C:\Windows\System32\tishare6.dll"
ACTION: DllSelfRegister: "C:\Windows\System32\titime6.ocx"
ACTION: DllSelfRegister: "C:\Windows\System32\tidate6.ocx"
ACTION: DllSelfRegister: "C:\Windows\System32\titext6.ocx"
ACTION: DllSelfRegister: "C:\Program Files (x86)\Common Files\Designer\MSDERUN.DLL"
ACTION: DllSelfRegister: "C:\Windows\System32\tinumbl6.ocx"
ACTION: DllSelfRegister: "C:\Windows\System32\MSRD2X35.DLL"
ACTION: DllSelfRegister: "C:\Windows\System32\msjet35.dll"
ACTION: DllSelfRegister: "C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\DAO350.DLL"
ACTION: TLBRegister: "C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\DAO2535.TLB"
ACTION: DllSelfRegister: "C:\Windows\System32\xarraydb.ocx"
ACTION: ShellLink: "CCI Manager", "CCI Manager"
ACTION: RegKey: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "App Paths\CCI Manager.exe"
ACTION: RegValue: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CCI Manager.exe", ""
imageMagick问题可以忽略。需要注意的是,在过去的3个月里,这个应用在win10上运行得非常好,但是突然,服务台告诉我安装文件不起作用。我已经在我的机器上安装了此应用程序,并且我在我的机器上进行了另一次安装,该问题已被复制。我尝试在用户的PC上打开应用程序,但没有重新安装,它正在工作
似乎是安装文件导致了问题。我还在以下系统上尝试了安装文件:
- Win7 32位,相同错误但文件不同
- winXP 32位,在安装过程中出现另一个vb6工具包错误,但应用程序运行时没有问题
(当前磁盘上的文件已经是最新的)因为包和开发向导是32位的,所以当它说“C:\Windows\System32\adbapx.ocx”时,它的意思是64位的
“C:\Windows\Syswow64\adbapx.ocx”
。您需要注册此项。有两种建议的方法可以解决此问题
1-尝试以管理员身份打开cmd
sfc/scannow
这必须自动修复丢失的Dll文件
2-按照此处的步骤操作所有解决方案都是正确的,值得尝试。但我只是用我的解决方案解决了我的问题 每当我们的IT支持团队将WIN10安装到一台新电脑上时,他们使用的WIN10安装包中都有旧版本的DLL。但是当我创建安装包时,我引用的DLL是较新的版本。我将具有较新版本的DLL复制到新PC(WIN10 PC)。我在下面列出了我复制的DLL:
adbactvx.dll
adbapi.dll
adbapx.ocx
adbapxcc.dll
adbcom.dll
adbctls.ocx
我将上面的dll/ocx文件复制到SysWOW64并替换了旧的。这解决了我的问题 安装程序似乎已成功注册ocx。因此,消息的关键部分是
或其依赖项之一。目标计算机上可能缺少一个文件。挑战在于确定丢失了哪个文件。将帮助您确定ocx需要哪些文件,然后您可以手动尝试查看缺少的内容。@BrianMStafford非常好的观点!!我现在正在做。我也注意到了!!你可能想尝试一下,而不是依赖沃克,显然后者已经过时了。此外,如果这些工具所能做的静态分析不能识别您缺少的依赖项,请尝试Process Monitor。我也处于类似的位置。我有一堆不同的VB6程序,它们都使用一组核心组件。有些是商业的,有些是我写的。我对这个特定问题的解决方案是创建一个只包含这些共享组件的设置,并将其提供给我们的打包团队,以便将其包含在其卷展中。