help • 1 Installing VisualGroups • Installing • Unattended Installation
1.2.5 Unattended Installation
You can also install Swyx VisualGroups in the background without user intervention. You can run the installer from the command line. To do this, you need an XML file that contains all preconfigured entries for the installation. The XML file should contain the following parameters:
<?xml version="1.0" encoding="utf-8"?>
<c:VisualGroupsConfiguration xmlns:c="http://www.lanphone.de/schemas/2008/VisualGroupsConfiguration" mode="automatic">
<c:GlobalParameter>
 
<c:Parameter Name="AcceptSwyxEULA">true</c:Parameter>
<c:Parameter Name="VGInstallationPath">C:\Program Files (x86)\Swyx\VisualGroups</c:Parameter>
<c:Parameter Name="SQLServerInstance">MACHINENAME\SQLEXPRESS</c:Parameter>
<c:Parameter Name="SQLAdminLoginMode">SQL</c:Parameter>
<c:Parameter Name="SQLAdminLoginUser">Admin</c:Parameter>
<c:Parameter Name="SQLAdminLoginPassword"><![CDATA[Passw0rd$%³€]]></c:Parameter>
<c:Parameter Name="SQLVGLoginAutoCreate">true</c:Parameter>
<c:Parameter Name="SQLVGLoginUser">SA</c:Parameter>
<c:Parameter Name="SQLVGLoginPassword">Passw0rd$%³€</c:Parameter>
<c:Parameter Name="SQLVGDatabaseAutoCreate">true</c:Parameter>
<c:Parameter Name="SQLVGDatabaseName">VG-DATABASE-01</c:Parameter>
 
</c:GlobalParameter>
 
</c:VisualGroupsConfiguration>
* 
The parameter <c:Parameter Name="SQLServerCheck">true</c:Parameter> checks if the provided SQL information is valid (hostname reachable, username and password correct, sufficient permissions) before installing VisualGroups. If you set this parameter to false (recommended for debugging purposes only), this check will not be performed and VisualGroups will be installed without a valid SQL configuration.
 
To install VisualGroups unattended
1 Create an XML file with the parameters mentioned above.
A sample XML file is included in the VisualGroups download.
2 Run the installer in unattended mode by typing the following command:
"C:\path_to_installer\SwyxPLUSVisualGroupsInstaller.exe" -c C:\path_to_xml\unattendedVG.xml
*The installation takes place in the background.
3 If necessary, the computer restarts automatically. Then enter your login data to continue the installation.
* 
No message about a completed installation will be displayed. You can determine a successful installation by verifying that the VisualGroups Reporting Service is running as a service on the server and that the VisualGroups connection is set up and running in Microsoft IIS.
 
Remote SQL Server Support
Use 'remoteservername\SQLinstance' and enter the SQLAdminLoginUser and a password. This allows you to create or use an SQL logon account for VisualGroups instead of the (IIS) Application Pool user. Use the following parameters for the configuration:
Parameter
Description
SQLVGLoginAutoCreate
Set the value to 'true' to generate a new SQL logon with the credentials given below.
Set the value to 'false' if you have already configured an SQL logon to the SQL server and want to use it.
SQLVGLoginUser
Specify the user to log in via SQL.
SQLVGLoginPassword
Set the password corresponding to the user to log in via SQL.