Silent Install

<< Click to Display Table of Contents >>

Navigation:  Installation >

Silent Install

For automated software deployment solutions, it is advisable to install Xpert-Timer automatically and without user interaction. The installation program provides a mode for unattended installation ("Silent Install") for this purpose.
 
1)  If there is an existing "xperttimer.ini" file with the database settings, it can be copied to the setup file "XTInstDE.exe". The setup then copies this to the desired destination directory.
 
2) The file "silentinstall.inf" with the instructions for the setup must be created and copied to the setup file "XTInstDE.exe".
The file "silentinstall.inf" has the following content (please modify according to your own needs):

 

[Setup]

Lang=enSelectedLanguageIndex=0
 
;Target path of the
application filesDir=C:\Target directory\XpertTimer
;Target path of the database, if Access or
SQLiteDataDir=D:\My Documents\My Documents\
XpertTimerGroup=Xpert-Timer v10.
 
0NoIcons=0SetupType=custom
;Available components: xt, xtadmin, reports,
demoComponents=xt,reports
;Additional tasks, e.g., creating desktop icons or downloading the help
fileTasks=desktopicon,quicklaunchicon,downloadhelpfiledont
;Usage mode: demo,full,
updateUsageMode=full
;ClientServerMode: csmUnknown=0,csmSingleUser=1,csmClientAndServer=2,csmClientOnly=3,csmServerOnly=4,csmSyncUser=5,
csmNetwork=6ClientServerMode=3
;DatabaseTypeMode: dtmUnknown=0,dtmAccess=1,dtmMSSQL=2,dtmMySQL=3,dtmNoDatabase=4,dtmSQLite=5,
dtmPostgreSQL=6DatabaseTypeMode=4

The tasks also include the task "downloadmssqldriver". For this, the DatabaseTypeMode must be set to 2 (=MSSQL)
 
;Additional tasks. e.g. creating desktop icons, downloading the help file or downloading the MS-SQL native
driversTasks=desktopicon,quicklaunchicon,downloadhelpfiledont,downloadmssqldriver
 
;DatabaseTypeMode: dtmUnknown=0,dtmAccess=1,dtmMSSQL=2,dtmMySQL=3,dtmNoDatabase=4,dtmSQLite=5,
dtmPostgreSQL=6DatabaseTypeMode=2

3) The directory contents look like this:

4) The call is made via the command line.

XTInstDE.exe /silent /loadinf="silentinstall.inf"
 
Without the parameter "/silent," the settings are only loaded and you can see in the setup which settings would be applied.

 
5) After running the setup, the following files are located in the target directory:

 

Further information on this topic can be found at this link:
http://www.jrsoftware.org/ishelp/index.php?topic=setupcmdline