How to install innoextract on Ubuntu 16.04

How to install innoextract on Ubuntu 16.04

The innoextract is a tool to create installers for Microsoft Windows applications. The innoextract allows the user to extract such installers under non-windows system without running the actual installer using Wine. This tutorial covers the installation procedure of innoextract on Ubuntu.

Installation procedure

To start the installation process, add the repo to the target system by executing the following command.

root@linuxhelp1:~# add-apt-repository ppa:eugenesan/ppa
 This repository contains collection of customized, updated, ported and backported
packages for two last LTS releases and latest pre-LTS release.
Packages for older releases relocated to ppa:eugenesan/archive or deleted.

+-------------------------------------------------------------------------------------+
| Disclaimer:
+-------------------------------------------------------------------------------------+
* Packages in this a nd related PPAs are for personal use only.
  They developed specifically for several custom environments and may not work for you.
* Usage of packages in this PPA, in some forms, might contradict licenses of software
  packaged in this and related PPAs. End users and administrator are responsible for
  runtime licensing and possible legal consequences.
* Some packages provided with their dependencies while some might require additional
  Ubuntu repositories and external PPAs. Below is the list of

+-------------------------------------------------------------------------------------+
| To add this repository, to your Ubuntu installation, invoke:
+-------------------------------------------------------------------------------------+
$ sudo add-apt-repository ppa:eugenesan/ppa
.
.
.
gpg: keyring `/tmp/tmp6jp7grtr/secring.gpg'  created
gpg: keyring `/tmp/tmp6jp7grtr/pubring.gpg'  created
gpg: requesting key 8313A596 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp6jp7grtr/trustdb.gpg: trustdb created
gpg: key 8313A596: public key " Launchpad synergy+"  imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

The repositories are added to the system. To update the repo, use the apt-get update command and execute it.

root@linuxhelp1:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease          
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:3 http://ppa.launchpad.net/eugenesan/ppa/ubuntu xenial InRelease [17.5 kB]                          
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]                                        
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]                                        
Get:6 http://ppa.launchpad.net/eugenesan/ppa/ubuntu xenial/main amd64 Packages [40.6 kB]             
Get:7 http://ppa.launchpad.net/eugenesan/ppa/ubuntu xenial/main i386 Packages [40.5 kB]             
Get:8 http://ppa.launchpad.net/eugenesan/ppa/ubuntu xenial/main Translation-en [24.7 kB]                                            
Fetched 430 kB in 8s (52.4 kB/s)                                                                                                    
Reading package lists... Done

The system is updated with the required repositories. Now install the innoextract package by executing the following command.

root@linuxhelp1:~# apt-get install innoextract -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libboost-program-options1.58.0
The following NEW packages will be installed:
  innoextract libboost-program-options1.58.0
0 upgraded, 2 newly installed, 0 to remove and 480 not upgraded.
Need to get 329 kB of archives.
After this operation, 1,186 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libboost-program-options1.58.0 amd64 1.58.0+dfsg-5ubuntu3.1 [138 kB]
Get:2 http://ppa.launchpad.net/eugenesan/ppa/ubuntu xenial/main amd64 innoextract amd64 1.6-1~eugenesan~xenial1 [190 kB]
Fetched 329 kB in 7s (42.2 kB/s)                                                                                                    
Selecting previously unselected package libboost-program-options1.58.0:amd64.
(Reading database ... 176594 files and directories currently installed.)
Preparing to unpack .../libboost-program-options1.58.0_1.58.0+dfsg-5ubuntu3.1_amd64.deb ...
Unpacking libboost-program-options1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
Selecting previously unselected package innoextract.
Preparing to unpack .../innoextract_1.6-1~eugenesan~xenial1_amd64.deb ...
Unpacking innoextract (1.6-1~eugenesan~xenial1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libboost-program-options1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1) ...
Setting up innoextract (1.6-1~eugenesan~xenial1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

The innoextract package has been successfully installed in the system. Execute the following command to know about the list of options that can be used in innoextract.

root@linuxhelp1:~# innoextract -help
Usage: innoextract [options] < setup file(s)> 

Extract files from an Inno Setup installer.
For multi-part installers only specify the exe file.

Generic options:
  -h [ --help ]                 Show supported options
  -v [ --version ]              Print version information
  --license                     Show license information

Actions:
  -t [ --test ]                 Only verify checksums, don' t write anything
  -e [ --extract ]              Extract files (default action)
  -l [ --list ]                 Only list files, don' t write anything
  --list-languages              List languages supported by the installer
  --gog-game-id                 Determine the GOG.com game ID for this 
                                installer

Modifiers:
  --collisions arg              How to handle duplicate files
  --default-language arg        Default language for renaming
  --dump                        Dump contents without converting filenames
  -L [ --lowercase ]            Convert extracted filenames to lower-case
  -T [ --timestamps ] arg       Timezone for file times or " local"  or " none" 
  -d [ --output-dir ] arg       Extract files into the given directory
  -g [ --gog ]                  Extract additional archives from GOG.com 
                                installers

Filters:
  -m [ --exclude-temp ]         Don' t extract temporary files
  --language arg                Extract only files for this language
  --language-only               Only extract language-specific files
  -I [ --include ] arg          Extract only files that match this path

Display options:
  -q [ --quiet ]                Output less information
  -s [ --silent ]               Output only error/warning information
  --no-warn-unused              Don' t warn on unused .bin files
  -c [ --color ] [=arg(=1)]     Enable/disable color output
  -p [ --progress ] [=arg(=1)]  Enable/disable the progress bar

Extracts installers created by Inno Setup 1.2.10 to 5.5.8

innoextract 1.6 (C) 2011-2016 Daniel Scharrer < daniel@constexpr.org> 
This is free software with absolutely no warranty.

For removing the package, run the following command to remove the packages and repositories and press y to continue with uninstallation.

root@linuxhelp1:~# apt-get remove innoextract -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libboost-program-options1.58.0
Use ' sudo apt autoremove'  to remove it.
The following packages will be REMOVED:
  innoextract
0 upgraded, 0 newly installed, 1 to remove and 480 not upgraded.
After this operation, 627 kB disk space will be freed.
(Reading database ... 176604 files and directories currently installed.)
Removing innoextract (1.6-1~eugenesan~xenial1) ...
Processing triggers for man-db (2.7.5-1) ...

Wasn' t that an easy installation procedure? The innoextract will extract files from installers specified on the command line.

FAQ
Q
what is the use of innoextract in ubuntu?
A
The innoextract is a tool to create installers for Microsoft Windows applications. The innoextract allows the user to extract such installers under non-windows system without running the actual installer using Wine.
Q
which command to add the repo of innoextract in ubuntu?
A
add the repo to the target system by executing the following command
# add-apt-repository ppa:eugenesan/ppa
Q
How to check version of innoextract?
A
use the following command to check version of innoextract # innoextract -v
Q
How to extract a setup file to the current directory run in innoextract?
A
use the following command to extract a setup file to the current directory run in innoextract # innoextract
Q
How to list of available options can be retrieved in innoextract?
A
the list of available option are retrived by following command # innoextract --help