BUG: Setup Wizard Doesn't Register VB OLE DLLs w/ DLL InstallLast reviewed: October 17, 1996Article ID: Q153020 |
The information in this article applies to:
SYMPTOMSWhen the 32-bit Setup Wizard is used to generate a setup program for an OLE DLL, the DLL will not be registered correctly when the setup program is used. This problem does not occur if the Setup Wizard is used to generate a program for an OLE automation client and the OLE server DLL is included in Step 4 of the Setup Wizard.
WORKAROUNDThe Setup Wizard generates a SETUP.LST file for each set of installation media it generates. This file is used to determine which files to copy, where to copy them, and how they can be registered, among other things. The SETUP.LST file can be modified to cause the Setup Wizard-generated program to correctly register the DLL upon installation. After generating setup media with the Setup Wizard, open the SETUP.LST file with a text editor such as Notepad. The line that refers to the DLL file will look something like this (all on one line):
File2=1,,DS.dl_,DS.dll,$(CommonFiles)\OleSvr,,$(Shared),2/19/1996,10240, 1.0.0.0To cause the DLL to be registered properly when installed, simply add the text '$(DLLSelfRegister)' between the correct set of commas, so that the line now looks like this:
File2=1,,DS.dl_,DS.dll,$(CommonFiles)\OleSvr,$(DLLSelfRegister),$(Shared ),2/19/1996,10240,1.0.0.0The setup program will now know to register the DLL file after it has been copied to the hard drive.
STATUSMicrosoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps To Reproduce
|
Additional reference words: 4.00 vb4win vb432
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |