2026-11-27

Sage 100: Automate the Workstation Installation with the MSI

Automating a Sage 100 workstation install with the MSI? The server name, port and UNC path are MSI properties — pass SAGEPORTID, SAGESERVERNAME, SRCSERVERPATH and INSTALLDIR, or bake them into a transform.

You are rolling Sage 100 out to a large number of workstations and want the workstation MSI to install itself — no clicking through Workstation Setup on every desk. A test deployment of the bare MSI works, except the finished install is missing the site values: Server Name, Port and UNC Path. Those values are not installer switches you have failed to find. They are MSI public properties, and you supply them either on the msiexec command line or inside a transform file.

Two cautions before the steps. First, Sage's official position is that it does not support silent installations — its knowledgebase publishes the Group Policy / command-prompt procedure anyway, aimed at a qualified server administrator. Second, the MSI does not install the prerequisites (.NET, the Microsoft Visual C++ runtimes, and friends). Workstation Setup's autorun normally handles those; a pure-MSI deployment to a machine that lacks them produces a broken client.

The fix

The four properties, the same in every confirmed deployment:

Property Value
SAGEPORTID The port the Sage 100 service runs on
SAGESERVERNAME The Sage 100 server name (or IP address)
SRCSERVERPATH UNC path to the MAS90 folder, e.g. \\SERVER\Sage\Sage 100 Premium\MAS90\
INSTALLDIR Local workstation path, e.g. C:\Sage\Sage 100 2018 Workstation\MAS90\

Route A — properties on the command line (script / PDQ / batch)

  1. Install the prerequisites on the workstation first, silently, from the server's MAS90\wksetup\Prerequisites folder (the VC++ redistributables, VSTO runtime, and SQL components your version ships there — each has its own quiet switch).
  2. Run the workstation MSI from the server share with the properties appended:

    msiexec /i "\\SERVER\Sage\Sage 100 Premium\MAS90\wksetup\Sage 100 2018 Workstation.msi" /q /l*v C:\Windows\Temp\Sage100Install.txt SAGEPORTID=10000 SAGESERVERNAME=SERVER SRCSERVERPATH="\\SERVER\Sage\Sage 100 Premium\MAS90\" INSTALLDIR="C:\Sage\Sage 100 2018 Workstation\MAS90\"
    

    (Version, paths, server and port are your site's own; the /l*v log is how you prove what the silent install actually did.)

  3. For a version migration, uninstall the old workstation in the same script first (msiexec /x {product-code} /quiet). The product code is specific to the version being removed — read it from your own old installation; do not copy a code from someone else's script.

This route is confirmed working in the field: the command line above deployed the Sage 100 2018 Premium workstation via PDQ, and the same pattern drove a scripted 2016 → 2019 migration.

Route B — transform file (Sage's Group Policy route)

  1. Install Orca (Microsoft's MSI table editor) and open …\MAS90\wksetup\Sage 100 ERP YYYY Workstation.msi.
  2. Choose Transform → New Transform. In the Property table, set SAGEPORTID and SAGESERVERNAME.
  3. Add two new rows — this is the step that defeats people: SRCSERVERPATH (the UNC path to MAS90) and INSTALLDIR (the local path) are not existing rows waiting to be edited; you right-click in the Property table and Add Row for each.
  4. Choose Transform → Generate Transform and save the .mst in the wksetup folder.
  5. Deploy the MSI with the transform applied — msiexec /i … /t yourtransform.mst, or assign/publish it through Group Policy per Sage's KB — with prerequisites handled separately, by script or by Group Policy.
  6. Sage 100 Standard installs can skip the transform step in the KB's Group Policy flow; the server name/port properties are an Advanced and Premium concern.

Options and approaches

A second Sage instance on the same workstation

Do not run workstation setup twice. Install once — every prerequisite, runtime and DLL is already on the machine — then edit the workstation's sota.ini to add the second server instance and distribute that edited file. This is the route that succeeded for the deployment in the original discussion after the custom-MSI attempt was abandoned, and it delivered both instances through PDQ.

The PDF Converter port question

There is no install-time switch for it in anything documented here. The C/S ODBC port is added to the SOTAMAS90 DSN at runtime, not during install, and on v2019-era installs the PDF Converter's printer port/permissions have not needed manual attention since Sage upgraded the Amyuni drivers. If a deployment checklist carries a PDF Converter port step inherited from an old version, that is the step to question.

What doesn't work

  • Hunting the MSI for existing Server Name / UNC Path rows in Orca. A poster found the port property, set values where he thought the server name and path lived, and the install ignored them. The KB resolves it: SAGESERVERNAME and SAGEPORTID are properties you set, and SRCSERVERPATH / INSTALLDIR are rows you add — ideally in a transform, not by editing the vendor MSI in place.
  • Expecting the MSI to carry prerequisites. It does not. .NET and the MSVC runtimes come from autorun.exe/Workstation Setup, or from your own scripted prerequisite pass (Route A, step 1).
  • Running the second workstation setup for a second instance. Unnecessary work and a second thing to maintain — the ini edit is the documented shortcut.

Affected versions

The question was asked for Sage 100 2013. The property names are confirmed identical in Sage's KB procedure (written generically for the "Sage 100 ERP YYYY Workstation.msi"), in a 2017 Group Policy script, in the 2018 Premium PDQ deployment, and in a 2019 migration batch. What changes per version is everything around them: the MSI file name in wksetup, the prerequisites set, and the uninstall product code. Take all three from your own version's installation share.

Prevention / best practice

  • Always log silent installs (/l*v) to a fixed path, and spot-check one workstation's SOTAMAS90 DSN and a test login before declaring the rollout done.
  • Keep the deployment script and the transform in the wksetup folder alongside the MSI, so the next version's rollout starts from a working template instead of from memory.
  • Test the full sequence — prerequisites, uninstall-old, install-new, ini for second instances — on one sacrificial workstation before Group Policy or PDQ touches the fleet.

Related help

Still stuck? Send us a screenshot of the error, we will diagnose it for free.

Digit Masters has supported Sage 100 and Sage 300 since 1997. Send the screenshot through our contact page or to contact@digitmasters.com, or call (800) 965-4262.

Ready to Optimize Your Sage ERP?

Speak with a CPA-led Sage consultant. Free initial consultation — English or Chinese.

Get a Free Consultation