Ghostlamer
Posts: 18
Joined: Sun Apr 18, 2010 2:27 am

Temp extract location with "lzma" compression

Im using "EXE setup with resources next to it" build option with lzma compression. Is there any way to avoid unpacking to a temporary folder? (this does not happen if i using cab format), when using lzma compression when the archives are separate from the installer.
For example, my archive is 20GB, when the installation starts with lzma, the size temporarily increases to 40GB (20gb install + 20gb extract to temp folder), If the "cab", then it remains 20GB.
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Temp extract location with "lzma" compression

Hello,

I'm afraid that is not possible, as the resources need to be extracted at install time from the EXE.

When you are using the CAB file with the "EXE setup with resources next to it", then the files are no longer extracted because they are outside the EXE.

Since we are using LZMA, the resources are embedded into the EXE.

If you have the "EXE Setup with resources next to it" and then select the LZMA option, the package type is automatically changed to "Single EXE setup (resources inside)".

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”