1, the installation display Oledb32r.dll cannot register in the system registration database
In the C drive to find Oledb32r.dll, renamed to Oledb32r-2.dll can, DLL conflict.
2, WIN7 installation VB6 prompt VB98ENT.STF Error solution:
Found is Setupwiz.ini file parameter error, method:
1. Open the Setupwiz.ini and change "Acme=acmboot.exe" to "=setup\acmsetup.exe";
2.STF=SETUP\VB98ENT.STF change to =SETUP\ACMSETUP.STF, save exit;
3. Go to the Setup folder and rename vb98ent.stf to ACMSETUP.STF;
4. Copy all the files under the Vb6.0\setup to vb6.0, the directory, will be prompted if there is a file to replace, I chose to replace.
5. Run Setup.exe.
Install the VB6 batch file (copy to the directory where the VB6 is located, double-click Run). bat
@echo off
CD/D%~dp0
ren "C:\Program Files (x86) \common Files\System\Ole Db\oledb32r.dll" Oledb32r-2.dll
ren "C:\Program Files\Common Files\System\Ole Db\oledb32r.dll" Oledb32r-2.dll
echo n|copy/-y%~dp0setup\vb98ent. STF%~DP0SETUP\ACMSETUP.STF
echo n|copy/-y%~dp0setup\*.*%~dp0
REM replaces the error parameter in Setupwiz.ini:
@echo Off & setlocal enabledelayedexpansion
Del New_1.txt
for/f "tokens=*"%%i in (Setupwiz. INI) Do (
If "%%i" = "" (Echo.) Else (set "line=%%i" & Call:chg)
) >>new_1.txt
Attrib-s-h-r%~dp0setupwiz.ini
Move New_1.txt Setupwiz.ini
Start setup.exe
Exit
: Chg
REM This is reserved blank line
Set "line=!line:acmboot.exe=acmsetup.exe!"
Set "line=!line:vb98ent.stf=acmsetup.stf!"
Echo!line!
Goto:eof
WIN7 above system installation VB6 solution, attach a batch processing.