• ARTICLES
SEARCH

How-To Geek

Build an Installer for Installer-less Programs

Many programs and utilities are distributed as portable applications which do not require you to install them. While this is a great option to have, there are a few reasons you might want to “install” these programs. For example, installed programs appear in the Programs and Features (Add/Remove Programs) list and they typically have entries in the Start Menu. A utility which both installs and builds installers for installer-less programs is NirSoft’s ZipInstaller.

Installing a Program from a Zip File

A popular Windows utility for system administrators is Process Explorer which is distributed via an installer-less zip file. Using ZipInstaller, you can easily install this utility from the downloaded zip file.

image

Once you have selected the zip file to install, ZipInstaller reads information from the executable file and populates it in the installer.

image

Before installing, you can customize the settings to your liking.

image

image

Once you have everything set, click Install and ZipInstaller takes care of the rest.

image

image

Once installed, you have all the benefits of a typical program installation. Start Menu entries are created for executable and help files.

image

Additionally, an entry is made available in the Programs and Features (Add/Remove Programs).

image

Building Your Own Installer

ZipInstaller allows you to easily create your own install packages. All you need is a zip file containing the files you want included and ZipInstaller will create a standalone EXE setup file.

In this example, we are going to create an installer for the Sysinternals Process Explorer and ZoomIt utilities. First the utilities are downloaded and placed into a single folder. Then we create a special text file named “~zipinst~.zic” which contains configuration settings for the installer.

For this example our ~zipinst~.zic file looks like this:

[install]
ProductName=Sysinternals Utilities
ProductVersion=1.0
CompanyName=Sysinternals
Description=Process Explorer and ZoomIt utilities.
InstallFolder=%zi.ProgramFiles%%zi.CompanyName%%zi.ProductName%
StartMenuFolder=%zi.ProductName%
StartMenuShortcut=1
AddUninstall=1
AddUninstallShortcut=0
InstallTo=1
NoUserInteraction=0
UninstallRegKey=Sysinternals
NoExtraUninstallInfo=0
UninstallInDestFolder=0
NoSuccessMessage=0

image

Then the following command creates the install file:

X:PathToZipFile>”C:PathToZipInstallerzipinst.exe” /selfexe SysinternalsUtilities.zip SUI_Install.exe

image

Once the installer is created, it can be run on any machine.

image

Note, the naming is a bit off when you try to combine multiple tools in a single install, but overall it works just as you would expect.

image

Conclusion

In addition to installing portable applications, ZipInstaller is fantastic tool to create an installer for any utility program – including your own. The interface is simple to use and it only takes a few minutes to learn. Additionally, there are more configuration options you can read about on the download page.

Links

Download ZipInstaller from NirSoft

Jason Faulkner is a developer and IT professional who never has a hot cup of coffee far away. Interact with him on Google+

  • Published 08/4/10

Comments (4)

  1. Matthew

    The method I use for this is installing NSIS, then using the wizard in HM NIS Edit. I find it’s quite an easy process to do.

  2. Conor Duffy

    Can the ZipInstaller exe created be installed in a slient or unattended mode, like, say for inclusion with Microsoft Deployment Toolkit, or a post-OS install technology such as WIP or RunOnceEX?

  3. Jason Faulkner

    Conor Duffy – Yes it can. Read the available parameters (NoUserInteraction) on the ZipInstaller download page.

  4. Carlos_J.

    Can the ZipInstaller exe created be unnistaller in a slient or unattended mode???.

Enter Your Email Here to Get Access for Free:

Go check your email!