Old property | Changes to note |
---|---|
ClearDisks | This property no longer exists. The DiskNotEmpty event is now triggered whenever a disk with already existing data is inserted. Setting it's xAction parameter will allow you to chose the action (including clearing the disk) to take. |
Compression | Renamed to CompressionLevel. |
ExtractDirectory | Renamed to UnzipToFolder. |
FileCount | This property no longer exists. The GetZipFileInformation method allows you to retrieve the file count and other information from a zip file. |
Recurse | Renamed to ProcessSubfolders. All subfolders encountered are now scanned, regardless of whether the subfolder's name matches a wildcard. (For more details see the FilesToProcess property migration topic) |
FilesToProcess | Behavior has been modified. See the FilesToProcess property migration topic. |
IncludeDirectoryEntries IncludeVolumeLabel IncludeHiddenFiles |
These properties no longer exist. The RequiredFileAttributes and ExcludedFileAttributes properties are now used to determine which file attributes to include or exclude from the list of files to process. The default value of ExcludedFileAttributes property is xfaFolder + xfaVolume, which is the equivalent of: IncludeDirectoryEntries = False IncludeVolumeLabel = False IncludeHiddenFiles = True So if your existing code has any of these properties to False, make sure that the attribute is placed in ExcludedFileAttributes – otherwise, the corresponding file type will be included. |
ModifiedDate | Renamed to MinDateToProcess. |
MoveFiles | This property no longer exists. Use the FileStatus event to obtain the filenames of files you wish to delete, and if the Zip method's return value is xerSuccess, then you can delete the files. |
MultidiskMode | Renamed to SpanMultipleDisks and changed behavior. The new property only applies when zipping, and is no longer necessary when unzipping, listing or testing. |
Overwrite | This property no longer exists. The SkipIfExisting property now determines overwrite behavior. If your code had Overwrite = xowNever, it should now use SkipIfExisting = True. If you had Overwrite = xowAlways or xowAsk, it should now be SkipIfExisting = False. In the case of SkipIfExisting = False, the ReplacingFile event is triggered to allow you to prompt the end-user what to do. See the SkipIf* properties for more options. |
Password | Renamed to EncryptionPassword. |
StoredExtensions | This property no longer exists. Change the ZipPreprocessingFile event's xMethod parameter to control whether each file is stored or compressed. ZipPreprocessingFile provides you with the file's name as well as plenty of other file information, so you can control which files are stored based on more than only the file's extension. |