首页 > 解决方案 > 在 Windows 10 上安装 VB6 应用程序时缺少 Dll

问题描述

我有一个非常旧的 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 上打开该应用程序,它可以正常工作。

似乎安装文件导致了这个问题。我还尝试了以下系统上的设置文件:

有趣的是,每次我尝试使用 PDW 制作安装包时,它都会说缺少 dll。我检查了参考资料,它们在那里。而且我还再次添加了这些引用,但 PDW 仍然显示相同的警告。

请帮助解决这个问题,因为我真的没有这些知识来解决这个问题。或者可能是我可以尝试的其他方法,我不知道,在此先感谢。

标签: windowsvb6windows-10windows-xp32bit-64bit

解决方案


操作: SharedFile:“C:\Windows\System32\adbapx.ocx”(当前磁盘上的文件已经是最新的) 因为打包和开发向导是 32 位的,那么当它说它"C:\Windows\System32\adbapx.ocx"意味着 64 位时"C:\Windows\Syswow64\adbapx.ocx"。你需要注册这个。


推荐阅读