• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 800
  • Last Modified:

Internet download setup not work for some machine.

I create OCX using vb5 and use setup wizard to generate Internet download setup.
It's ok for many machine but not work on some machine but show red X sign on my component.
My ocx using msinet.ocx and ADO and molezip.dll. I known about some component will download from microsoft site as default but I download all cab file that I found in .inf file inside .cab and put at the same location of my cabfile and regenerate Internet download setup from wizard using option to reference dependency cab at same location. I searched for fix this problem but that not clear for me. If I should have to have a tool to find what a problem for me please tell direct link to download because I lost a lot of the link for tool eg. "Code Download Log Viewer" (I think may it removed).

I try to fix with my self like this.
- manual regiser my ocx (pass and work fine immediately after this step for some machine!)
- manual regiser dependency ocx (I'm extract from the cab then use regsvr32)
- manual register dependency dll (some machine cannot pass this step It tell "Load file fail or some thing....." I think may I have older version)
For some machine pass all step and It still not work.

### Here is dependency that I downloaded from microsoft and put at same location of my .cab
 - MSInet.cab
 - mdac_typ.cab
 - MsStkPrp.cab
 - AsycFilt.cab
 - MSVBVM50.cab

### Here is dependency file packed in my cab file
 - msado15.dll
 - msadox.dll
 - MoleZip.dll

### Here is detail of .inf in my .cab
;INF file for Sync.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

[Add.Code]
SYNC.OCX=SYNC.OCX
MSSTKPRP.DLL=MSSTKPRP.DLL
MOLEZIP.DLL=MOLEZIP.DLL
MSADOX.DLL=MSADOX.DLL
MSADO15.DLL=MSADO15.DLL
MSINET.OCX=MSINET.OCX
ASYCFILT.DLL=ASYCFILT.DLL
MSVBVM50.DLL=MSVBVM50.DLL

[SYNC.OCX]
file-win32-x86=thiscab
RegisterServer=yes
clsid={8434A691-2052-4438-86DC-911266224D32}
DestDir=
FileVersion=1,0,0,14

[MSSTKPRP.DLL]
hook=MsStkPrp.cab_Installer
FileVersion=6,0,81,69

[MsStkPrp.cab_Installer]
file-win32-x86=MsStkPrp.cab
InfFile=MsStkPrp.inf

[MOLEZIP.DLL]
file-win32-x86=thiscab
RegisterServer=yes
clsid={F64EBFC5-393D-4D81-94DF-788B9D7E886E}
DestDir=
FileVersion=1,8,0,135

[MSADOX.DLL]
file-win32-x86=thiscab
RegisterServer=yes
clsid={00000609-0000-0010-8000-00AA006D2EA4}
DestDir=
FileVersion=2,70,7713,0

[MSADO15.DLL]
file-win32-x86=thiscab
RegisterServer=yes
clsid={00000514-0000-0010-8000-00AA006D2EA4}
DestDir=
FileVersion=2,70,7713,0

[MSINET.OCX]
hook=MSInet.cab_Installer
clsid={48E59293-9880-11CF-9754-00AA00C00908}
FileVersion=6,0,81,69

[MSInet.cab_Installer]
file-win32-x86=MSInet.cab
InfFile=MSInet.inf

[ASYCFILT.DLL]
hook=AsycFilt.cab_Installer
FileVersion=2,20,4056,1

[AsycFilt.cab_Installer]
file-win32-x86=AsycFilt.cab
InfFile=AsycFilt.inf

[MSVBVM50.DLL]
hook=MSVBVM50.cab_Installer
FileVersion=5,2,82,44

[MSVBVM50.cab_Installer]
file-win32-x86=MSVBVM50.cab
InfFile=MSVBVM50.inf

[Setup Hooks]
AddToRegHook=AddToRegHook

[AddToRegHook]
InfSection=DefaultInstall

[DefaultInstall]
AddReg=AddToRegistry

[AddToRegistry]
HKLM,"SOFTWARE\Classes\CLSID\{8434A691-2052-4438-86DC-911266224D32}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}"
HKLM,"SOFTWARE\Classes\CLSID\{8434A691-2052-4438-86DC-911266224D32}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}"
HKLM,"SOFTWARE\Classes\CLSID\{DFB020CF-089D-41A8-99BC-FB5413408322}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}"
HKLM,"SOFTWARE\Classes\CLSID\{DFB020CF-089D-41A8-99BC-FB5413408322}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}"
### end of detail


*My ocx and .cab file are signed with verisign both.
I'm sorry if it hard for you to understand..  I'm thai and my english is not good.. Please help me too.
0
chavalit_thaipradit
Asked:
chavalit_thaipradit
  • 3
1 Solution
 
chavalit_thaipraditAuthor Commented:
Add more information.
I try to generate normal setup using vb5 application wizard but not work too...
0
 
realraelCommented:

i've had similar problems in the past and these links were useful to me.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbcontroubleshootingyourinternetcomponentdownload.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbcontroubleshootingyourinternetcomponentdownload.asp

some points:
> normally, it's just a security setting. IE must be allowed to download activex components (either setting your internet security to low (IE options, security tab) or enable it (IE options, advanced tab).
> you could get more info on the detail of a download problem by opening your Temporary Internet Folders, and look for a "code download error" file.

hope these help.

- rael
0
 
chavalit_thaipraditAuthor Commented:
I think I found some cause of this problem..  On the machine that have a problem I found msado15.dll and msadox.dll that older than my (I use msado15.dll version 2.7 but problem machine have 2.5). Now I fix by change reference library for ADO to use msado25.tbl then recomple my project.
I download tbl fie from
- http://www.source-code.biz/snippets/vbasic/msadox25.tlb.zip
  (This link still work on 09/07/04 10:27:31)

After I found conflict version of dll on problem machine, I search about this problem then I found this from microsoft
- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdconreferencingadolibrariesinvb.asp
- http://www.source-code.biz/snippets/vbasic/5.htm 
  (Both link still work on 09/07/04 10:30:37)

I'm not understand cleared about that but I think that can fix this problem because testing machine in my office was fixed.
Tomarrow I'll test at target site again and I'll post result at here again. May it useful for another one too.
(may I found new problem in future really? :D)

Thank a lot for all help.
0
 
chavalit_thaipraditAuthor Commented:
It's really work!!
Thank all
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now