Install Options
LS Data Director Install can be executed with parameters to make use of a scripted installation. You can find details of what options are available here:
http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html
The available tasks are:
- srvfiles: DD Service [Default]
- clitools: Client tools (Config & Job Monitor) [Default]
- cfront: CFront Files
- dd2files: DD2 Client files
- navcli: Add-ins files for NAV/BC RTC
- navsrv: Add-ins files for NAV/BC SRV
- web: Install Incoming DD Web Service to IIS
- Install DD in silent mode with Service and Client Tools:
/VERYSILENT /SUPPRESSMSGBOXES - Install Service and Client Files only
/VERYSILENT /SUPPRESSMSGBOXES /TASKS=”srvfiles,!clitools” - Install only Client Files, without Service and Client Tools
/VERYSILENT /SUPPRESSMSGBOXES /TASKS=”!srvfiles,!clitools” - Install Service, Client Files & Tools and add BC Addins
/VERYSILENT /SUPPRESSMSGBOXES /MERGETASKS="navcli,navsrv"
To add path for NAV/BC installation folders, for example if Nav/BC is installed on Docker, and path cannot be found in the Registry, add -NAVSRV “<path>” -NAVCLI “<path>”
It is possible to change default DD Configuration values during installation:
-
Create ddconfig.xml file with the modified values, put the file into the bin folder where DD will be installed, and after installation is done, DD will check for this file before creating the default configuration file, and modify those values from the xml file.
Note: This file must be in place before the first start of DD, as DD will only look for this file if default configuration values have not yet been created.
Sample of ddconfig.xml file that will set the Alias value and change Decimal fix for Database process to BIG and activate debug:
ddconfig.xml
<DDConfig>
<BaseConfig>
<Aliases>MyDD</Aliases>
</BaseConfig>
<AppConfig>
<Program Port="3">
<Debug>15</Debug>
<Param>
<DecFix>BIG</DecFix>
</Param>
</Program>
</AppConfig>
</DDConfig>