Hi,
I use VB-5 SP3.
I use a third-party installer (INF-Tool) to generate my installation package
and I use VB Setup Wizard to generate the setup.lst file to know which DLL
is needed and which one must be registered.
Question #1:
In the setup.lst I found 2 .tlb files (STDOLE2.TLB and DAO2535.TLB) with the
$(TLBRegister) key from setup wiz. It seems to be some kind of registration
to do but how can I do it? And I must be able to do it by code from my app
because INF-Tool has no option to register this kind of files. Any idea?
Question #2:
My app needs DAO2535.TLB and DAO350.DLL to run and in the setup.lst these
files must be in the $(MSDAOPath) directory, which is C:\PROGRAM
FILES\COMMONS FILES\MICROSOFT SHARED\DAO\... on an English Windows but it is
C:\PROGRAM FILES\FICHIERS COMMUNS\MICROSOFT SHARED\DAO\... on a French
Windows and so on for other languages. And INF-Tool has no way to determine
this directory. So I decided to install these 2 files in the WINDOWS\SYSTEM
directory and register them a this place, even if they exist or not in the
"MSDAOPath". Am I going into trouble or conflict by doing that? I did some
test on my PC and all works fine, these 2 files are at the 2 places and
registered at each place, but they are of the same version. What will
happening on a user PC if one of these files didn't have the same version?
My package MUST be released Monday, so every fast answer will be very
appreciated!
Thanks!
Jack