Summary
There is no packaging involved with MapInfo Pro due to the fact everything can be done via the command line or a bat script. I wouldn’t recommend creating a MST and deploying the MSI with the MST, from previous experience this misses components out like File Type Associations and other little bits like that. Oh and as per Pitney Bowes support, they officially do not support SCCM.
Prerequisites
If you’re using the 86 or 64 bit version of MapInfo you need to install the corresponding versions of the prerequisites. As per the MapInfoProInstallGuide.PDF that comes with the installation source media of MapInfo the prereqs are as followed:
• Microsoft Office Access database engine 2010
• Microsoft Visual C++ 2010 SP1 Redistributable Package
• Microsoft Visual C++ 2012 Update 3 Redistributable Package
• Microsoft Visual C++ 2013 Redistributable Package
• Microsoft .NET Framework 4.5.2 Full
If you’re deploying MapInfo via SCCM I would suggest you add each prereq as separate packages, otherwise I would write into the bat file to install all of the prereqs before installation of MapInfo.
Configuration, Deployment and Licensing
Although I will be deploying via SCCM and I can use the command, I will still be creating a bat file script because there are quite a few issues with things like licensing etc. Licensing is a major issue here, during deployment SCCM will use SYSTEM to install the application, this means that when it runs the script, installs MapInfo and runs the command to activate the license, it will fail because it does not have access to the internet.
Here are a few steps I have taken to be able to install the application as well as activate it, for me this is the best solution, you or others may require or want a different solution but here goes anyway…
What I’ve done is to allow the user to activate the license, and to make it as plain and simple as possible for the users, or our IT Call Center, I created bat files and shortcuts by doing the following:
At the root of the install media I have added/created 6 files, they are:
Install.bat Content
“%~dp0Install\MI_PRO\DISK1\setup.exe” /s /v”/qn ALLUSERS=\”1″ USERNAME=\”GroupUser” COMPANYNAME=\”Company” REBOOT=\”ReallySuppress” RebootRequired=\”No” RebootYesNo=\”No” PRODUCTUPDATE=0 NEWSFEED=0 PIDKEY=MIN00000000 ACCD=000000
COPY /Y “%~DP0ActivateLicence.bat” “C:\Program Files\MapInfo\Professional\”
COPY /Y “%~DP0ReturnLicence.bat” “C:\Program Files\MapInfo\Professional\”
COPY /Y “%~DP0Activate Licence.lnk” “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\MapInfo\”
COPY /Y “%~DP0Return Licence.lnk” “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\MapInfo\”
uninstall.bat Content (Note: This ProductCode is for the one I’m currently using, use your own)
MSIEXEC /X {90530563-3FC0-4B6C-AD34-9D37FD874AB3} /QN
ActivateLicense.bat Content
@echo off
“C:\Program Files\MapInfo\Professional\MapInfoPro.exe” -ActivateLicense c:\temp\MapInfoProLicense.log
echo Your MapInfo Pro 12.5 Licence is now activated…
PAUSE
ReturnLicense.bat Content
@echo off
“C:\Program Files\MapInfo\Professional\MapInfoPro.exe” -ReturnLicense c:\temp\ReturnMapInfoPro.log
echo Your MapInfo Pro 12.5 Licence has now been returned.
PAUSE
Conclusion
So after all of that, the install.bat file will install MapInfo Pro and also place shortcuts in the MapInfo shortcut folder on the start menu allowing users to activate and return licenses. I think this is the best option for me. It’s a lot of work but equals a very minimalist result in regards to end users and IT Call Centers.
After many many attempts the below INSTALL.BAT file is what worked SILENTLY for me using SCCM 2012.
This install the prereqs, then 15.2, then the 15.2.4 MaintenanceRelease:
rem install prereqs
rem
rem
%~dp0AccessDatabaseEngine_X64.exe /quiet /norestart
rem
rem
rem Install MapInfo 15.2 (64 bit)
rem
rem
"%~dp0setup.exe" /s /v"/qn USERNAME=\"username\" COMPANYNAME=\"companyname\" PIDKEY=MISWESXXXXXXXXXX ACCD=XXXXXX LSNAME=\"server\" LSPN=XXXXX PRODUCTUPDATE=0 NEWSFEED=0 REBOOT=ReallySuppress RebootRequired=No RebootYesNo=No"
rem
rem
rem Install MapInfo Maintenance Release 15.2.4
rem
rem
msiexec /p %~dp0MapInfoPro15.2.4MaintenanceRelease.msp REINSTALL=ALL REINSTALLMODE=emus /qn
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.