Hi All
It seems as due i have the same problem.
All the below is referred to an ADMIN user.
My control name is K2kinstaller.ocx,which was created with
VB6 and is exported with a CAB file.
The
html file i use has the following code:
Code:
<HTML>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
<BODY>
<SCRIPT FOR=window EVENT=onload LANGUAGE="JScript">
window.moveTo(0,0) ;
window.resizeTo(window.screen.width,window.screen.height);
</SCRIPT>
<center><br><br><br><br>
<object width=480 height=313 id=KissInstallerOb
CLASSID="CLSID:8293D586-B0E2-494E-89DC-ADDCDA153B3E"
CODEBASE="K2KInstaller.CAB#version=1,3,0,164">
<PARAM NAME="UpdateURL" VALUE="[!KISS-ROOT!]outgoing\Update.exe">
<PARAM NAME="TransformURL" VALUE="[!KISS-ROOT!]outgoing\New Transform.mst">
<PARAM NAME="InstallURL" VALUE="[!KISS-ROOT!]outgoing\KISS Client.msi">
</object>
</center>
</BODY>
</HTML>
The [!KISS-ROOT!] is replaced programaticly.
If the ini file will help i can post it.
The ocx control has a few dependencies as well.
Like VBRun60.cab which is downloaded from the web,
and ComCtl32.cab which also is downloaded from the web
And another ocx on the 'user control' it self.
I can find all the registries entries in the registry.
(I think)
On the development machine all is working well.
So what could be the problem?
Any help would be just great.
Yoav
The ini file for this CAB has the following code:
;INF file for K2KInstaller.ocx
;DestDir can be 10 for Windows directory, 11 for Windows\System(32) directory, or left blank for the Occache directory.
[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[DefaultInstall]
CopyFiles=install.files
RegisterOCXs=RegisterFiles
AddReg=AddToRegistry
[RInstallApplicationFiles]
CopyFiles=install.files
RegisterOCXs=RegisterFiles
AddReg=AddToRegistry
[DestinationDirs]
install.files=11
[SourceDisksNames]
1=%DiskName%,K2KInstaller.CAB,1
[Add.Code]
K2KInstaller.ocx=K2KInstaller.ocx
iobjsafe.tlb=iobjsafe.tlb
K2KHelper10.dll=K2KHelper10.dll
msvcrt.dll=msvcrt.dll
COMCTL32.OCX=COMCTL32.OCX
K2KFileLoaderCtl10.ocx=K2KFileLoaderCtl10.ocx
msvbvm60.dll=msvbvm60.dll
OLEAUT32.DLL=OLEAUT32.DLL
OLEPRO32.DLL=OLEPRO32.DLL
ASYCFILT.DLL=ASYCFILT.DLL
STDOLE2.TLB=STDOLE2.TLB
COMCAT.DLL=COMCAT.DLL
[install.files]
K2KInstaller.ocx=K2KInstaller.ocx
iobjsafe.tlb=iobjsafe.tlb
K2KHelper10.dll=K2KHelper10.dll
msvcrt.dll=msvcrt.dll
K2KFileLoaderCtl10.ocx=K2KFileLoaderCtl10.ocx
[SourceDisksFiles]
K2KInstaller.ocx=1
iobjsafe.tlb=1
K2KHelper10.dll=1
msvcrt.dll=1
K2KFileLoaderCtl10.ocx=1
[K2KInstaller.ocx]
file-win32-x86=thiscab
RegisterServer=yes
clsid={8293D586-B0E2-494E-89DC-ADDCDA153B3E}
DestDir=
FileVersion=1,3,0,164
[iobjsafe.tlb]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=0,0,0,0
[K2KHelper10.dll]
file-win32-x86=thiscab
RegisterServer=yes
clsid={06CE1E8C-5A5E-405D-9CD1-4204B4DCB2AC}
DestDir=
FileVersion=1,3,0,164
[msvcrt.dll]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=6,1,8924,0
[COMCTL32.OCX]
hook=COMCTL32.cab_Installer
clsid={9ED94440-E5E8-101B-B9B5-444553540000}
FileVersion=6,0,81,5
[COMCTL32.cab_Installer]
file-win32-x86=
InfFile=ComCtl32.inf
[K2KFileLoaderCtl10.ocx]
file-win32-x86=thiscab
RegisterServer=yes
clsid={2BF2F727-8C18-402D-AF21-A67F8B928404}
DestDir=11
FileVersion=1,3,0,164
[msvbvm60.dll]
hook=msvbvm60.cab_Installer
FileVersion=6,0,89,64
[msvbvm60.cab_Installer]
file-win32-x86=
run=%EXTRACT_DIR%\VBRun60.exe
[OLEAUT32.DLL]
hook=OLEAUT32.cab_Installer
FileVersion=2,40,4275,1
[OLEAUT32.cab_Installer]
file-win32-x86=
run=%EXTRACT_DIR%\VBRun60.exe
[OLEPRO32.DLL]
hook=OLEPRO32.cab_Installer
FileVersion=5,0,4275,1
[OLEPRO32.cab_Installer]
file-win32-x86=
run=%EXTRACT_DIR%\VBRun60.exe
[ASYCFILT.DLL]
hook=ASYCFILT.cab_Installer
FileVersion=2,40,4275,1
[ASYCFILT.cab_Installer]
file-win32-x86=
run=%EXTRACT_DIR%\VBRun60.exe
[STDOLE2.TLB]
hook=STDOLE2.cab_Installer
FileVersion=2,40,4275,1
[STDOLE2.cab_Installer]
file-win32-x86=
run=%EXTRACT_DIR%\VBRun60.exe
[COMCAT.DLL]
hook=COMCAT.cab_Installer
FileVersion=4,71,1460,1
[COMCAT.cab_Installer]
file-win32-x86=
run=%EXTRACT_DIR%\VBRun60.exe
[Setup Hooks]
AddToRegHook=AddToRegHook
[AddToRegHook]
InfSection=DefaultInstall2
[DefaultInstall2]
AddReg=AddToRegistry
[AddToRegistry]
HKLM,"SOFTWARE\Classes\CLSID\{8293D586-B0E2-494E-89DC-ADDCDA153B3E}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}"
HKLM,"SOFTWARE\Classes\CLSID\{8293D586-B0E2-494E-89DC-ADDCDA153B3E}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}"
HKCR,"Licenses",,,"Licensing: Copying the keys may be a violation of established copyrights."
[RegisterFiles]
%11%\K2KFileLoaderCtl10.ocx
%11%\K2KHelper10.dll
%11%\K2KInstaller.ocx