How To Force App Setup to Use the Default DirectoryLast reviewed: November 21, 1996Article ID: Q159412 |
The information in this article applies to:
SUMMARYAlthough it is not recommended, the Visual Basic 4.0 Setup Kit provides a means to disable the user interface for changing the default installation directory of your application's setup routine. This forces the installation process to use the default directory as the destination for the application's files.
MORE INFORMATIONIt is recommended that you allow the user to choose the destination directory for Windows applications setup processes. However, a Visual Basic 4.0 application that has a setup process created by the Visual Basic 4.0 Setup Wizard does provide an option that allows the programmer to force the user to use a specific destination directory. The Setup.lst file is a standard Windows initialization file. It informs the Setup.exe and Setup1.exe programs of the distribution set how to perform setup. To force a user to use a specific destination directory, you must provide the default directory name and add the keyword "ForceUseDefDir" to the Setup.lst file.
Step-by-Step Example
REFERENCES"Visual Basic Programmer's Guide", Chapter 30
|
KBCategory: kbtool kbsetup kbhowto
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |