Vistas:

You have the possibility to install/upgrade all DocuWare Desktop Apps silently.
This article is not valid for DocuWare 7.2 and higher.

DocuWare Desktop Apps:

  • DocuWare Desktop
    • Printer
    • Import
    • Scanner
    • Smart Connect
    • Edit & Send
    • Connect to Outlook
    • Windows Explorer Client
    • Common OCR
  • Upload App
  • Workflow Designer
  • Online Administration
  • UrlCreator

Prerequisites:

  • Windows Installer 4.5
  • .NET Framework v 4.5.2
  • Visual C++ 2010 redistributable packages (VCRedist100)
    • on x86 systems install only vcredist_x86.exe
    • on x64 Systeme install vcredist_x64.exe and vcredist_x86.exe
  • Visual C++ 2012 redistributable packages (VCRedist110)
  • Visual C++ 2015 redistributable packages (VCRedist140)

All prerequisites need to be installed manually and before installing the Desktop Apps silently. This is very important otherwise the Desktop Apps won't work.

You'll find the files here:
DW Cloud US: 
https://<Your-DocuWare-Cloud-URL>/DocuWare/ClientSetupData//Prerequisites/

There is a folder for each DocuWare Version which contains a folder with the prerequisites required.

How to perform a silent install of the Visual C++ redistributable packages is described in this MSDN Blog: http://blogs.msdn.com/b/astebner/archive/2010/10/20/10078468.aspx


 

Steps to perform a silent installation of the DocuWare Desktop Apps:

  1. Check which version is currently installed in DocuWare Online by opening Web Client menu - "About"
  2. Download the Desktop Apps installation files here
    https://<Your-DocuWare-Cloud-URL>/DocuWare/ClientSetupData
  3. Make sure that the directory where you saved the Desktop App installation files is available over the network (in this sample we use "\\servername\ClientSetupData\")
  4. Login to your Web Client and check which organization ID "orgId" is assigned to your organization. You can see the "orgId" at the end of the URL in your browser: "https://.../DocuWare/Platform/WebClient?orgId=1"
  5. Create a new text file in the setup directory and add the following content: 

    @echo off
    echo ****************************************************
    echo **** DocuWare Desktop Apps are being installed *****
    echo **** This window will be closed automatically. *****
    echo ****************************************************
    rem specify DWSetupPath, share folder "...\ClientSetupData\". Needs to be accessible from the client pc!
    SET WSetupPath=\\servername\ClientSetupData

    rem You'll find your organization ID at the end of the URL after login in the Web client: https://docuware-online.com/DocuWare/Platform/WebClient?orgId=1
    rem Depending on your region you need to take care which whether you are using DW Cloud EMEA or DW Cloud US. Adapt the URL accordingly:
    rem DW CLoud EMEA https://docuware-online.de rem DW Cloud US https://docuware-online.com

    SET DWSettingsPath=https://<Your-Cloud-URL>/DocuWare/Platform/Home/ClientSetupInfo?orgId=1

    rem add settings path for DW Desktop default connection management in registry (HKLM)
    if defined ProgramFiles(x86) (set RegPath=HKLM\SOFTWARE\Wow6432Node) else (set RegPath=HKLM\SOFTWARE) reg add %RegPath%\DocuWare\Setup /v SettingsPath /t REG_SZ /d %DWSettingsPath% /f >nul 2>&1
    rem DW Desktop Plugins - start

    rem DW Desktop Framework with OCR Toolkit is required for every DW Desktop Plugin
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_Des.log /q
    msiexec /i "%DWSetupPath%\DocuWare.CommonOCR.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_OCR.log /q
    rem DW Printer
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.Printer.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_Pri.log /q
    rem DW Import
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.Import.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_Imp.log /q
    rem DW Scanner
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.Scanner.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_Sca.log /q
    rem Smart Connect
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.SmartConnect.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_SC.log /q
    rem Edit & Send
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.EditSend.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_EaS.log /q
    rem Connect to Outlook App
    msiexec /i "%DWSetupPath%\DocuWare.ConnectToOutlook.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_C2O.log /q
    rem Windows Explorer App rem for WEC you need to find out if x64 or not if defined ProgramFiles(x86) (set WECx64=DocuWare.WindowsExplorerClient64.msi) else (set WECx64=DocuWare.WindowsExplorerClient.msi)
    msiexec /i "%DWSetupPath%\%WECx64%" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_WEC.log /q
    rem start DW Desktop Service

    net start DWDesktopService
    rem start DW Desktop with params -createdefaultconnection to create a default connection
    if defined ProgramFiles(x86) (start "" "C:\Program Files (x86)\DocuWare\Desktop\DocuWare.Desktop.exe" -createdefaultconnection) else (start "" "C:\Program Files\DocuWare\Desktop\DocuWare.Desktop.exe" -createdefaultconnection)
    rem DW Desktop Plugins - end
    rem DocuWare Upload App
    msiexec /i "%DWSetupPath%\DocuWare.UploadService.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_UpS.log /q
    rem DocuWare Workflow Designer
    msiexec /i "%DWSetupPath%\DocuWare.WorkflowDesigner.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_WfD.log /q

    rem DocuWare Online Administration
    msiexec /i "%DWSetupPath%\DocuWare.AdministrationOnline.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_Adm.log /q
    rem DocuWare UrlCreator
    msiexec /i "%DWSetupPath%\DocuWare.UrlCreator.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_UC.log /q
    rem DocuWare Index Cleaner
    msiexec /i "%DWSetupPath%\DocuWare.IndexCleaner.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_IC.log /q

    rem logging is optional. Disable it by removing "/liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_Xxx.log"
     
  6. Delete the corresponding rows for the apps which should not be installed.
  7. Adapt the highlighted parts according to your installation.
  8. Save the text file as e.g. DocuWare_Desktop_Apps_Silent_Install.bat
  9. Run the BAT file manually or in a Windows logon script 

Important notes:

  • Local admin rights are required for the installation
  • On terminalservers we recommend to add the parameter REBOOT=R, in order to prevent an automatic reboot of the server.
  • If there is no connection, DocuWare Desktop will automatically connect to the DocuWare System two minutes after the first start.
    • Another option is to trigger the connection using the command line argument -createdefaultconnection for DocuWare.Desktop.exe. The connection is then established immediately at the start of DW Desktop (see example BAT script above).
    • The users will be prompted to enter their DocuWare credentials.

 

For a silent uninstallation use this script: 

@echo off
echo ****************************************************
echo **** DocuWare Desktop Apps are being removed *****
echo **** This window will be closed automatically. *****
echo ****************************************************

rem specify DWSetupPath, share folder "...\ClientSetupData". Needs to be accessible from the client pc!
SET DWSetupPath=\\servername\ClientSetupData
rem delete settings in registry HKLM
if defined ProgramFiles(x86) (set RegPath=HKLM\SOFTWARE\Wow6432Node) else (set RegPath=HKLM\SOFTWARE) reg delete %RegPath%\DocuWare\Setup /v SettingsPath /f >nul 2>&1
rem DW Desktop Plugins - start rem DW Printer
msiexec /x "%DWSetupPath%\DocuWare.Desktop.Printer.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_Pri.log /q

rem DW Import
msiexec /x "%DWSetupPath%\DocuWare.Desktop.Import.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_Imp.log /q

rem DW Scanner
msiexec /x "%DWSetupPath%\DocuWare.Desktop.Scanner.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_Sca.log /q

rem Smart Connect
msiexec /x "%DWSetupPath%\DocuWare.Desktop.SmartConnect.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_SC.log /q

rem Edit & Send
msiexec /x "%DWSetupPath%\DocuWare.Desktop.EditSend.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_EaS.log /q

rem Connect to Outlook
msiexec /x "%DWSetupPath%\DocuWare.ConnectToOutlook.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_C2O.log /q

rem Windows Explorer App
rem for WEC you need to find out if x64 or not
if defined ProgramFiles(x86) (set WECx64=DocuWare.WindowsExplorerClient64.msi) else (set WECx64=DocuWare.WindowsExplorerClient.msi)
msiexec /x "%DWSetupPath%\%WECx64%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_WEC.log /q

rem DocuWare Desktop Framework with OCR Toolkit
msiexec /x "%DWSetupPath%\DocuWare.Desktop.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_Des.log /q

msiexec /x "%DWSetupPath%\DocuWare.CommonOCR.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_OCR.log /q
rem DW Desktop Plugins - end
rem DocuWare Upload App
msiexec /x "%DWSetupPath%\DocuWare.UploadService.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_UpS.log /q
rem DocuWare Workflow Designer
msiexec /x "%DWSetupPath%\DocuWare.WorkflowDesigner.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_WfD.log /q

rem DocuWare Online Administration
msiexec /x "%DWSetupPath%\DocuWare.AdministrationOnline.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_Adm.log /q

rem DocuWare UrlCreator
msiexec /x "%DWSetupPath%\DocuWare.UrlCreator.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_UC.log /q
rem DocuWare Index Cleaner
msiexec /x "%DWSetupPath%\DocuWare.IndexCleaner.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_IC.log /q