Introduction


This little article will explain how to bypass certain checks that MSI installers can do. This is for educational purposes only!!

So I am paranoid and like to have two factor authentication on my fresh installed Windows 8 Enterprise edition, using a token.

Example


In this example, I've looked at EIDAuthenticate, a smart card logon solution for stand alone computers. Now they have a community edition and an enterprise edition. The community edition only works on Windows 7/8 Home editions.

Starting the MSI installer gives me an error saying that I am running the enterprise edition of Windows and that this software can only be installed Windows Home editions. (It also shows a link where you can purchase an enterprise edition of their product)

Required Tools


InstEd It! - http://www.instedit.com/ - An MSI Install Editor (A nice alternative for Microsoft Orca)

Edit the MSI Installer


Open InstEd It! and open the required MSI file. Go to the table "InstallExecuteSequence".

up_db59d47b466c2d1e1ffc9362de5aba57.jpg
Here you'll see an action called "LaunchConditions". In the next table, called "InstallUIConditions" you will see the same action called "LaunchConditions".

up_7801ed8d3e5c5964d2fd0b1faa49b784.jpg
Let's have a look at the action in table "LaunchConditions".

up_c51e3162a2ec6a38398552adb94563f0.jpg
In the condition row, you can see the value "Installed or (MsiNTPersonal = 1)", changing this value to 0 will install only on non Windows Home editions, not the best if we want this software to be available on any edition of Windows.

To make this work on all editions of Windows 7/8, remove the action "LaunchConditions" in the tables:

- InstallExecuteSequence
- InstallUIConditions

up_2aa30cebe9fd2124cf044283a8dcd7d5.jpg
Finally, save the MSI file, launch it and have phun!

Final notes


Yes, sometimes it can be as simple as this