PRB: Setup Toolkit File Copy Progress Gauge not Updated

Last reviewed: May 25, 1995
Article ID: Q114609
The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) for Windows version 3.1
  • Microsoft Win32 SDK, versions 3.1, 3.5, 3.51, and 4.0

SYMPTOMS

The following may be noticed during the execution of a setup program created with the Setup Toolkit:

  1. The copy progress bar appears frozen even though the user may be prompted to change disks.

  2. The filename shown at the top of the copy progress dialog box does not change for long periods of time.

CAUSE

The "gas gauge" copy progress dialog box (or Copy Gauge dialog box described on pages 106-107 of the "Setup Toolkit for Windows" manual) is updated only when files are actually being copied to the hard disk. The Setup Toolkit does not update the copy progress dialog box when it checks the version of an existing file. This version check can take a significant amount of time under certain circumstances. A version check is only performed if "Check For Version" is marked in the DSKLAYT program AND the file has a version information resource.

RESOLUTION

There is no way to change this behavior. The dialog box is managed by CopyFilesInCopyList(). The only way to avoid this behavior is to avoid marking files with "Check For Version" in DSKLAYT.

MORE INFORMATION

Under certain circumstances, a file may need to be copied to the temporary directory before its version can be checked. This occurs when the version information in the .INF file matches the version information (exactly) in the file already residing on the hard drive. In this case, the file will be copied from the Setup disks to a temporary location (decompressed if necessary), and other version information will be verified. This can be a time-consuming process and the copy progress dialog box will not be updated while this is occurring.


Additional reference words: 3.10 3.50 4.00 95 MSSETUP CopyFilesInCopyList
KBCategory: kbtool kbprg kbprb
KBSubcategory: TlsMss


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: May 25, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.