The installation of WebOffice extensions can also be executed via command line or bat-file as silent installation. This can be especially useful if you need to update multiple machines at once, or if you don't want to specify the appropriate user information and paths for each new WebOffice Major Release or Service Pack.
Therefore you can enter the according command in command prompt, or use the bat-file Install_WebOffice_Extensions.bat from the WebOffice10.8-DVD, which is located under:
WebOffice10.8-DVD\Software\Miscellaneous\Automatization\Install_WebOffice_Extensions\
Generally there are 3 different ways to install WebOffice extensions silent:
1.Complete Silent Installation via command prompt
2.Complete Silent Installation via bat-file of the WebOffice10.8-DVD
3.Silent installation of the desired components
Complete Silent Installation via command prompt:
At first run command prompt as administrator and execute the following commands:
msiexec -i path0\WebOfficeExtensions.msi SECPATH1=path1 SECPATH2=path2 SECPATH3=path3 SECPATH4=path4 SECPATH5=path5 COMPLUSUSER=User COMPLUSPASSWORD=password /q
▪path0 = path in which the WebOfficeExtensions.msi file is stored
▪path1 = ArcGIS Output path
▪path2 = WebOffice Output path
▪path3 = WebOffice ePaper Template path
▪path4 = WebOffice Plot-Layout Template path
▪path5 = WebOffice Extractserver Configuration path
▪User = Username of the local or domain Extensions user
▪Password = Password for the Extensions user
Notes:
To successfully complete the silent installation, you must correctly enter all parameters listed above.
If you do not want to execute a silent installation, but a verbose installation via bat-file, you can delete the parameter '/q' in line 20 of the file 'Install_WebOffice_Extensions.bat' .
Silent Installation of WebOffice Extensions
Complete Silent Installation via bat-file of the WebOffice10.8-DVD:
To run the silent installation via bat-file, you have to adapt the file first. Therefore open the file 'Install_WebOffice_Extensions.bat' with a text editor (e.g. Notepad++) and adapt the following values according to your environment.
•WEBOFFICE_EXTENSION_SETUP_FILE_FOLDER = Pfad where the file WebOfficeExtensions.msi is stored.
•ARCGIS_OUTPUTFOLDER = ArcGIS output folder
•WEBOFFICE_OUTPUTFOLDER = WebOffice output folder
•WEBOFFICE_EPAPER_TEMPLATE_FOLDER = WebOffice ePaper template folder
•WEBOFFICE_PLOT_TEMPLATE_FOLDER = WebOffice Plot template folder
•WEBOFFICE_EXTRACT_TEMPLATE_FOLDER = WebOffice Extractserver template folder
•WEBOFFICE_EXTENSION_USER_NAME = username of the local or domain user of extension
•WEBOFFICE_EXTENSION_USER_PASSWORD = password for the extension user
Note:
All listed values must be entered correctly in order to run the silent installation successfully.
completely filled bat-file
As soon as all parameters are adapted, the file Install_WebOffice_Extensions.bat can be executed as administrator. After a few seconds WebOffice extensions will be installed.
Silent Installation of the desired components:
a) Authors
In a distributed scenario, for example, if you only want to install the authors on a dedicated administration machine and not the complete WebOffice extensions, the following commands can be executed via command line:
msiexec -i path0\WebOfficeExtensions.msi ADDLOCAL=PlottenAuthor,ePaperAuthor,CadExportAuthor /q
▪path0 = Path in which the file WebOfficeExtensions.msi is stored
after the command 'ADDLOCAL=' the authors can be listed which should be installed on the respective computer. If you only want to install WebOffice ePaper author, the command for silent installation would be as follows:
msiexec -i WebOfficeExtensions.msi ADDLOCAL=ePaperAuthor /q
b) Extensions Services
On the other hand, it is also possible to install WebOffice Extensions Services without the corresponding authors. Therefore the following commands have to be executed in the command line:
msiexec -i path0\WebOfficeExtensions.msi ADDLOCAL=PlottenServerExtension,ePaperServerExtension,CadExportServerExtension,ExtensionServiceBase SECPATH1=path1 SECPATH2=path2 SECPATH3=path3 SECPATH4=path4 SECPATH5=path5 COMPLUSUSER=User COMPLUSPASSWORD=password /q
▪path0 = Path in which the file WebOfficeExtensions.msi is stored
▪PlottenServerExtension = Extensions Service which enables printing
▪ePaperServerExtension = Extensions Service which enables the generation of WebOffice ePaper Reports
▪CadExportServerExtension = Extensions Service which enables the export of data
▪ExtensionServiceBase = Base Extensions Service, which must always be installed if an WebOffice extensions function should be available.
▪path1 = ArcGIS Output path
▪path2 = WebOffice Output path
▪path3 = WebOffice ePaper Template path
▪path4 = WebOffice Plot-Layout Template path
▪path5 = WebOffice Extractserver Configuration path
▪User = Username of the local or domain Extensions user
▪Password = Password for the Extensions user
Note: The Extensions Service 'ExtensionServiceBase' must always be installed as well.
For example, the command to install individual features by entering a service user would look like this:
msiexec -i D:\WebOfficeExtensions.msi ADDLOCAL=PlottenServerExtension,ExtensionServiceBase SECPATH1=D:\arcgisserver\directories\arcgisoutput SECPATH2=C:\Tomcat\webapps\WebOffice\output SECPATH4=D:\arcgisserver\directories\WebOfficeePlotTemplates COMPLUSUSER=WebOfficeExtUser COMPLUSPASSWORD=password /q
Notes:
•If you experience troubles installing the setup you can log the installation steps using the msiexec -i installation functionality. See chapter Install/Uninstall Problems during Setup Process for details how to log the setup process.
•Dependent on your server machine the installation process of the WebOffice extensions might use more time (about 20 minutes) as usual. We recommend to wait for a successful end of the installation and not to cancel the installation at an early stage.
•It is recommended to create an own user (local or domain user) before executing the setup. This user will be specified during the setup process of the WebOffice extensions
•If data that originates from a network drive is involved in printing, it is highly recommended to create a domain user for the WebOffice extensions that has access rights to this network.
•If there are problems with the printing time, it is assumed that the WebOffice extensions user does not have the rights to use the 'Performance counter' / 'Performance editor'. In this case you have to add the WebOffice extensions user to the group 'Performance Log Users'. For more details see chapter Add extension user to group 'Performance Log Users'.