在 Windows 10 上安装 VB6 应用程序时缺少 DLL
Dll missing when installing VB6 application on Windows 10
我有一个非常旧的 VB6 应用程序,我正在使用打包和开发向导来制作安装文件。当我 运行 应用程序时发生错误:
我进行了一些谷歌搜索并尝试了以下解决方案,但其中 none 个有效:
- 查看了System32和SysWOW64中的adbapx.ocx,是的
- 已使用 regsvr32 cmd
手动注册 adbapx.ocx
- 运行 setup 文件和 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 工具包错误,但应用 运行s 没有问题。
有趣的是,每次我尝试使用 PDW 制作安装包时,它都说缺少 dll。我检查了参考资料,它们在那里。我也再次添加了这些引用,但 PDW 仍然显示相同的警告。
请帮助解决这个问题,因为我真的没有这些知识来解决这个问题。或者可能是我不知道的其他方法我可以尝试,在此先感谢。
操作:共享文件:"C:\Windows\System32\adbapx.ocx"
(当前磁盘上的文件已经是最新的) 因为打包和开发向导是 32 位的,所以当它说 "C:\Windows\System32\adbapx.ocx"
时,它意味着 64 位 "C:\Windows\Syswow64\adbapx.ocx"
。你需要注册这个。
有两种建议的方法可以解决此问题。
1 -尝试以管理员身份打开cmd
sfc /scannow
这必须对丢失的 Dll 文件进行自动修复。
2 - 按照此处的步骤操作 Register or Unregister ActiveX DLL or OCX Files
所有的解决方案都是正确的,值得一试。但我只是通过使用我的解决方案解决了我的问题。
每当我们的 IT 支持团队将 WIN10 安装到新 PC 时,他们使用的 WIN10 安装包中包含旧版本的 dll。但是当我创建安装包时,我引用的 dll 是较新的版本。我将具有较新版本的dll复制到新PC(WIN10 PC)。我在下面列出了我复制的 dll:
adbactvx.dll
adbapi.dll
adbapx.ocx
adbapxcc.dll
adbcom.dll
adbctls.ocx
我将上面的dll/ocx文件复制到SysWOW64并替换了旧的。这解决了我的问题。
我有一个非常旧的 VB6 应用程序,我正在使用打包和开发向导来制作安装文件。当我 运行 应用程序时发生错误:
我进行了一些谷歌搜索并尝试了以下解决方案,但其中 none 个有效:
- 查看了System32和SysWOW64中的adbapx.ocx,是的
- 已使用 regsvr32 cmd 手动注册 adbapx.ocx
- 运行 setup 文件和 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 工具包错误,但应用 运行s 没有问题。
有趣的是,每次我尝试使用 PDW 制作安装包时,它都说缺少 dll。我检查了参考资料,它们在那里。我也再次添加了这些引用,但 PDW 仍然显示相同的警告。
请帮助解决这个问题,因为我真的没有这些知识来解决这个问题。或者可能是我不知道的其他方法我可以尝试,在此先感谢。
操作:共享文件:"C:\Windows\System32\adbapx.ocx"
(当前磁盘上的文件已经是最新的) 因为打包和开发向导是 32 位的,所以当它说 "C:\Windows\System32\adbapx.ocx"
时,它意味着 64 位 "C:\Windows\Syswow64\adbapx.ocx"
。你需要注册这个。
有两种建议的方法可以解决此问题。
1 -尝试以管理员身份打开cmd
sfc /scannow
这必须对丢失的 Dll 文件进行自动修复。
2 - 按照此处的步骤操作 Register or Unregister ActiveX DLL or OCX Files
所有的解决方案都是正确的,值得一试。但我只是通过使用我的解决方案解决了我的问题。
每当我们的 IT 支持团队将 WIN10 安装到新 PC 时,他们使用的 WIN10 安装包中包含旧版本的 dll。但是当我创建安装包时,我引用的 dll 是较新的版本。我将具有较新版本的dll复制到新PC(WIN10 PC)。我在下面列出了我复制的 dll:
adbactvx.dll
adbapi.dll
adbapx.ocx
adbapxcc.dll
adbcom.dll
adbctls.ocx
我将上面的dll/ocx文件复制到SysWOW64并替换了旧的。这解决了我的问题。