Uninstall WebOffice Extension silent
You can also uninstall WebOffice extensions via command line or bat-file. 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.
Basically there are 3 different possibilities for the silent uninstallation:
1.Complete Silent Uninstallation via command prompt
2.Complete Silent Uninstallation via bat-file:
3.Silent Uninstallation of the desired Extensions Components
Complete Silent Uninstallation via command promt:
To uninstall WebOffice extensions silent, enter and execute the following command in the command prompt, which you have to open as administrator:
msiexec -x path0\WebOfficeExtensions.msi /q
•path0 = Path where the file WebOfficeExtensions.msi is located.
Silent deinstallation of WebOffice Extensions
Complete Silent Uninstallation via bat-file:
To uninstall WebOffice extensions silent via Bat-file, the file must first be adapted to our own environment. Therefore the file Uninstall_WebOffice_Extensions.bat must be opened with a text editor (e.g. Notepad++). Then set the variable WEBOFFICE_EXTENSION_SETUP_FILE_FOLDER to the path where the file WebOfficeExtensions.msi was stored.
completely filled bat-file
Finally the bat file must be saved an executed as administrator.
Silent Uninstallation of the desired Extensions Components:
a) Authors
If single WebOffice extensions authors should be uninstalled on a computer, the following commands can be executed via command line:
msiexec -x path0\WebOfficeExtensions.msi REMOVE=PlottenAuthor,ePaperAuthor,CadExportAuthor /q
•path0 = Path in which the file WebOfficeExtensions.msi is stored
after the command REMOVE= the authors can be listed which should be uninstalled from the respective computer. If you only want to uninstall WebOffice ePaper author, the command for silent Deinstallation would be as follows:
msiexec -x WebOfficeExtensions.msi REMOVE=ePaperAuthor /q
b) Extensions Services
On the other hand, it is also possible to uninstall WebOffice Extensions Services individually. To do this, execute the following commands in command prompt:
msiexec -x path0\WebOfficeExtensions.msi REMOVE=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 (Legacy)
•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
The Extensions Service ExtensionServiceBase may only be uninstalled if all Extensions Services existing on the computer are also uninstalled. |
For example, the command for uninstalling individual features by specifying a service user would look like this:
msiexec -x D:\WebOfficeExtensions.msi REMOVE=PlottenServerExtension,ExtensionServiceBase SECPATH1=D:\arcgisserver\directories\arcgisoutput SECPATH2=C:\Tomcat\webapps\WebOffice\output SECPATH4=D:\arcgisserver\directories\WebOfficeePlotTemplates COMPLUSUSER=WebOfficeExtUser COMPLUSPASSWORD=password /q