PRB: SetupWiz Generated Setup Program Fails to Start Correctly

Last reviewed: July 9, 1997
Article ID: Q147669
The information in this article applies to:
  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic, 16-bit and 32-bit, for Windows, version 4.0

SYMPTOMS

Immediately after a Setup-Wizard-generated setup program starts and displays the 'Copying initialization files...' dialog box, one of the following errors are raised:

   (16-bit application)
   $(SomePath)\FileName.ext
   Cannot create temporary file.  The file could not be installed.

   -or-

   (32-bit application)
   Setup will now start the application removal utility to remove
   temporary installation files.

NOTE: Microsoft Technical Support does not support any modifications to the Setup Wizard.

CAUSE

This problem can be caused when one or more shared files have their installation directory changed from the default directory in step 7 of the Setup Wizard. The behavior of any setup media generated after modifying the installation directory of shared files is undefined. Shared files should always be installed into the default directory specified.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Start either the 16-bit or 32-bit version of the Visual Basic 4.0 Setup Wizard.

  2. Select the \VB\SAMPLES\CALC\CALC.VBP sample project.

  3. Choose Next repeatedly until Step 7 of the wizard is reached.

  4. Ensure that either VB40016.DLL or VB40032.DLL is selected and then press the 'File Details' button.

  5. Using the Destination Directory combo box, change the install path for the file selected in step four from $(WinSysPath) to $(AppPath). Allow the Setup Wizard to finish and create distribution media.

  6. Run the SETUP.EXE program that the Setup Wizard has generated. Observe the behavior described in the Symptoms section above.


Keywords : TlsSetWiz vb4all vb4win
Version : 4.0
Platform : NT WINDOWS
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 9, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.