VB3 How to Change the Setup Application Name in SETUP1.EXE (101743)



The information in this article applies to:

  • Microsoft Visual Basic Standard Edition for Windows 3.0
  • Microsoft Visual Basic Professional Edition for Windows 3.0

This article was previously published under Q101743

SUMMARY

The Setup Wizard in Visual Basic version 3.0 creates SETUP1.EXE that when executed displays a blue background with white letters that say: "<EXE NAME> Setup," where <EXE NAME> is the name of your application. This article explains how to change that message to something other than the default.

MORE INFORMATION

To change the display of <EXE NAME>, follow these steps:

  1. Run the Setup Wizard as you normally would to create installation disks.
  2. Start Visual Basic and load the project SETUP1A.MAK (The Setup Wizard created this project in the C:\VB\SETUPKIT\SETUP1 directory).
  3. In the General Declarations section of SETUP1A.FRM, change the value of constant APPNAME:

    Const APPNAME = "<Whatever you want to put here>"
  4. From the File menu, choose Make EXE to create the file SETUP1.EXE.
  5. Exit to MS-DOS.
  6. Copy and compress the file SETUP1.EXE to your distribution disk.

    C:\VB\SETUPKIT\KITFILES\COMPRESS -r SETUP1.EXE A:\

    This will copy over the old SETUP1.EX_ that was created on the distribution disk by the Setup Wizard.

Modification Type:MajorLast Reviewed:10/28/2003
Keywords:KB101743