VERIFIED SOLUTION i

Installing and uninstalling MapInfo Professional silently

Products Affected: MapInfo Pro™
Directions for all operating systems except Windows 7 and Server 2008:

1. If you have the DVD , please place the installation DVD in the target computer’s disk drive. If not please download the installation files from our website.
 
2. From the command line on the target computer, type:
"[drive and path to setup exe]:setup.exe" /s /v"[Parameters for MSI]"
where PARAMETERS for MSI are the parameters you set to populate the msiexec .
For example:
"d:\Install\MI_PRO\DISK1\setup.exe" /s /v"/qb INSTALLDIR=\"C:\Program Files\MapInfo\MapInfoPro\" 
USERNAME=\"MyUser\" COMPANYNAME=\"MyCompanyName\" PIDKEY=MySerialNumber 
ACCD=MyAccessCode"

Please note: the command line parameters for the installer can not contain "~","/"
 
On a 64-bit operating system the default installaton directory is INSTALLDIR=\"C:\Program
Files\MapInfo\Professional\"

The parameter /qb tells the msiexec command to launch the install with a basic interface. That does 
not require any user action and allows the user to respond to the system's User Account Control (UAC).
 
There should be no space in between Variable=Content. A space is used as a separator in between 
parameters.
 
Parameters for user information:
• USERNAME = User Name
• COMPANYNAME = Company Name
 
Parameters for installation target information:
• INSTALLDIR = Install Directory
 
Parameters for licensing information:
• PIDKEY = Serial Number
• ACCD = Access Code
• LSNAME = License Server Name
• LSPN = License Server Port Number
 
Parameters for activating node lock and distributed licenses silently:
• ACTLIC = True. For silent automatic NODE LOCK and DISTRIBUTED activate licenses.
• RETLIC = True. For silent return licenses.
• LICLOG = Filename for log files
• BORROW = #days or True. If no specific number of days are entered, True is a valid input and results in a # of days.
• SDRLYN = False. Use this parameter to see no license transfer dialog when the user uninstalls. The license 
stays on the system if not RETLIC=True.

Note: Parameters ACTLIC and RETLIC are False by default.
 
Parameter for English language setting:
• LANGCS = ENUS or ENUK. The default is based on the computer’s region options format setting.
If this is set to anything other than US english, ENUS, then UK english, ENUK, is set.

Parameters for Concurrent Licenses:

For silent installations using concurrent licenses, you must include the parameters for the license
server name and license server port number:
 
1. Place the installation DVD in the target computer’s disk drive.
2. From the command prompt, go to the MapInfo Pro setup directory.
3. Type the following command:
"[Drive and Path]\setup.exe" /s /v"[Parameters for MSI]"
where [Parameters for MSI] are the parameters you set to populate the msiexec.
 
For example:
"d:\Install\MI_PRO\DISK1\setup.exe" /s /v"/qb INSTALLDIR=\"C:\Program Files\MapInfo\Professional\"
LSNAME=\"mylicenseserver\" LSPN=mylsportnumber PIDKEY=MySerialNumber
ACCD=MyAccessCode"

Where:
 
On a 64-bit operating system the default installation directory is INSTALLDIR=\"C:\Program
Files\MapInfo\Professional\"

The parameter /qb tells the msiexec command to launch the install with a basic interface. That
does not require any user action and allows the user to respond to the operating system's User
Account Control (UAC).

There should be no space in between Variable=Content. A space is used as a separator in
between parameters.

Parameters for licensing information:
• PIDKEY = Serial Number
• ACCD = Access Code
• LSNAME = License Server Name
• LSPN = License Server Port Number

Substitute the appropriate serial number and access code when you perform the silent install.
Look for the type of installation you want to perform from the options below and follow the
corresponding instructions.

Directions for Windows 7 and Server 2008 and beyond:
 
You can only perform a completely silent install of MapInfo Pro when your install process has elevated
administrative privileges.

The command-line options /q and /qn do not work when the User Access Control (UAC) is turned
on and your install process does not run with elevated administrative privileges. These options turn
off the user interface during the installation, which suppresses the Windows UAC. Users must
interact with the UAC to provide the necessary credentials to run the installation as an administrator.
If the user interface is turned off, the installation is terminated without warning because the UAC
cannot gather the appropriate credentials.

To work around the problem, use the /qb option in the command line when you run the silent install.
This option gives the installation a basic user interface and allows the UAC to display on the dialog box.

If you have MapInfo Pro version 17.0, 17.0.1, 17.0.2 or 17.0.3 installed, you must first uninstall it before installing version 17.0.4.
To perform a silent install on a Windows 7 and 2008 computer using the /qb option: 

To silently uninstall:
1. Type the following command,
start /wait MsiExec.exe /X{GUID} /qn RETLIC=False SDRLYN=False
 
Replace {GUID} in the command above with the ones below.
• MapInfo Pro version 1700 -{76BBDCCA-97EA-435B-8334-C1E2320200C9}
• MapInfo Pro version 1701 -{1870C3D1-39A1-41CB-8894-ADB153344546}
• MapInfo Pro version 1702 -{BBDC123D-93AC-4CA0-8985-90FBFCBCAA87}
• MapInfo Pro version 1703 -{45D6991A-DA5D-41FF-856E-157531927216}
 
2. Followed by,
CD "%~dp0"

To perform a silent install using the /qb option:

3. From the command prompt, go to the MapInfo Pro setup directory. The MapInfo Pro installation
setup.exe indicated in the steps below can be found on the installation DVD (D:\) in this directory:
\Install\MI_PRO\DISK1.

4. Type the following command:
setup.exe /L#### /s /v"/qb USERNAME=\"MyUser\"COMPANYNAME=\"MyCompanyName\"
PIDKEY=M############### ACCD=######"MPRO=#### MVWR=####

where:
/L#### is the 4 digit language code identifier. For example, for English type setup.exe /L1033,
for French type setup.exe /L1036, for German type setup.exe /L1031. and for Japanese type
setup.exe /L1041. DO NOT leave a space between the /L and the 4 digit language code.
PIDKEY=M############### is the product serial number.
ACCD=###### is the access code.
MPRO=True creates the MapInfo Pro shortcut in the Start menu and sets the default file association
of registered MapInfo Pro file types such as workspace (*.wor) or table (*.tab) with MapInfo Pro.
MVWR=True creates the MapInfo Viewer shortcut in the Start menu. It also sets the default file
association of registered MapInfo Pro file types such as workspace (*.wor) or table (*.tab) with
the new MapInfo Viewer (subscription) if the MPRO parameter above is not set to True.
For details of this new feature, see MapInfo Pro Viewer.

Note: If both the MPRO and MVWR parameters above are set to True, MPRO takes precedence
and MapInfo Pro would be the default application associated with MapInfo Pro registered
file types such as workspace (*.wor) or table (*.tab).

5. When User Access Control displays on the dialog box, click Allow or Yes.
For concurrent licenses, the license server name and port number parameters must be included:
SNAME="LicenseServerName"
LSPN="LicenseServerPortNumber"
Substitute the appropriate license server name and port number when you perform the silent install.

Uninstalling MapInfo Professional Silently (all operating systems):
To perform a silent uninstall of MapInfo Pro 17.0.x:
From the command line on the target computer type:
msiexec.exe /x {76BBDCCA-97EA-435B-8334-C1E2320200C9} /q

Running this command only uninstalls MapInfo Pro 17.0.1. It does not uninstall a previous version
of MapInfo Pro. It does not uninstall MapInfo ProViewer, MapInfo Runtime, or MapBasic.

Note: The uninstall key is unique to each version of MapInfo Pro. To silently uninstall an older
version of MapInfo Pro, you would need to use its product code (uninstall key).
These keys are in the registry at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
UPDATED:  December 8, 2019