У меня очень старое приложение VB6, и я использую мастер пакетов и разработки для создания файла установки. Произошла ошибка при запуске приложения:
Я немного погуглил и попробовал следующие решения, но ни одно из них не работает:
- Проверено adbapx.ocx в System32 и SysWOW64, оно есть.
- Зарегистрировано adbapx.ocx вручную с помощью regsvr32 cmd
- Запустите файл 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 может быть проигнорирована. И следует заметить, что это приложение действительно хорошо работало на win10 в течение последних 3 месяцев, но вдруг служба поддержки сообщила мне, что установочный файл не работает. У меня уже установлено это приложение на моей машине, и я сделал другую установку на моей машине, проблема была воспроизведена. Я попытался открыть приложение на пользовательском P C без переустановки, оно работает.
Похоже, что файл установки вызвал проблему. Я также попробовал установочный файл в системе ниже:
- Win7 32bit, та же ошибка, но другой файл
- winXP 32bit, во время установки есть другая ошибка набора инструментов vb6, но приложение работает без проблем.
Интересно то, что каждый раз, когда я пытаюсь сделать установочный пакет, используя PDW, он говорит, что dll отсутствует. И я проверил ссылки, они есть. И я также добавляю эти ссылки снова, но PDW все еще показывал то же самое предупреждение.
Пожалуйста, помогите, потому что у меня действительно нет этих знаний, чтобы решить проблему. Или может быть другой метод, который я могу попробовать, что я не знаю, заранее спасибо.