ArchiveProgressType Enumeration

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation ArchiveProgressType Enumeration
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionArchiveProgressType
The type of progress event.
Declaration Syntax
C# Visual Basic Visual C++
public enum ArchiveProgressType
Public Enumeration ArchiveProgressType
public enum class ArchiveProgressType
Members
Member Description
StartFile Status message before beginning the packing or unpacking an individual file.
PartialFile Status message (possibly reported multiple times) during the process of packing or unpacking a file.
FinishFile Status message after completion of the packing or unpacking an individual file.
StartArchive Status message before beginning the packing or unpacking an archive.
PartialArchive Status message (possibly reported multiple times) during the process of packing or unpacking an archiv.
FinishArchive Status message after completion of the packing or unpacking of an archive.
Remarks

PACKING EXAMPLE: The following sequence of events might be received when extracting a simple archive file with 2 files.

Message Type Description
StartArchive
Begin extracting archive
StartFile
Begin extracting first file
PartialFile
Extracting first file
PartialFile
Extracting first file
FinishFile
Finished extracting first file
StartFile
Begin extracting second file
PartialFile
Extracting second file
FinishFile
Finished extracting second file
FinishArchive
Finished extracting archive

UNPACKING EXAMPLE: Packing 3 files into 2 archive chunks, where the second file is continued to the second archive chunk.

Message Type Description
StartFile
Begin compressing first file
FinishFile
Finished compressing first file
StartFile
Begin compressing second file
PartialFile
Compressing second file
PartialFile
Compressing second file
FinishFile
Finished compressing second file
StartArchive
Begin writing first archive
PartialArchive
Writing first archive
FinishArchive
Finished writing first archive
StartFile
Begin compressing third file
PartialFile
Compressing third file
FinishFile
Finished compressing third file
StartArchive
Begin writing second archive
PartialArchive
Writing second archive
FinishArchive
Finished writing second archive

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)