Microsoft KB Archive/101743

From BetaArchive Wiki
Knowledge Base


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

Article ID: 101743

Article Last Modified on 10/28/2003



APPLIES TO

  • Microsoft Visual Basic 3.0 Professional Edition
  • Microsoft Visual Basic 3.0 Professional Edition



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.



Additional query words: 3.00

Keywords: KB101743