Solved

Internet download setup not work for some machine.

Posted on 2004-09-06
4
786 Views
Last Modified: 2008-01-09
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
Comment
Question by:chavalit_thaipradit
  • 3
4 Comments
 

Author Comment

by:chavalit_thaipradit
Comment Utility
Add more information.
I try to generate normal setup using vb5 application wizard but not work too...
0
 
LVL 3

Accepted Solution

by:
realrael earned 500 total points
Comment Utility

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
 

Author Comment

by:chavalit_thaipradit
Comment Utility
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
 

Author Comment

by:chavalit_thaipradit
Comment Utility
It's really work!!
Thank all
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now