MapInfo Professional installation errors with "Can not find File MIInstallUtil.dll"



User is running an installation of MapInfo Professional 10.5 - this particular installation was part of the TargetPro Client install, which also installs MapInfo Professional.
But this error can occur when installing MapInfo Professional outside of TargetPro.
During the install, an error was displayed:

User-added image

"Can not find File MIInstallUtil.dll"


The install process is looking for the registry key: HKLM\Software\MapInfo\MapInfo\Professional\1050\ProgramDirectory and is either not finding the key or the key is returning a null string (i.e. it is returning “” instead of something like C:\Program Files\MapInfo\Professional, etc.).

Run the installer again on this workstation and check the registry key listed above after the error message pops up, it can be determined
which of the two situations has occurred.
Most likely it is the first instance where the registry key is missing.

The installer at one point runs the command: <path to mapinfow.exe>\mapinfow.exe – regserver
(i.e. for a default install it would be: "C:\Program Files\MapInfo\Professional\ mapinfow.exe – regserver)" or "C:\Program Files (x86)\MapInfo\Professional\mapinfow.exe - regserver)"
If this command failed to run it would display an error message “Failed to run C:\Program Files\MapInfo\Professional\ mapinfow.exe – regserver” or "Failed to run C:\Program Files (x86)\Professional\mapinfow.exe - regserver".
If the message did not display, this would imply that the command had run but the installation did not have permissions to add some keys the registry using this method.

The most likely reason for this lack of permissions would be that the IT department has pushed some policies on that computer that has limited one's permissions for that computer where user tried to install MapInfo Professional
(note: network polices always override local policies).

However, there may be other reasons why the command is not being allowed to alter the registry and unfortunately users will have to work with their IT department to figure out why this is occurring. 

You can add the missing registry entries by opening a command prompt (by first right clicking on the command line shortcut  cmd.exe and select “Run as administrator”),
and then type the command: “<path to mapinfow.exe>\mapinfow.exe” – regserver.
Once the command has finished running,  allow the installer to complete and then start up MapInfo Professional.


UPDATED: March 27, 2017
This issue is almost always related to insufficient Rights for the person installing the software.
User installing must have local machine administrator rights....
The actual running of MapInfo Professional typically only requires Power User-level Rights