Vues :

With DocuWare you are able to install/upgrade all DocuWare Desktop Apps silently

DocuWare Desktop Apps:

  • Upload App
  • Connect to Outlook App
  • DocuWare Desktop
    • Printer App
    • Import App
    • Scanner App
    • Smart Connect App
    • Edit & Send App
    • Common OCR
  • Windows Explorer App
  • Workflow Designer App
  • Connect To Toshiba App

Note: DocuWare 5 Windows Client and related modules are not part of the DocuWare Desktop Apps.
How to install these modules silently is described in a separate article.

Prerequisites:

  • .NET Framework v4
  • Windows Installer 4.5
  • Visual C++ 2010 redistributable packages
    • for x86 systems install only vcredist_x86.exe
    • for x64 systems install vcredist_x64.exe and vcredist_x86.exe
  • Visual C++ 2012 redistributable packages
    • for x86 systems install only vcredist_x86.exe
    • for x64 systems install vcredist_x64.exe and vcredist_x86.exe

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 source files in the folder [DW6.5Setup]\DocuWare and Modules\ClientSetup\Prerequisites\
How to perform a silent install of the Visual C++ 2010 redistributable packages is described in this MSDN Blog: blogs.msdn.com/b/astebner/archive/2010/10/20/10078468.aspx

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

  1. Make sure that the DocuWare 6.5 setup directory (DocuWare and Modules) is available over the network
  2. There create a new text file and add the following content:
    @echo off
    echo ****************************************************
    echo * DocuWare 6.5 Client Modules are being installed! *
    echo **** This window will be closed automatically. *****

    echo ****************************************************
    rem specify DWSetupPath, e.g. \\dwsrv\DocuWare and Modules\ClientSetup. Needs to be accessible from the client pc!


    SET DWSetupPath=\\servername\DocuWare and Modules\ClientSetup
    rem specify DWWebClientPath, e.g. http://dwsrv/DocuWare/Platform/Home/ClientSetupInfo?orgId=1. Usually the organization ID is 1.
    rem You'll find the Org ID in DW Administration > Organization > General > Identifier
    SET DWSettingsPath=http://
    servername/DocuWare/Platform/Home/ClientSetupInfo?orgId=1

    rem Connect To Outlook
    msiexec /i "%DWSetupPath%\DocuWare.ConnectToOutlook.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo C:\SilentClientSetup_C2O.log /q
    rem if other users than the one who is installing the module will use Connect to Outlook on this machine you need to copy the file
    rem %APPDATA%\DocuWare\CONNECT to Outlook\CONNECTtoOutlookApplicationConfiguration.xml to the approproate %APPDATA% folder of the users


    rem DocuWare Desktop Framework with CommonOCR are needed by every DocuWare Desktop App
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo C:\SilentClientSetup_Des.log /q
    msiexec /i "%DWSetupPath%\DocuWare.CommonOCR.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo C:\SilentClientSetup_OCR.log /q
    rem DocuWare Desktop Apps
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.Printer.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo C:\SilentClientSetup_Pri.log /q
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.Import.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo C:\SilentClientSetup_Imp.log /q
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.Scanner.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo C:\SilentClientSetup_Sca.log /q
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.SmartConnect.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo C:\SilentClientSetup_SC.log /q
    msiexec /i "%DWSetupPath%\DocuWare.Desktop.EditSend.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo C:\SilentClientSetup_EaS.log /q
    rem after installing DocuWare Desktop the users need to create a connection. Open DocuWare Web Client and choose Connect Desktop Apps.
    rem A connection is automatically created if you use any function in web client which needs a Desktop App, e.g. Send or Smart Index.


    rem DocuWare Upload App
    msiexec /i "%DWSetupPath%\DocuWare.UploadService.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo C:\SilentClientSetup_UpS.log /q


    rem DocuWare Workflow Designer
    msiexec /i "%DWSetupPath%\DocuWare.WorkflowDesigner.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo C:\SilentClientSetup_WfD.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 C:\SilentClientSetup_WEC.log /q
    rem workaround, necessary as settings file is currently not patched correctly
    if defined ProgramFiles(x86)
    (COPY /Y "%ProgramFiles(x86)%\DocuWare\Windows Explorer Client\DocuWare.WindowsExplorerClient.dll.settings" "%LOCALAPPDATA%\DocuWare\WEC")
    else
    (COPY /Y "%ProgramFiles%\DocuWare\Windows Explorer Client\DocuWare.WindowsExplorerClient.dll.settings" "%LOCALAPPDATA%\DocuWare\WEC")

    rem Connect To Toshiba
    msiexec /i "%DWSetupPath%\DocuWare.ConnectToToshiba.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo C:\SilentClientSetup_C2T.log /q


    rem logging is optional. Disable it by deleting "/liwearmo C:\SilentClientSetup_xxx.log"



    Delete the corresponding rows of the modules which should not be installed!
    Replace "servername" with the DNS of the DocuWare Server/Web Server:
    ...
    SET DWSetupPath=\\
    servername\DocuWare and Modules\ClientSetup
    ...
    SET DWSettingsPath=http://
    servername/DWWebClient/
    ...
    for example:
    ...
    SET DWSetupPath=\\
    dwsrv\DocuWare and Modules\ClientSetup
    ...
    SET DWSettingsPath=http://
    dwsrv/DWWebClient/
    ...
  3. Save the text file as e.g. "SilentDesktopAppsSetup.bat"
  4. Run the BAT file manually or as a logon script (local Admin permissions required!)

    Note:
    1. Local Admin permissions are required for the installation!
    2. DocuWare Desktop needs to be connected manually after the installation by every user. Goto DocuWare Web Client --> User menu --> "Connect Desktop Apps". If you face problems here check this article
    3. The xml file for Connect to Outlook is only created for the user which installs the module! On Terminal Servers you may need to share the file manually for all other users You'll find the file in %appdata%\DocuWare\CONNECT to Outlook\CONNECTtoOutlookApplicationConfiguration.xml
    4. The xml file for Windows Explorer is only created for the user which installs the module! On Terminal Servers you may need to share the file manually for all other users You'll find the file in %localappdata%\DocuWare\WEC\DocuWare.WindowsExplorerClient.dll.settings xml