Note: The Multi-Version Switch (MVS) will no longer be supported effective April 3, 2025.


Check here for PC*MILER hardware and software requirements. 


CONTENTS


Windows Instructions

Adding PC*MILER 38 to an Existing MVS Server

On your existing MVS Server you will be installing the desktop PC*MILER program via InstallShield. This installation serves as the Highway Network "Database" for your MVS Server.  The final part of this installation involves adding the new version to your existing pcmmv.ini, startmvs.bat, and killmvs.bat files.


Step 1: Installing PC*MILER 38 Software

A link to download PC*MILER 38 was included in the email confirming your MVS order. If you do not have that email, please contact our Support Team by clicking Submit Ticket at the top of this screen. 


The email also includes:

  • The Product Key Code you will need to license your software.
  • Your order information, including the licensed components to which you have access.


After you download and extract the .ZIP file, double-click the file named Install_PCMILER and follow the Installshield prompts. If you have any questions during the installation process, full instructions are available here.


Step 2: Adding PC*MILER 38 to Your Windows MVS Server Configuration Files

1. Add version 38 by copying the following 3 lines to your current pcmmv.ini file(s). Add the new lines below your version 35 entries.

[PCMiler 380]
address=127.0.0.1
port=8380


Note: You may have to adjust the address or port number for your particular circumstance. You will have to edit all instances of pcmmv.ini on your network. Depending on your usage you may have just one on your Server or each workstation may have its own.  Citrix and Terminal Servers can have multiple copies underneath C:\Users\<username>\Windows, C:\Documents and Settings\<username>\Windows or in %homedir%\Windows like H:\Windows.


2. If you use Startmvs.bat, add the following two lines to your Startmvs.bat file.  Add the new lines below your version 35 entries.


cd \"Alk Technologies"\PCMILER38\MVS
start pcmsock38 PC_MILER 8380


You will have to adjust for non-default location installations and the port number (8380) has to match the port number entry you made in pcmmv.ini during Step 1 above.


Tip: You can test your Startmvs.bat edits by copying the two new lines one at a time and doing a RightClick > Paste in a Command Prompt.


3. Add version 38 to your killlmvs.bat file by adding a line similar to the following line. Add the new line below your version 35 entries. It is best to do a Copy > Paste on an existing line and then edit the version number in the copied line.

taskkill /F /IM pcmsock38.exe


You'll need to start pcmsock38 and then restart your application to make version 38 available to your instance(s) of pcmmv.dll.


Step 3: Troubleshooting 

Does the Desktop PC*MILER 38 Program (alk.pcmiler.exe) work? Try to run the interactive program from the PCMILER 38 desktop shortcut.  Test that you can get a distance between two stops in the route entry tab.  A failure here is best remedied by uninstalling PC*MILER 38 then deleting the leftover C:\Alk Technologies\PCMILER38 folder before reinstalling.  A common cause of failure is not being logged in as an Administrator for the install.


Does C:\Alk Technologies\PCMILER38\MVS\pcms_test.exe work? Via Windows Explorer, browse to C:\Alk Technologies\PCMILER38\MVS and then double click pcms_test.exe and look for invalid results. Failure here is typically a licensing issue, check your license status via the PCMILER 38 License Tool shortcut on your Desktop or in the PCMILER 38 Program Group (...\PCMILER38\App\ALK.PCMiler.LicenseTool.exe)


Does running \alkmvs\mvtest<space>all return a distance for version 38? This test must be launched from a DOS prompt.  Click Start > Run (Windows Logo Key + R on  Windows 7 and higher), type in CMD and hit <Enter>. Type in the following commands for a default location installation, adjust your commands for a non-default location installation.


  C: <Hit Enter>
  cd \"Program Files"\"Alk Technologies"\Alkmvs  <Hit Enter>

  or

  cd \"Alk Technologies"\Alkmvs  <Hit Enter>
  mvtest<space>all  <Hit Enter>


Failure here is usually a port mismatch between pcmmv.ini and startmvs.bat. For Terminal Server and Citrix users you need to update personal pcmmv.ini files which can be under C:\Document and Settings\<user>\Windows, C:\Users\<user>\windows or %homedir%\Windows like H:\Windows.


Installing a New Windows MVS Server with All PC*MILER Versions

The email you received also includes a link to an installer for a new server that requires PC*MILER 38, as well as all of the old PC*MILER versions. 


It will walk you through the entire installation process. If you do not have that email, please contact our Support Team by clicking Submit Ticket at the top of this screen. PC*MILER 38 and older versions can also be installed using the links below:


AS/400 Instructions

Adding PC*MILER 38to an Existing MVS Server

1. Download this zipped folder. After unzipping pcmiler38-main-install.zip or pcmiler38.0.zip, run the setup.exe in the "Installation Files" folder as administrator.  For the non-enterprise installer, your install time product key code will be in the email from orders@trimblemaps.com.  Make sure that the Purchase Details section includes the MVS Connect component.


You are required to have "PCMILER38" in your installation path.  Do not rename the PCMILER38 folder that gets created during the installation.


Note: Enterprise Customers must use their custom installer and not the above installer. 


2. If prompted at the end install you must activate the license.


3. Add version 38 to your various .InI and .Bat Files by copying version entries and then changing the 37's to 38's.


In Killmvs.bat

Copy...

taskkill /F /IM pcmsock37.exe


Paste and edit to...

taskkill /F /IM pcmsock38.exe


In Startmvs.bat

Copy...

cd \"Alk Technologies"\PCMILER35\MVS

start pcmsock37 PC_MILER 8370


Paste and edit to...

cd \"Alk Technologies"\PCMILER38\MVS

start pcmsock38 PC_MILER 8380


In Pcmmv.ini

Copy...

[PCMiler 370]

address=127.0.0.1

port=8380


Paste and edit to...

[PCMiler 380]

address=127.0.0.1

port=8380


For Tolls

Copy...

[PCMiler 37T]

address=127.0.0.1

port=8370


Paste and edit to...

[PCMiler 38T]

address=127.0.0.1

port=8380


In Srv32.ini

Copy...

Product15=PCMiler 370


Paste and edit to... 

Product16=PCMiler 380


For Tolls

Copy...

Product15=PCMiler 37T

Paste and edit to...

Product16=PCMiler 38T


Note: There can be no gaps in the integer sequence of the ProductXX counts.  You must maintain case sensitivity. 


When starting pcmsock38.exe a "Bind Failed" error is a port conflict to be resolved in startmvs.bat and pcmmv.ini.


After starting pcmsock38.exe you need to restart our PC Distance Server (as400.exe or srv32.exe).


Hint:  You can test your Startmvs.bat edits by copying the two new lines one at a time and doing a Right Click > Paste in a Command Prompt and hitting <Enter> to run the command.  After starting pcmsock38.exe you can launch a new instance of our PC Distance Server with .\alkmvs\as400 3 2 2 or srv32 3 then close the old instance of our PC Distance server. This method eliminates down time.


Troubleshooting

Does the Desktop PC*MILER 38 Program (alk.pcmiler.exe) work? Failure here is best remedied by uninstalling PC*MILER 38. Delete the left over PCMILER38 folder and reinstall.  A common cause of failure is not being logged in as an Administrator for the install.


Does C:\Alk Technologies\PCMILER38\MVS\pcms_test.exe work? Failure here is typically a licensing issue, check your license status in the PC*MILER 38 Program Group (.\PCMILER38\app\ALK.PCMiler.LicenseTool.exe)


Does running \alkmvs\mvtest<space>all return a distance for version 38? Failure here is usually a port mismatch between pcmmv.ini and startmvs.bat.


Installing a New AS/400 MVS Server with All PC*MILER Versions

Go here for instructions on new AS/400 installations.