Repositories and autoupdate can be set up using a file of the specified format.
The setup can be executed on installing of Prognoz Platform 9 or on starting the Tuner.exe file:
To set up and install Prognoz Platform 9, place the Install.pptuner XML file to the installer directory. This file must contain the information about repository and update settings.
To set up using Tuner.exe, run this file from the command line with the XML file name specified. This file must be located in the same directory as Tuner.exe.
Syntax:
Tuner.exe tuner.xml
where tuner.xml is the name of the XML file, containing information about repository properties and autoupdate options.
To create an XML file, open a standard text editor. An XML file must have the following structure (example):
<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<Metabases>
<Metabase Driver="SQLITE" Package="STANDARDSECURITYPACKAGE" DebugMode="1" Name="SQLITE Repository" Ident="SQLITERepository">
<LogonData FileName="C:\Work\sqlite_repo" />
</Metabase>
<Metabase Driver="MSSQL2008" Package="STANDARDSECURITYPACKAGE" Authentication="1" DebugMode="1" Name="MSSQL Repository" Ident="MSSQLRepository" Scope="LM">
<LogonData Server="MSSQLServer" Database="PPRepository" />
</Metabase>
</Metabases>
<AutoUpdate Profile="9.0" Source="Z:\WebBuild\LastKnowGodd\Win" SourceType="Path" Update="Ask" Db="ORACLE:LABEL;SERVER@" />
<Splash Visible="1"/>
<Login VisibleAdvanced = "1" />
<Environments>
<Environment Name="TEST_PER1" Args="ARGS_VALUE1"/>
<Environment Name="TEST_PER2" Args="ARGS_VALUE2"/>
<Environment Name="TEST_PER3" Args="ARGS_VALUE3"/>
</Environments>
<AboutWindow>
<App Name="Prognoz" Version="Custom-built 2018"/>
<Info Title="Helpdesk support" Email="support@organizationname.com" Website="www.organizationname.com"/>
<Copyright Value="Organization name"/>
</AboutWindow>
<Exception EMail = "support@mail.com" />
</Configuration>
The example provides settings for the SQLite driver. Depending on the selected driver type, setup for some sections will differ:
Setup for the Mircosoft SQL Server driver
Setup for the PostgreSQL driver
Display image in the login dialog box
Determine system environment variables
Show the Settings button in the login dialog box
Determine contact information in the About dialog box
See also: