Visual Basic Concepts
The Register key in the Setup.lst file indicates how the file should be registered on the user's computer. You can indicate that the file does not need to be registered, or indicate one of several registry options for files that do need registration.
The following table lists the possible keys.
Register Key | Meaning |
(no key) | The file does not contain linked or embedded objects and does not need to be registered. |
$(DLLSelfRegister) | The file is a self-registering .dll, .ocx, or any other .dll file with self-registering information. |
$(EXESelfRegister) | The file is an ActiveX .exe component created in Visual Basic, or any other .exe file that supports the /RegServer and /UnRegServer command-line switches. |
$(TLBRegister) | The file is a type library file and should be registered accordingly. |
$(Remote) | The file is a remote support file (.vbr) and should be registered accordingly. |
Filename.reg | The file is a component you distribute that needs to be registered but does not provide self-registration. This key indicates a .reg file that contains information that needs to be updated in the system registry. The .reg file must also be added to your Setup.lst file and installed. |
The filename.reg key is not the recommended method of getting registration information into the registry. Registry entries added in this manner cannot be automatically uninstalled with the Application Removal program.