about the Package and Deployment Wizard (VB6) 
Author Message
 about the Package and Deployment Wizard (VB6)

This thing is becoming REALLY frustrating.  It seems like what I want to do
is really simple and common, but maybe someone can help me out.  I want to
create a .cab file containing 3 different OCXs which each serve components.
Since I'm using VB6, I also have to include the files that my components are
dependent on.  They are comcat.dll, comctl32.ocx, olepro32.dll,
oleaut32.dll, and one or two others.  Here's the problem.  When IE4
downloads the .cab and extracts it and installs it, nothing gets registered.
my components don't get registered and i doubt the VB6 components get
registered but I can't check because they were already there before, just
older versions.  on top of that, the shared files don't get installed
because they're currently in use.  there's no detailed documentation
anywhere on how to write .INF files by hand, so that's out of the question.
i tried manually writing a setup hook but i don't know to handle shared
files and reboot, there has GOT to be a way to have Internet Component
Download handle the shared files in the .cab and to make it register my
components.  Can someone please help me?  I don't have much hair left, it's
all on the floor around my desk.  my setup.inf follows if anyone is
interested.  It was generated by the P&D Wizard

;INF file for VWTPBRWS.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%,VWTPBRWS.CAB,1

[Add.Code]
VWTPBRWS.ocx=VWTPBRWS.ocx
Win.tlb=Win.tlb
COMDLG32.OCX=COMDLG32.OCX
MSSTKPRP.DLL=MSSTKPRP.DLL
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]
VWTPBRWS.ocx=VWTPBRWS.ocx
Win.tlb=Win.tlb
COMDLG32.OCX=COMDLG32.OCX
MSSTKPRP.DLL=MSSTKPRP.DLL
MSVBVM60.DLL=MSVBVM60.DLL
OLEAUT32.DLL=OLEAUT32.DLL
OLEPRO32.DLL=OLEPRO32.DLL
ASYCFILT.DLL=ASYCFILT.DLL
STDOLE2.TLB=STDOLE2.TLB
COMCAT.DLL=COMCAT.DLL

[SourceDisksFiles]
VWTPBRWS.ocx=1
Win.tlb=1
COMDLG32.OCX=1
MSSTKPRP.DLL=1
MSVBVM60.DLL=1
OLEAUT32.DLL=1
OLEPRO32.DLL=1
ASYCFILT.DLL=1
STDOLE2.TLB=1
COMCAT.DLL=1

[VWTPBRWS.ocx]
file-win32-x86=thiscab
RegisterServer=yes
clsid={645FF852-3DE0-11D2-93A1-00105A0D42A1}
DestDir=
FileVersion=1,0,0,3

[Win.tlb]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=0,0,0,0

[COMDLG32.OCX]
file-win32-x86=thiscab
RegisterServer=yes
clsid={F9043C85-F6F2-101A-A3C9-08002B2F49FB}
DestDir=11
FileVersion=6,0,81,69

[MSSTKPRP.DLL]
file-win32-x86=thiscab
RegisterServer=yes
DestDir=11
FileVersion=6,0,81,69

[MSVBVM60.DLL]
file-win32-x86=thiscab
RegisterServer=yes
DestDir=11
FileVersion=6,0,81,76

[OLEAUT32.DLL]
file-win32-x86=thiscab
RegisterServer=yes
DestDir=11
FileVersion=2,30,4261,1

[OLEPRO32.DLL]
file-win32-x86=thiscab
RegisterServer=yes
DestDir=11
FileVersion=5,0,4261,1

[ASYCFILT.DLL]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=2,30,4261,1

[STDOLE2.TLB]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=2,30,4261,1

[COMCAT.DLL]
file-win32-x86=thiscab
RegisterServer=yes
DestDir=11
FileVersion=4,71,1460,1

[Setup Hooks]
AddToRegHook=AddToRegHook

[AddToRegHook]
InfSection=DefaultInstall2

[DefaultInstall2]
AddReg=AddToRegistry

[AddToRegistry]
HKLM,"SOFTWARE\Classes\CLSID\<TheFirstComponentsCLSID>\Implemented
Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}"
HKLM,"SOFTWARE\Classes\CLSID\<TheFirstComponentsCLSID>\Implemented
Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}"
HKLM,"SOFTWARE\Classes\CLSID\<TheSecondComponentsCLSID>Implemented
Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}"
HKLM,"SOFTWARE\Classes\CLSID\<TheSecondComponentsCLSID>\Implemented
Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}"
HKCR,"Licenses",,,"Licensing: Copying the keys may be a violation of
established copyrights."
[RegisterFiles]
%11%\COMCAT.DLL
%11%\OLEPRO32.DLL
%11%\OLEAUT32.DLL
%11%\MSVBVM60.DLL
%11%\MSSTKPRP.DLL
%11%\COMDLG32.OCX
%11%\VWTPBRWS.ocx

; i have no idea why that last section doesn't register my component.



Sat, 17 Feb 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. about the Package and Deployment Wizard (VB6)

2. about the Package and Deployment Wizard (VB6)

3. VB6 and Package & Deployment Wizard

4. VB6:Using Package & Deployment Wizard

5. VB6 (SP5): Package and Deployment Wizard Dependency File

6. VB6: Package/Deployment wizard bug?

7. VB6 Package and deployment wizard

8. vb6 package and deployment wizard problem

9. Package & Deployment Wizard Questions (VB6)

10. Problem in VB6 Package and Deployment Wizard

11. VB6 Package and Deployment Wizard

12. Question about VB6 Package & Deployment Wizard

 

 
Powered by phpBB® Forum Software