Modify file compression¶
Paquet Builder uses 7-Zip to compress source files into the package.
Storing Path Information¶
If your source files are from multiple folders, you may need to store their paths within the archive. When unpacking, the package will recreate the folder structure based on the stored paths.
Enable "Store Path Information" to include full path information (excluding the drive letter) for each file in the archive.
Example 1:
- Source File: C:\My Documents And Settings\Alpha\My Documents\My Results\Report 26.pdf
.
- Stored Path: My Documents And Settings\Alpha\My Documents\My Results
.
- Extracted Path: %DESTPATH%\My Documents And Settings\Alpha\My Documents\My Results\
.
To store only a portion of the path relative to a root folder, activate "Use Paths Relative To" and specify the root folder.
Example 2:
- Source File: C:\My Documents And Settings\Alpha\My Documents\My Results\Report 26.pdf
.
- Root Folder: C:\My Documents And Settings\Alpha\My Documents
.
- Stored Path: My Results
.
- Extracted Path: %DESTPATH%\My Results
.
This approach works well if all source files are within subfolders of the root folder. Files outside the root folder will still store their full paths.
Info
Storing path information is important if multiple files share the same name but reside in different folders.
Compression Level and Properties¶
Compression Level¶
Choose from five options:
- Store: Files are stored without compression.
- Fast: Fastest compression with minimal compression ratio.
- Normal: A balance between speed and compression ratio.
- Maximum: Offers excellent compression ratio, recommended for most cases.
- Ultra: Provides the best compression ratio but requires significant RAM (350 MB or more).
Create a Solid Archive¶
Enable this option to compress all files as one continuous data stream, improving compression ratios. Recommended for Self-Extracting packages.
Use LZMA2 Instead of LZMA Compression¶
LZMA2 supports multithreaded compression and decompression, improving speed on multi-core systems. You can specify the number of CPU threads to dedicate to compression.
Compress Archive Header¶
Enable this option to compress file metadata and archive headers for a smaller package size.
Custom 7-Zip Parameters¶
Advanced users can override default compression parameters by entering custom 7-Zip commands. Use the pipe (|
) character to separate parameters.
Example:
- 7-Zip Parameters: -m0=BCJ2 -m1=LZMA2:d24
.
- Paquet Builder Format: 0|BCJ2|1|LZMA2:d24
.
Multi-Volume Archive¶
For splitting archives into multiple volumes, refer to the dedicated topic.