PRB: SetupWizard Error: "Compression Command Exceeds Limit"

ID: Q101287

2.50 2.50a 2.50b 2.60 WINDOWS kbprg kbprb

The information in this article applies to:

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

Keywords          : FxtoolDk 
Version           : 2.50 2.50a 2.50b 2.60
Platform          : WINDOWS

Last Reviewed: April 30, 1996