"Unzip Advanced" unzips an single archive containing one or more files, with an optional ZIP password. It can work with archives that contain nested folders and can also handle the "bzip2" encryption type put into common use with the WinZip 9.0 file compression utility.
Use "Unzip Advanced" instead of the source-level "Expand compressed (zip) files" checkbox if you need to decrypt entries in the zip file.
Input Parameters
UnzipAdvanced_Password - Specifies an optional password to apply to the Zip file. Default value is blank, which indicates no decryption is to be done. (CAUTION: Using a password to defend a Zip archive is not usually enough protection to thwart a determined hacker.)
Output Parameters
ZipFileSize - Number of bytes in the zip file. This and other size parameters will be populated whether or not the Zip file is successfully unzipped. If more than one zip file is encountered, this parameter will only contain the size of the last zip file processed by this task run.
ZipFileSizeKB - Number of kilobytes (KB) in the zip file.
ZipFileSizeMB - Number of megabytes (MB) in the zip file.
ZipFileSizeGB - Number of gigabytes (GB) in the zip file.
Notes
This built-in script must be run as a once-after-all-files process. This built-in script may not be run as the first step of a task.
The task's "Cache Files" option must be set to "Use Random Names".