Question:
How to install the Desktop Apps silently with DocuWare 6.7?
Answer:
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 in the folder ...\DocuWare\Web\ClientSetupData\Prerequisites\
Prerequisites:
- .NET Framework v 4.5
- Windows Installer 4.5
- Visual C++ 2008 redistributable packages
- for x86 systems install only vcredist_x86.exe
- for x64 systems install only vcredist_x64.exe and vcredist_x86.exe
- Visual C++ 2010 redistributable packages
- for x86 systems install only vcredist_x86.exe
- for x64 systems install only vcredist_x64.exe and vcredist_x86.exe
- Visual C++ 2012 redistributable packages
- for x86 systems install only vcredist_x86.exe
- for x64 systems install only vcredist_x64.exe and vcredist_x86.exe
DocuWare Desktop Apps:
- DocuWare Desktop
- Printer App
- Import App
- Scanner App
- Smart Connect App
- Edit & Send App
- Connect to Outlook
- Windows Explorer Client
- Common OCR
- Upload App
- Workflow Designer App
- Connect To Toshiba App
Steps to perform a silent installation of the DocuWare Desktop Apps:
1. Make sure that the directory ...\DocuWare\Web\ClientSetupData\ is available over the network
2. Create a new text file in the setup directory and add the following content:
@echo off
echo ****************************************************
echo ** DocuWare 6.7 Desktop Apps are being installed ***
echo **** This window will be closed automatically. *****
echo ****************************************************
rem specify DWSetupPath, share folder C:\Program Files (x86)\DocuWare\Web\ClientSetupData\. Needs to be accessible from the client pc!
SET DWSetupPath=\\servername\ClientSetupData
rem specify DWSettingsPath, 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 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 Common OCR is required for each DW Desktop App
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 and start DWDesktopService
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 Connect To Toshiba
msiexec /i "%DWSetupPath%\DocuWare.ConnectToToshiba.msi" ALLUSERS=1 MSIFASTINSTALL=7 SETTINGSPATH="%DWSettingsPath%" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_C2T.log /q
rem logging is optional. Disable it by removing "/liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Install_Xxx.log"
3. Delete the corresponding rows for the apps which should not be installed.
4. Adapt the highlighted parts according to your installation.
5. Save the text file as e.g. DocuWare_67_Desktop_Apps_Silent_Install.bat
6. 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, 2 minutes after the 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 in the script above).
- If windows authentication is set up in DocuWare, no further action is required by the user.
- If windows authentication is not set up, the user will be prompted to enter his/her DocuWare credentials.
@echo off
echo ****************************************************
echo **** DocuWare Desktop Apps are being removed *****
echo **** This window will be closed automatically. *****
echo ****************************************************
rem specify DWSetupPath, share folder C:\Program Files (x86)\DocuWare\Web\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 CommonOCR
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 Connect To Toshiba
msiexec /x "%DWSetupPath%\DocuWare.ConnectToToshiba.msi" /liwearmo %temp%\DocuWare_Desktop_Apps_Silent_Uninstall_C2T.log /q