PRB: SetupWizard Error: "Compression Command Exceeds Limit"

Last reviewed: April 29, 1996
Article ID: Q101287
The information in this article applies to:
  • Microsoft FoxPro Distribution Kit for Windows, versions 2.5, 2.5a, 2.5b, 2.6

SYMPTOMS

If you try running the SetupWizard on an application that is too deep in the directory structure, you will receive the following error message:

   The compression command exceeds the 128 byte DOS limit.
   Try shortening some directory name or put COMPRESS.EXE
   on the DOS Path.

CAUSE

Because MS-DOS is limited to 128 characters for a command line, you cannot run the SetupWizard on a program that is too deep in the directory structure.

When you run the SetupWizard, it uses COMPRESS.EXE to compress all the files to save disk space. COMPRESS.EXE uses the full path and filename for both the source filename and the destination filename. The command line may look something like this:

   COMPRESS -a2 -befl -z710 C:\FOXPROW\GOODIES\FNDATION\EX1.EXE
    C:\FOXPROW\GOODIES\FNDATION\DISKS\COMPRESS\EX1.EX$

Even though the above example will work (111 characters), you can see how easy it is to exceed the 128-character limit.

RESOLUTION

To work around this problem, move the directory that contains your program files closer to the root directory (for example, use C:\FNDATION instead of C:\FOXPROW\GOODIES\FNDATION).


Additional reference words: FoxWin DK 2.50 2.50a error compress setup
wizard 2.50b 2.60
KBCategory: kbprg kbprb
KBSubcategory: FxtoolDk


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: April 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.