windows - 在 Windows 10 上安装 VB6 应用程序时缺少 Dll
问题描述
我有一个非常旧的 VB6 应用程序,我正在使用打包和开发向导来制作安装文件。运行应用程序时发生错误:
我做了一些谷歌搜索,并尝试了以下解决方案,但它们都不起作用:
- 检查 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 32bit,安装过程中有另一个vb6工具包错误,但应用程序运行没有问题。
有趣的是,每次我尝试使用 PDW 制作安装包时,它都会说缺少 dll。我检查了参考资料,它们在那里。而且我还再次添加了这些引用,但 PDW 仍然显示相同的警告。
请帮助解决这个问题,因为我真的没有这些知识来解决这个问题。或者可能是我可以尝试的其他方法,我不知道,在此先感谢。
解决方案
操作: SharedFile:“C:\Windows\System32\adbapx.ocx”(当前磁盘上的文件已经是最新的) 因为打包和开发向导是 32 位的,那么当它说它"C:\Windows\System32\adbapx.ocx"
意味着 64 位时"C:\Windows\Syswow64\adbapx.ocx"
。你需要注册这个。
推荐阅读
- database - 将列表数据反射回 UI [Flutter]
- laravel - Laravel Livewire,如何在动态字段中应用 select2
- javascript - 使用带有反应窗口和粘性列的反应表
- python - 如何解决odoo上的错误time.clock()
- google-bigquery - 如何在 google bigquery 中创建表的克隆
- powershell - 将(字符串)变量设置为等于另一个(字符串)变量,包括修改
- character-encoding - LSTM 模型似乎没有从训练中学习
- python - 有人可以帮我删除输出列表中的空白点吗?我绑定了不同的方法,但似乎没有任何效果:(
- asp.net - 对于 ASP.NET 中的登录屏幕,我是否需要考虑其他任何注意事项?
- pdf - 可编辑的 PDF,相同的内容正在自动填充