R – Freeware tool for creating a single file installer from an msi file + config file (thats easy enough for an End-User to use)

installationwindows-installer

My installer requires there be two files in the same directory in order for it to install.

  1. The installer (.msi file)
  2. An organization specific config file that the installer copies. (This file is customized by the organization and then distributed to it's end users).

Since there are two files, the file has to be distributed as a zip file. Which presents the issue of if a user tries running the .msi without actually extracting the zip… only the msi file gets extracted. I am able to detect the issue in the install process and tell the user they need to unzip the file… but you know how noone actually reads error messages.

So, I'd like to make it more foolproof and so i was wondering if there was a simple tool that i could let my customers (ie the organization) be able to make modifications to the config file and when finished create a .exe file which when clicked would extract to a temp folder and then run the msi. I know there are solutions for this which require commercial software. I'm wondering if a simple freeware tool exists that can do this.

Edit: Accepted Solution Notes:

The one issue i ran into is the iexpress wasn't designed to be used for .msi files. As a result on the step that asks you for the Install Program. It's a combo box which if you had added a .exe file in the previous step could just select the .exe file from. Instead you have to manually type in

 msiexec /i yourinstaller.msi

I was very pleased to find such a simple solution that's built in to windows. The only way this could be better is if it allowed for wildcards so that your iexpress project would be able to handle changes in the msi file's name which occur with each version. And defaulting the Install Program to the .msi file. These minor inconveniences are offset by the fact that end user wouldn't need to install any new software to create the package so I have stopped looking for other tools.

Best Answer

You could try using iexpress.

It enables you to package up a set of files which can be extracted, with the option of running an installation command automatically after extraction. It also has options to enable you to prompt users about things, show a EULA, restart the computer, etc..

I believe it comes as part of Windows (part of IE?) - try running iexpress.exe from the run dialog to get the UI.

Related Topic