FIX: Executable Error "<path> is not an object file" (163933)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 5.0
  • Microsoft Visual FoxPro for Windows 5.0a

This article was previously published under Q163933

SYMPTOMS

If you run an executable installed from disk images created by the Visual FoxPro Setup Wizard, the following error message appears:
"<Path and file name to executable> is not an object file."
Note that the size of the executable installed on the destination machine is larger than the original.

RESOLUTION

There are two possible workarounds to this situation:

  1. Distribute an additional file that is named alphabetically first. For example, if there is only one file being distributed and it is named "myexe.exe," add an additional file named "a.txt."
  2. If possible, use the NetSetup images instead of diskette images created by the Setup Wizard.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This has been corrected in Visual FoxPro 6.0.

MORE INFORMATION

The three criteria that cause this error are:

  • The .EXE to distribute must be large enough to have the Setup Wizard split it into separate files for distribution.
  • The split files must spread across more than one diskette image.
  • The .EXE file name must be the first file, alphabetically, of the files being distributed via the Setup Wizard.

Modification Type:MajorLast Reviewed:10/16/2002
Keywords:kbBug KB163933