Installation

ResMa® is installed and updated with a setup. The setup was rebuilt for ResMa® 3.9: it installs ResMa® to new default locations and keeps program and runtime data apart, see Folders from ResMa 3.9.

Installation of ResMa® via Setup

The setup is available in two variants:

  • ResMa_3.9.0_Full.exe (“full setup”) contains all third-party components, including SQL Server 2025 Express and SQL Server Management Studio 22. It does not need an internet connection.

  • ResMa_3.9.0_DL.exe (“download setup”) downloads .NET Framework 4.8, Visual C++, SQL Server 2025 Express and SQL Server Management Studio from Microsoft when needed and therefore needs an internet connection. It does not upgrade an existing SQL Server instance.

Requirements:

  • Windows 10 or 11 (except Home) or Windows Server 2019 or later, 64-bit.

  • A user with administrator rights. The setup sets up IIS and MSMQ itself.

  • For an update, free disk space for the backup of the program folder and the database. Depending on the amount of data, the database backup can exceed 100 GB.

If Windows has to restart in between, for example after installing .NET Framework 4.8, the setup continues by itself after you sign in.

New installation via setup

For a new installation, the “full setup” is preferably used. After starting it, choose the language. It is used for the setup and for the installed program.

Language selection

Then accept the license agreement.

License agreement

On the “Components” page, choose the features. The ResMa server is always installed; the IIoT connection and ModbusConnect are optional.

Component selection

If there is no SQL Server instance for ResMa® on the computer yet, the setup installs SQL Server 2025 Express with the instance RESMA_2025. The Windows administrators and the signed-in user become administrators of the SQL Server. SQL Server authentication stays enabled for support.

SQL Server 2025 Express

“Install” starts the installation. Windows asks for administrator rights.

User Account Control

The prerequisites are installed first. Some of them, for example SQL Server, show a window of their own.

Installation of the prerequisites Installation of SQL Server 2025 Express

Then the actual ResMa setup starts. The default installation folder is C:\Program Files\Weidmueller\ResMa\. Keep this folder.

Installation folder

In the next step, enter the SQL Server. The default is the newly installed instance (local)\RESMA_2025 with Windows authentication. Windows authentication is recommended. For SQL Server authentication, enter login and password.

SQL Server

“Install” sets up ResMa®, the database and the services.

Ready to install Installation of ResMa®

If no SQL Server Management Studio is installed yet, the setup finally installs SQL Server Management Studio 22. The final page shows the result. “Open log” opens the installation log. If the setup requires a restart, restart the computer with “Restart now” or later yourself.

Completion of the installation

After the installation, ResMa® can be reached with the shortcut “ResMa LogOn” in the Start menu under “Weidmüller”, in the browser at https://localhost:8080.

Update installation via setup

The “download setup” is sufficient for an update. Only the “full setup” can upgrade an older SQL Server Express instance to SQL Server 2025. An update is possible from any version from ResMa® 3.0 onwards. Notes on skipped versions, for example on the license file, are in the update instructions delivered with the setup.

Attention

Systems with customer-specific plug-ins must be checked for compatibility before the update. Contact support@gti.de for this.

Language and license agreement appear as for a new installation. On the “Components” page, the setup shows the installed version. Features that are already installed are preselected; data and configuration are kept.

Components during an update

If the setup finds an older SQL Server Express instance of ResMa®, you can have it upgraded to SQL Server 2025 Express. Instance name and databases are kept. The upgrade runs after the ResMa update, so the backup and the database update still run on the current version. Afterwards the databases can no longer be restored to an older SQL Server version.

Upgrade of SQL Server Express

The setup leaves an instance that is not an Express edition unchanged.

SQL Server without upgrade

If an older SQL Server Management Studio is installed, the setup asks whether to install SQL Server Management Studio 22 and remove the old version afterwards. The old version is only removed if the new one was installed successfully.

SQL Server Management Studio during the update

In the ResMa setup, the new installation folder C:\Program Files\Weidmueller\ResMa\ is the default for an update as well, even if ResMa® was located in C:\ResMa so far. What happens to the old folder is described under Folders from ResMa 3.9. The setup reads the SQL Server from the current configuration; usually you do not have to change the default.

SQL Server during an update

Before the update, the setup backs up the current state. Keep both options switched on. The program folder is backed up as a ZIP file, the database is backed up and the backup is verified. The default folder is C:\ProgramData\Weidmueller\ResMa\Backup\, which only SYSTEM and administrators can access. Each run creates its own subfolder ResMa_<date>_<time> there. If the backup fails, the update is cancelled before the database is changed.

Backup before the update

Backing up a large database can take up to an hour. Do not cancel the update during this time.

If the setup cannot replace files or services while Windows is running, it reports that a restart is needed to complete the setup. Confirm the message with “OK” and restart the computer at the end.

If database optimization scripts were not run because they would take too long, the final page points this out. Run these scripts in coordination with support.

Completion of the update

After the update, check that the ResMa services are running and start them manually if necessary.

Folders from ResMa 3.9

ResMa® stores program and runtime data separately:

  • Program: C:\Program Files\Weidmueller\ResMa\

  • Runtime data: C:\ProgramData\Weidmueller\ResMa\3.9\. This contains ResmaConfigs.XML, the logs (Logs), the certificates (Cert), HiveMQ (HiveMQ\conf, data, log), Database\Backups, MessageBackup, wm-iot and the data of ModbusConnect (ModbusConnect).

  • Backups of the setup: C:\ProgramData\Weidmueller\ResMa\Backup\

The data folder is registered in the registry under HKLM\SOFTWARE\WM-GTI\RESMA, value DataPath.

Data folder of ResMa 3.9

What this means:

  • The configuration file ResmaConfigs.XML is no longer in the installation folder but in the data folder.

  • The folder C:\ProgramData is hidden in Explorer by default. Enter the path directly in the address bar.

  • Only SYSTEM, administrators and the ResMa services can access the data folder; only SYSTEM and administrators can access Cert and HiveMQ\conf. Open an editor as administrator to change ResmaConfigs.XML.

  • Place your own certificates as server.crt and server.key in C:\ProgramData\Weidmueller\ResMa\3.9\Cert\. Back up the existing files first.

  • The database scripts are located in C:\Program Files\Weidmueller\ResMa\Database\. The setup adjusts the paths in the scripts to the installation folder.

  • Your own scripts, shortcuts or backup jobs that point to C:\ResMa must be changed to the new folders.

When updating from C:\ResMa or D:\ResMa, the setup copies the runtime data to the new data folder. This includes ResmaConfigs.XML, logs, certificates, HiveMQ and the data of ModbusConnect. It changes the paths for MessageBackup and the database backup. The database itself stays where it is. After a successful update, the setup renames the old folder to C:\ResMa.old. If that already exists, it is named C:\ResMa.old.<date>-<time>. Nothing is deleted.

Attention

C:\ResMa.old contains the old configuration with connection data and the license. Delete the folder as soon as you no longer need it.

When updating to a new minor version, for example from 3.9 to 3.10, the setup copies the runtime data to a new data folder (…\ResMa\3.10\). For an update within the same minor version, the data folder stays.

Installation of the ResMa® Connect Modbus

Since ResMa® 3.9, the setup installs ModbusConnect as a component: the service ResMaDirectConnectService in the folder C:\Program Files\Weidmueller\ResMa\ModbusConnect\, the data in C:\ProgramData\Weidmueller\ResMa\3.9\ModbusConnect\. During an update, the setup takes over ClientId, ConnectorId and ResMaServerHost from the current configuration. The following description applies to an installation without the setup.

As an installation, only the corresponding software package must be installed on the target system. Where on the file system the folder is installed is the responsibility of the user.

For this purpose, the files are imported directly on the same host as that of the ResMa® installation:

DirectConnect files

After that, the connector must be installed as a service. The service can be installed from the Service Install.bat file. It is recommended to run this file with administrator rights. With the installation of the service, the installation is complete. To activate the service in ResMa®, its configuration file must be adapted to the system. The file that needs to be customized for this is called ResMa®DirectConnectService.exe.config. The following position must be adapted here.

DirectConnect configuration

The user must enter the IP address of the ResMa® server under ResMa®ServerHost. Finally, a unique number must be assigned under ConnectorID. The ClientID can be assigned.

After configuration, the service can be started and is active in the ResMa® system. The new ResMa® Connector should now be displayed in the Connector view in the ResMa® WebInterface.

To detect connector errors, the connector writes its own log file. This provides information on possible error cases.

Extending device templates for Modbus

Both selection lists can also be extended or supplemented by the user. To do this, the following files must be adapted in the ResMa® file system. DriverConnectionTemplate.csv and DriverTagTemplate. These files are located in the following folder: C:\Program Files\Weidmueller\ResMa\Database\Data\.

These files contain the entries of the drop-down menus in ResMa® and their parameters, which are necessary for the establishment of the connection. Based on these stored examples, a new measuring device with connection data and its measured variables can be created.

In addition to editing the two files, it is also possible to provide these files with suitable entries via an application. This application can be requested from ResMa® Support.

After completion of processing, the new measuring instruments must still be stored in ResMa®. To do this, the ResMa® database must be updated. To do this, the file 07 Update Driver Templates.sql must be executed in SQL Management Studio. The file is located in C:\Program Files\Weidmueller\ResMa\Database\. Make sure that the correct database is selected when the SQL script is executed.

SQL Management Studio with SQL Script

After executing the script, the newly created connection and measure entries are available in the corresponding selection lists.

Attention

If the entries are not displayed, please reload the ResMa® website in your browser (Ctrl + F5).

PROCON-WEB Connector Installation

The configurator for the PROCON-WEB Connector is located in your PROCON-WEB directory under “.. /PROCON-WEB/Runtime/ ResMa®ConnectConfiguration.exe”.

Run the tool and install the service by clicking on “Install”. Then start the service with “Run”. Check your entries and make sure that your Connector ID is not yet assigned.

PROCON-WEB Connect Configuration

To test the functionality, you can test the connection by clicking on “Check SystemServer”.

PROCON-WIN Connector Installation

Copy the ResMa®Connector files to your PC (preferably under C:ResMa®Connector). Check your configuration file at …ResMa®ConnectorResMa®ConnectorResMa®ConnectorService.exe.config. Here it is important that if you have installed a German operating system, you are entered under the item authorizedGroup=”Everyone”. If you are using an English operating system, it must say “Everyone” here.

Run ResMa® Connect Configuration

The configuration tool can be found under “…ResMa®ConnectorResMa®ConnectorConfiguration.exe”.

PROCON-WIN Connect Configuration