ProHealth Installation Guide

This guide explains how to install the ProHealth POS integration using the ProHealth Installer Wizard. Follow the steps in order and replace or redact any sensitive screenshots before publishing.

Download ProHealthBootstrapProd.exe

Download checksum file

Before You Start

Make sure you have the following information and access available before running the installer:

  • Windows administrator access on the target machine.
  • Create the ProHealth tender and its related totalizers before starting the installation.
  • SQL Server hostname, database name, username, and password if SQL authentication will be used.
  • The StoreMan base path.
  • The tender number assigned to ProHealth.
  • The Client ID and Store ID assigned for this location.
  • Have the pinpad IP address and port available before launching the installer.
  • Have the ProHealth API key, UID, and device ID available before launching the installer.
  • A stable network connection to test SQL, API, and pinpad communication.

Upgrade Notes

The current installer supports both a new installation and an upgrade of an existing ProHealth setup.

  • During an upgrade, the installer can preload values from the existing PH_Config.ini.
  • Before writing the new config, the installer creates a backup copy of the current PH_Config.ini.
  • The installer replaces the LOC and CGI files, removes the previous ProHealth service, and installs the new service files.
  • The current package avoids copying hostfxr.dll and hostpolicy.dll into the ProHealth service bin folder.

Pre-Installation Preparation

Complete the tender, totalizer, and pinpad network preparation before you launch the ProHealth installer. This will make the setup process faster and will help avoid configuration errors during installation.

Pre-Installation 1

Create the Tender Function

Create or review the tender function entry for ProHealth in the tender functions list before running the installer.

  • Example tender number: 193
  • Description: ProHealth
  • This value must match the tender number used in the installer.
Tender function list with ProHealth tender 193
Example: tender 193 is assigned to ProHealth and must match the setup wizard.
Pre-Installation 2

Review the Tender Details

Open the tender details and confirm the descriptor and totalizer assignment are correct.

  • Tender number: 193
  • Descriptor: ProHealth
  • Totalizer: 193
Tender function detail for ProHealth
The tender detail should reference the matching ProHealth totalizer.
Pre-Installation 3

Create the Totalizer and Use the Automatic Option

Create the totalizer record for the same number used by the tender. For this example, the totalizer is also 193.

When the system asks whether it should create the related records automatically, choose Yes. This is the recommended option so the remaining linked records are created for you.

Totalizer list showing ProHealth totalizer 193
Use the same number as the tender and accept the automatic creation option when prompted.
Pre-Installation 4

Find the Pinpad IP Address and Port

On the terminal pinpad, press the ! icon in the top-right corner to open the device information screen.

Use that screen to identify the current IP address and port configured on the terminal. You will need both values on the API and Pinpad screen of the installer.

Pinpad screen showing where to find IP address and port
Use the top-right information icon to view the pinpad IP address and port before installation.
Pre-Installation 5

Keep the Pinpad Address Stable

To avoid communication problems, keep the pinpad network address stable over time.

  • Reserve each pinpad IP address in the router, or
  • Assign a static IP address directly on each pinpad.

This helps ensure the ProHealth service can continue reaching the same terminal after reboots or network renewals.

Step 1

Run the Installer as Administrator

Launch the bootstrap or installer using administrator privileges. This is required because the installation process deploys files, updates the service files, and creates or replaces the Windows service.

Run the ProHealth installer as administrator
Open the installer with administrator privileges.
Step 2

Welcome Screen

Review the introduction screen, then click Next to continue.

Welcome screen of the ProHealth Installer Wizard
Use Next to begin the guided installation.
Step 3

IT Checklist

Confirm the checklist items, including network access, SQL access, and required credentials. Once verified, click Next.

IT checklist screen in the ProHealth Installer Wizard
Review the pre-installation checklist before continuing.
Step 4

Configure the POS Base Path and Tender Number

Enter the StoreMan base path and the ProHealth tender number, then click Validate Paths to validate the folders the installer will use.

  • Choose the POS base folder.
  • Enter the tender number used by the POS macros.
Paths screen before the path test
Enter the POS base path and tender number before testing the folders.
Paths screen after a successful path test
The path test must pass before you can continue.
Step 5

Configure SQL Settings

Enter the SQL Server connection details that will be used to update FCT_TAB.

  • Select or type the SQL hostname.
  • Enter the database name.
  • Choose Windows Authentication if required, or enter the SQL username and password.
SQL settings screen before testing the connection
Complete the SQL settings before testing the connection.
SQL settings screen after a successful connection test
The SQL connection must test successfully before continuing.
Step 6

Configure Tenant Credentials

Enter the tenant identification values and the ProHealth credentials for this installation.

  • Client ID
  • Store ID
  • POS Number
  • API Key
  • UID
  • POS Name

These values are written into PH_Config.ini. If you want to install additional POS terminals faster, you can copy the PH_Config.ini created during the first installation. For each new POS, only update the POS Number, the POS Name (which is mainly a description), and the pinpad IP so it matches that POS.

If you are upgrading an existing POS, review the reused values carefully before continuing.

Tenant credentials screen
Use the tenant screen to identify the client, store, POS, and ProHealth credentials.
Step 7

Configure API and Pinpad

Enter the endpoint connectivity and pinpad settings for this installation. Use 127.0.0.1 or the machine IP depending on whether you are testing locally or connecting to the actual host.

  • Server IP
  • Server Port
  • Pinpad IP
  • Pinpad Port

Click Validate API and Ping Pinpad before continuing.

API and pinpad screen before testing
Enter the API and pinpad settings before running the connectivity checks.
API and pinpad screen with the relay values filled in
Fill in the relay values before running the tests.
API and pinpad screen after successful tests
Both connectivity checks must pass before moving on.
Step 8

Review and Run the Installation

On the Summary screen, review the final configuration. You can click Preview Install to see the planned actions, then click Run Install to start the installation.

This is also a good point to double-check whether you copied an existing PH_Config.ini and only updated the POS-specific values.

For upgrades, the summary should reflect that the installer will back up the current PH_Config.ini, replace the service files, and reinstall the ProHealth Windows service.

Summary screen before running the installation
Use Run Install only after all previous tests have passed.
Final summary screen after the installation completes
This is the final completed state after running the installer.
Step 9

Confirm the ProHealth Service Is Running

Open the Windows Services console and make sure the ProHealth service exists and is running.

After an upgrade, this confirms that the previous service was replaced successfully and the new one started correctly.

Checking the ProHealth service in Windows Services
Verify that the ProHealth Windows service is installed and started.
Step 11

Restart StoreMan / SMS Programs

Close and restart all StoreMan / SMS programs so the new configuration and installed files are loaded into the POS environment.

Restart all SMS programs after installation
Restart the POS software after installation is complete.

Appendix A. Create the Custom POS Buttons

After the installer finishes, you can create or update the custom ProHealth buttons in the SMS HTML editor. The examples below use the current ProHealth function codes created by the installer: 92001 for ProHealth Pay, 92002 for ProHealth Cancel Order, and 92003 for ProHealth Balance.

Appendix A1

Open the SMS HTML Editor

Go to the SMS program folder and run L_HTM.exe. This opens the HTML editor used to maintain POS button pages.

Run L_HTM.exe from the SMS program folder
Launch L_HTM.exe to edit the POS button pages.
Appendix A2

Select the Correct Screen Template

Inside the editor, create or open the correct POS page template depending on the button you want to place.

  • POS tender page for the payment button.
  • POS manager page for the cancel previous order button.
  • POS function page for the balance button.
Template selection in the SMS editor
Choose the page template that matches the ProHealth button you are creating.
Appendix A3

Create the ProHealth Pay Tender Button

Open btn_tend.htm, place the button where you want it, and configure the function wizard to use the ProHealth Pay entry.

  • Function type: Entry Functions
  • Group: ProHealth
  • Function value: 92001 ProHealth Pay
  • Result should point to FCT=92001
ProHealth Pay button on btn_tend.htm
Use the tender page for the ProHealth Pay button and confirm the result uses FCT=92001.
Appendix A4

Create the Cancel Previous Order Button

Open btn_mgr.htm and configure the button for the cancel previous order action.

  • Function type: Entry Functions
  • Group: ProHealth
  • Function value: 92002 ProHealth Cancel Order
  • Result should point to FCT=92002
Cancel previous order button on btn_mgr.htm
Use the manager page for the cancel previous order action and verify FCT=92002.
Appendix A5

Create the ProHealth Balance Button

Open btn_func.htm and configure the balance button for the ProHealth balance lookup action.

  • Function type: Entry Functions
  • Group: ProHealth
  • Function value: 92003 ProHealth Balance
  • Result should point to FCT=92003
ProHealth Balance button on btn_func.htm
Use the function page for the balance button and verify FCT=92003.

Appendix B. Verify the ProHealth Functions

The installer creates the ProHealth function entries automatically in FCT_TAB. You can review them inside StoreMan / SMS to confirm they were created correctly before assigning them to buttons.

Appendix B1

Confirm the ProHealth Function Records

Open the Functions list and verify that the ProHealth entries are present under the ProHealth menu title.

  • 92001 - ProHealth Pay
  • 92002 - ProHealth Cancel Order
  • 92003 - ProHealth Balance
Created ProHealth functions in the functions list
These ProHealth function records should already exist after the installer updates FCT_TAB.

Appendix C. Receipt Example and Footer

The installer copies the ProHealth footer HTML and the receipt example into the selected POS office path. These files are used by the SMS HTML templates and the sample receipt layout.

  • PH_ProHealth_Footer.htm is copied to <selected office path>\htm\PH_ProHealth_Footer.htm.
  • trs_pos_rct_40c.htm is copied to <selected office path>\prohealth_receipt_examples\trs_pos_rct_40c.htm.
  • The installer creates prohealth_receipt_examples if it does not already exist.
  • The only line that needs to be added to the receipt is @tools(RCT_HTML,PH_ProHealth_Footer.htm);.
Receipt example saved under the selected office path
Add only this line to the receipt template: @tools(RCT_HTML,PH_ProHealth_Footer.htm);
Receipt template showing the ProHealth footer line
This is the only line that needs to be added to the receipt template.

Appendix D. Installer Packaging

The current deployment uses a single installer package. The relay decides whether a tenant routes to the simulator or to ProHealth production based on the tenant configuration stored in the portal.

  • Run ProHealth\Build-InstallerPackage.ps1 to rebuild the installer package.
  • The script now writes the fresh package directly into pro-health-setup\installer.
  • Upload the latest ProHealthInstaller.zip to the installer folder on the website.
  • The bootstrap downloader can stay the same unless the bootstrap behavior or URL changes.
  • The current installer package contains the new service payload, LOC files, CGI files, and the installer wizard itself.
  • The service payload no longer ships hostfxr.dll and hostpolicy.dll into the installed ProHealth service bin folder.

Appendix E. Non-UPC and Weight Items Configuration

The current ProHealth setup uses OBJ_TAB.F1783 to store the ProHealth category code for non-UPC and weight items.

  • The basket reads the category value directly from OBJ_TAB.F1783.
  • The setup no longer depends on [obj_tab] alternative_code.
  • Each item must already contain the correct ProHealth category code in OBJ_TAB.F1783.

Current category codes:

  • 66 = Meat
  • 59 = Fruits and Vegetables
  • 52 = Dairy
  • 75 = Grains

Examples:

  • Store 66 in OBJ_TAB.F1783 for meat items.
  • Store 59 in OBJ_TAB.F1783 for fruit and vegetable items.

Important notes:

  • Keep the category code stored directly in the item record.
  • Do not use a separate mapping or translation step for these items.
  • If OBJ_TAB.F1783 contains the wrong value, ProHealth may reject the item or classify it incorrectly.
  • If an item is sold by weight, make sure the POS item configuration and barcode format are already working correctly before testing ProHealth authorization.