Skip to content

ArchiveProgressEventArgs Class

Contains the data reported in an archive progress event.

PropertyDescription
CurrentArchiveBytesProcessedGets the number of compressed bytes processed so far during extraction of the current archive. Valid for all extraction messages.
CurrentArchiveNameGets the name of the current archive. Not necessarily the name of the archive on disk. Valid for all message types.
CurrentArchiveNumberGets the current archive number, when processing a chained set of archives. Valid for all message types.
CurrentArchiveTotalBytesGets the total number of compressed bytes to be processed during extraction of the current archive. Valid for all extraction messages.
CurrentFileBytesProcessedGets the number of bytes processed so far when compressing or extracting a file. Valid for «see F:WixToolset.Dtf.Compression.ArchiveProgressType.StartFile» , «see F:WixToolset.Dtf.Compression.ArchiveProgressType.PartialFile» , and «see F:WixToolset.Dtf.Compression.ArchiveProgressType.FinishFile» messages.
CurrentFileNameGets the name of the file being processed. (The name of the file within the Archive; not the external file path.) Also includes the internal path of the file, if any. Valid for «see F:WixToolset.Dtf.Compression.ArchiveProgressType.StartFile» , «see F:WixToolset.Dtf.Compression.ArchiveProgressType.PartialFile» , and «see F:WixToolset.Dtf.Compression.ArchiveProgressType.FinishFile» messages.
CurrentFileNumberGets the number of the current file being processed. The first file is number 0, and the last file is «see P:WixToolset.Dtf.Compression.ArchiveProgressEventArgs.TotalFiles» -1. Valid for «see F:WixToolset.Dtf.Compression.ArchiveProgressType.StartFile» , «see F:WixToolset.Dtf.Compression.ArchiveProgressType.PartialFile» , and «see F:WixToolset.Dtf.Compression.ArchiveProgressType.FinishFile» messages.
CurrentFileTotalBytesGets the total number of bytes in the current file. Valid for «see F:WixToolset.Dtf.Compression.ArchiveProgressType.StartFile» , «see F:WixToolset.Dtf.Compression.ArchiveProgressType.PartialFile» , and «see F:WixToolset.Dtf.Compression.ArchiveProgressType.FinishFile» messages.
FileBytesProcessedGets the number of uncompressed bytes processed so far among all files. Valid for all message types.
ProgressTypeGets the type of status message.
TotalArchivesGets the total number of known archives in a chained set. Valid for all message types.
TotalFileBytesGets the total number of uncompressed file bytes to be processed. Valid for all message types.
TotalFilesGets the total number of files to be processed. Valid for all message types.
WixToolset.Dtf.Compression.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Gets the number of compressed bytes processed so far during extraction of the current archive. Valid for all extraction messages.

public System.Int64 CurrentArchiveBytesProcessed { get; set; }

Gets the name of the current archive. Not necessarily the name of the archive on disk. Valid for all message types.

public string CurrentArchiveName { get; set; }

Gets the current archive number, when processing a chained set of archives. Valid for all message types.

public int CurrentArchiveNumber { get; set; }

The first archive is number 0, and the last archive is «see P:WixToolset.Dtf.Compression.ArchiveProgressEventArgs.TotalArchives» -1.

Gets the total number of compressed bytes to be processed during extraction of the current archive. Valid for all extraction messages.

public System.Int64 CurrentArchiveTotalBytes { get; set; }

Gets the number of bytes processed so far when compressing or extracting a file. Valid for «see F:WixToolset.Dtf.Compression.ArchiveProgressType.StartFile» , «see F:WixToolset.Dtf.Compression.ArchiveProgressType.PartialFile» , and «see F:WixToolset.Dtf.Compression.ArchiveProgressType.FinishFile» messages.

public System.Int64 CurrentFileBytesProcessed { get; set; }

Gets the name of the file being processed. (The name of the file within the Archive; not the external file path.) Also includes the internal path of the file, if any. Valid for «see F:WixToolset.Dtf.Compression.ArchiveProgressType.StartFile» , «see F:WixToolset.Dtf.Compression.ArchiveProgressType.PartialFile» , and «see F:WixToolset.Dtf.Compression.ArchiveProgressType.FinishFile» messages.

public string CurrentFileName { get; set; }

Gets the number of the current file being processed. The first file is number 0, and the last file is «see P:WixToolset.Dtf.Compression.ArchiveProgressEventArgs.TotalFiles» -1. Valid for «see F:WixToolset.Dtf.Compression.ArchiveProgressType.StartFile» , «see F:WixToolset.Dtf.Compression.ArchiveProgressType.PartialFile» , and «see F:WixToolset.Dtf.Compression.ArchiveProgressType.FinishFile» messages.

public int CurrentFileNumber { get; set; }

Gets the total number of bytes in the current file. Valid for «see F:WixToolset.Dtf.Compression.ArchiveProgressType.StartFile» , «see F:WixToolset.Dtf.Compression.ArchiveProgressType.PartialFile» , and «see F:WixToolset.Dtf.Compression.ArchiveProgressType.FinishFile» messages.

public System.Int64 CurrentFileTotalBytes { get; set; }

Gets the number of uncompressed bytes processed so far among all files. Valid for all message types.

public System.Int64 FileBytesProcessed { get; set; }

When compared to «see P:WixToolset.Dtf.Compression.ArchiveProgressEventArgs.TotalFileBytes» , this can be used as a measure of overall progress.

Gets the type of status message.

public ArchiveProgressType ProgressType { get; set; }

The handler may choose to ignore some types of progress events. For example, if the handler will only list each file as it is compressed/extracted, it can ignore events that are not of type «see F:WixToolset.Dtf.Compression.ArchiveProgressType.FinishFile» .

Gets the total number of known archives in a chained set. Valid for all message types.

public int TotalArchives { get; set; }

When using the compression option to auto-split into multiple archives based on data size, this value will not be accurate until the end.

Gets the total number of uncompressed file bytes to be processed. Valid for all message types.

public System.Int64 TotalFileBytes { get; set; }

Gets the total number of files to be processed. Valid for all message types.

public int TotalFiles { get; set; }