PRB: Cannot Find Setup.exe Error Installing to NT 4.0

Last reviewed: January 10, 1997
Article ID: Q156774
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows 5.0

SYMPTOMS

You may have problems installing Visual FoxPro or a Setup Wizard-created distribution across a network from a share on a Windows 95 machine to an NT 4.0 machine. If the path to the Setup program contains a space or long directory name, you will receive the error:

   "Cannot find <UNC or mapped drive\path>\setup.exe. Windows needs this
   file to run <UNC or mapped drive\path>\setup.exe".

WORKAROUND

  • Remove any spaces or long directory names from the path to the Setup program.

    - or -

  • Install from a share on an NT 3.51 or NT 4.0 machine.

STATUS

Microsoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

Method 1

  1. Run the Setup Wizard under Visual FoxPro 3.0 or Visual FoxPro 5.0.

  2. Copy the Netsetup directory to a Windows 95 machine.

  3. Change the Netsetup directory name to "Net setup" (without the quotes).

  4. Share the directory created above.

  5. Connect to the Windows 95 share from an NT 4.0 machine with a Start/Run \\<UNC name to share> or by mapping the drive.

  6. Run Setup.exe in the "Net setup" from the NT 4.0 machine.

Method 2

  1. Share your Visual FoxPro 3.0 or 5.0 CD on a Windows 95 machine. Place a space in the share name.

  2. Connect to the Windows 95 share from an NT 4.0 machine with a Start/Run \\<UNC name to share> or by mapping the drive.

  3. Run Setup.exe in the root directory of the CD from the NT 4.0 machine.

With both methods, the following error will be displayed and setup cannot be completed:

   "Cannot find <UNC or mapped drive\path>\setup.exe. Windows needs this
   file to run <UNC or mapped drive\path>\setup.exe"

Notes

The error does not occur if:

  • there are no spaces or long directory names in the path.
  • the source directory is on an NT 3.51 or 4.0 machine.
  • the destination machine is running NT 3.51 or Windows 95.


KBCategory: kbnetwork kbtool kbprb
KBSubcategory: FxenvOs FxnetworkWinnt FxtoolDk
Additional reference words: 5.00 Vfoxwin kbdse



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: January 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.