PRB: Setup Toolkit File Copy Progress Gauge not Updated (114609)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0
- Microsoft Win32 Software Development Kit (SDK) 3.1
- Microsoft Win32 Software Development Kit (SDK) 3.5
- Microsoft Win32 Software Development Kit (SDK) 3.51
- Microsoft Win32 Software Development Kit (SDK) 4.0
This article was previously published under Q114609 SYMPTOMS
The following may be noticed during the execution of a setup program
created with the Setup Toolkit:
- The copy progress bar appears frozen even though the user may be
prompted to change disks.
- 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.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbprb KB114609 |
---|
|