This article describes how to perform a silent, unattended installation of Handyman system components and Handyman Office on a PC. This will not work as a method to install Handyman Office on the main application server, only for clients.
After installation the Handyman5.ini file needs to be manually copied from the server to the client PC to get the correct Connectionstring values.
System Components
Installation from command line
Example without log:
C:\GSGroup\Installation\HandymanSystemComponents.exe /s /v" /qn"
Example with log:
C:\GSGroup\Installation\HandymanSystemComponents.exe /s /v" /qn /L*V C:\GSGroup\Installation\HandymanSystemComponents_install.log"
Log command issued by /L parameter. Additional options can be provided after the parameter.
/L*V will provide all install information including verbose output.
Other options
-
i - Status messages
-
w - Nonfatal warnings
-
e - All error messages
-
a - Start up of actions
-
r - Action-specific records
-
u - User requests
-
c - Initial UI parameters
-
m - Out-of-memory or fatal exit information
-
o - Out-of-disk-space messages
-
p - Terminal properties
-
v - Verbose output
-
x - Extra debugging information
-
+ - Append to existing log file
-
! - Flush each line to the log
-
* - Log all information, except for v and x options
PowerShell script
Example without log:
$setupFilePath = "C:\GSGroup\Installation\HandymanSystemComponents.exe"
$arguments = "/s /v`" /qn`""
$p = Start-Process -FilePath $setupFilePath -ArgumentList $arguments -Wait -PassThru
if($p.ExitCode -ne 0)
{
throw "Installation process returned error code: $($p.ExitCode)"
}
Example with log:
$setupFilePath = "C:\GSGroup\Installation\HandymanSystemComponents.exe"
$logPath = "C:\GSGroup\Installation\HandymanSystemComponents_install.log"
$arguments = "/s /v`" /qn /L*V {0}`"" -f $logpath
$p = Start-Process -FilePath $setupFilePath -ArgumentList $arguments -Wait -PassThru
if($p.ExitCode -ne 0)
{
throw "Installation process returned error code: $($p.ExitCode)"
}
Logging option are described above in Installation from command line section
Handyman Office Local Installation
Installation from command line
Example without log:
C:\GSGroup\Installation\HandymanSetup_9.7.1.31330 /s /v" /qn INSTALLDIR=C:\GSGroup\Handyman INSTALLATIONTYPEALL=2 SYSTEMCOMPONENTSINSTALLED=1"
You need to provide path where Handyman will be installed as INSTALLDIR
parameter
Example with log:
C:\GSGroup\Installation\HandymanSetup_9.7.1.31330 /s /v" /qn INSTALLDIR=C:\GSGroup\Handyman INSTALLATIONTYPEALL=2 SYSTEMCOMPONENTSINSTALLED=1 /L*V C:\GSGroup\Installation\HandymanSetup_install.log"
You need to provide path where Handyman will be installed as INSTALLDIR
parameter
Logging option are described above in System Components: Installation from command line section
PowerShell script
Example without log:
$setupFilePath = "C:\GSGroup\Installation\HandymanSetup_9.7.1.31330"
$installationDir = "C:\GSGroup\Handyman"
$arguments = "/s /v`" /qn INSTALLDIR={0} INSTALLATIONTYPEALL=2 SYSTEMCOMPONENTSINSTALLED=1`"" -f $installationDir
$p = Start-Process -FilePath $setupFilePath -ArgumentList $arguments -Wait -PassThru
if($p.ExitCode -ne 0)
{
throw "Installation process returned error code: $($p.ExitCode)"
}
Example with log:
$installationPath = "C:\GSGroup\Installation\HandymanSystemComponents.exe"
$installationDir = "C:\GSGroup\Handyman"
$logPath = "C:\GSGroup\Installation\HandymanSystemComponents_install.log" $arguments = "/s /v`" /qn INSTALLDIR={0} INSTALLATIONTYPEALL=2 SYSTEMCOMPONENTSINSTALLED=1 /L*V {1}`"" -f $installationDir, $logpath
$p = Start-Process -FilePath $installationPath -ArgumentList $arguments -Wait -PassThru
if($p.ExitCode -ne 0)
{
throw "Installation process returned error code: $($p.ExitCode)"
}
Logging option are described above in System Components: Installation from command line section