Microsoft KB Archive/126441

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft FoxPro for Windows, version 2.6a

-

SYMPTOMS
If a setup program is created for an application that will be distributed using the Setup Wizard and the user-created setup program has the name (SETUP.EXE), the Setup Wizard will replace the user-created program with its own file (which is also named SETUP.EXE).

CAUSE
The Setup Wizard does not check to see if a user-created file by the name of SETUP.EXE exists in the distribution directory where the files that comprise the user-created program reside.

WORKAROUND
Do not name any executables SETUP.EXE.

STATUS
This behavior is by design.

Steps to Reproduce Behavior
 Create a new project with one program file.  In the program file, execute the command:    Wait Window "Hello"  Choose Build, and select Executable -- assuming the distribution kit is installed. Name the executable SETUP. After the executable has been built, create a distribution directory, and copy the file SETUP.EXE and FOXW2600.ESL into the directory. Run the Setup Wizard, and respond to the on-screen prompts. After the Wizard has created the distribution disk directories, run SETUP.EXE in the DISK1 directory. What will be executed is the Microsoft Installation program, not your original executable.

Additional query words: FoxWin SETUP WIZARD EXECUTABLE

Keywords         : Version          : Platform         : Issue type       :
 * }