
Visual Basic Tips / Changing the name of the default installation directory for your application
After making an install package for your new Visual Basic application with the Application Startup Wizard you will have a file with the distribution package called "Setup.lst". The third section of this file will look like the following:
[Setup]
Title=FOLDMAN
DefaultDir=$(ProgramFiles)\FOLDMAN
Setup=SETUP1.EXE
AppExe=FOLDMAN.EXE
Btrieve=0
The directory the application this Setup.lst file represents will install in the C:\Program Files\FOLDMAN directory. To change it to a default directory of your choosing just change "FOLDMAN" to any path you like.
This will not prevent the end user from selecting which directory to install your application in, it just changes the default installation directory for your application.