Microsoft KB Archive/175756

= PRB: Setup Wizard Displays Message Box with '118' and OK Button =

Article ID: 175756

Article Last Modified on 11/18/2003

-

APPLIES TO


 * Microsoft Visual Basic 5.0 Control Creation Edition
 * Microsoft Visual Basic 5.0 Professional Edition
 * Microsoft Visual Basic 5.0 Enterprise Edition

-



This article was previously published under Q175756



SYMPTOMS
The Setup Wizard displays a message box with '118' and an OK button.



CAUSE
The Environment User Variable TMP under Windows NT4.0 does not point to a valid directory (usually the Temp directory).



RESOLUTION
Create a valid (Temp) directory for the TMP Environment User Variable. From Control Panel, double-click on the System icon. Click on the Environment tab. Under "User Variables for [UserName]," change the value of TMP to an existing directory name.



Steps to Reproduce the Behavior

 * 1) From Control Panel, double-click on the System icon.
 * 2) Click on the Environment tab.
 * 3) Under "User Variables for [UserName]," change the value of TMP to a non-existing directory name, or delete or rename the existing directory.
 * 4) Start Visual Basic with a Standard EXE project (or any other project).
 * 5) Compile the project. (You don't have to add any code.)
 * 6) Run Application Setup Wizard with the project. You will get several message boxes, each with '118' and an OK button.

To correct this behavior, assign the TMP variable a valid directory.

