PRB: Error Decompressing <Filename>/File Copy Operation Failed

Last reviewed: April 29, 1996
Article ID: Q101014
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro Distribution Kit for Windows, versions 2.5, 2.6

SYMPTOMS

Running a Setup program written by the SetupWizard generates two error messages, although the Setup program reports completion. The error messages are:

   File copy operation failed - incorrect number of
   bytes written to disk - source file or destination
   disk may be corrupted - use ChkDsk

   -and-

   Error decompressing <filename>

CAUSE

The file reported in the error message has been compressed incorrectly, split incorrectly, or the compressing or splitting process was interrupted. These errors can be caused by a low-memory (below 640K) situation, too little free disk space, and/or interruption during compression.

This problem may also be caused by using the default DKSETUP.INI SplitSize setting.

RESOLUTION

In the directory where the disk images were created, there should be a COMPRESS subdirectory. Delete all the files in this directory, or free up additional disk space, then run the SetupWizard again.

If freeing up additional disk space doesn't correct the problem, increase the SplitSize value in the DKSETUP.INI file from the default of 363520 to 524288.

MORE INFORMATION

The COMPRESS subdirectory contains all the files that were compressed, split, or both during the previous run of the SetupWizard. If a file that is distributed needs to be compressed or split and it has not changed from the last time the SetupWizard was run, the file is not compressed or split; instead the images created from the previous run of the SetupWizard are used.


Additional reference words: VFoxWin 3.00 FoxWin 2.50 errmsg err msg expand
uncompress
setup wizard 2.60 DK
KBCategory: kbother kberrmsg 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.