Extract zip in setup

Common questions about using Actual Installer.
Post Reply
kepler
Posts: 1
Joined: Mon Nov 14, 2016 9:29 am

Extract zip in setup

Post 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
Leo
Site Admin
Posts: 455
Joined: Fri Jan 22, 2010 12:40 pm

Re: Extract zip in setup

Post 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
Leo,
Actual Installer Team
https://www.actualinstaller.com
Post Reply