Page 1 of 1

Extract zip in setup

Posted: Sat Nov 19, 2016 6:59 am
by kepler
Good morning,

I was wondering about this point: if we create a setup + data with Actual Installer, will the data.zip be protected by a password? But, most important, why does a dos box appears showing the progress of the extraction? Isn't there a way of unzipping this data with a graphical module instead of the "uggly" dos box? (don't get me wrong: I love msdos...)

Kind regards,

Kepler

Re: Extract zip in setup

Posted: Sat Nov 19, 2016 4:21 pm
by Leo
Hi Kepler,

A source file "data.zip" cannot be password-protected from Actual Installer.
Regarding the process of extracting files from this file, this is performed by 3rd-party tool - 7-zip.
And there is no way to hide its window.

But here is a solution:
Using 7-zip you can manually create a password-protected archive. An example is described here:
http://stackoverflow.com/questions/2816 ... on-windows

Then you need to add a command (page System \ Commands) in Actual Installer to extract it (with Hide mode enabled):

Code: Select all

File:			<SetupTempDir>\7za.exe
Parameters:	x "<CurrentDir>\data.7z" -o"<InstallDir>" -aoa
Show:			HIDE
Timing:		After Installation
Wait:			Yes
More details what this command means:
http://www.actualinstaller.com/articles ... ckage.html