ClickOnce client installation
The Rework Control desktop client is installed using the ClickOnce installer. For information on how to use it, please refer to section "6.5.4 ClickOnce clients" in the MES Installer User Guide.
After installing or updating the Rework Control Client and before publishing, please perform the following steps in the directory OpCon\ClientsToDeploy\<ClientName>\Config:
-
Modify rework.REST.endpoints.xml by setting
EndpointUrito the correct value. -
Modify the configuration file Nexeed.PlugIn.Macma.xml. Below is an example for the content of Nexeed.PlugInMACMA.xml. Please change the following placeholders with the correct values:
-
<macma_url> - the URL of the MACMA server.
-
<client_id> - the client ID of the Rework Control client defined in MACMA.
-
<client_secret> - the client secret of the Rework Control client defined in MACMA.
-
<?xml version="1.0" encoding ="utf-8"?>
<MacmaConfig>
<MacmaBaseUrl><macma_url></MacmaBaseUrl>
<ClientId><client_id></ClientId>
<ClientSecret><client_secret></ClientSecret>
<RefreshThreshold>2</RefreshThreshold>
<TenantId>7311ea8c-5d48-43fe-acf9-980eedf24b6c</TenantId>
<RefreshIntervalForRoles>900</RefreshIntervalForRoles>
</MacmaConfig>
-
Delete all the unneeded HAL devices packages and configurations from
-
defaultDevices\devices (device packages)
-
Devices (device configurations)
-
OpCon\ClientsToDeploy\<ClientName>\Bin\Config\Devices. (device configurations)
-
-
Adjust the following settings in OpCon.Settings.xml:
-
Keys starting with
HAL.for general settings -
Keys staring with the customer name as prefix (e.g.
AnP,AS,DCAT,HDEV6:)
-
-
Go through and adjust the needed settings in LogisticsDesktopConfig.xml. For details, please refer to "5.4 Client settings- general" in Rework Control user manual.