EASY Capture Client für SCCM / Empirum

Um Dokumente zu Archivieren gibt es verschiedene Tools. Eins davon ist das EASY Archiv von EASY Software AG. Um Dokumente von den Client Computern archivieren zu können, werden so genannte EASY Capture Clients verwendet. Der EASY Capture Office Client (Office Integration) und der EASY Cpature Scan Client. Wie diese Softwareprodukte für Microsoft SCCM oder Matrix42 Empirum paketiert werden, könnt ihr bei uns lesen.

 

EASY Capture Client

Je nach dem, ob ihr den Capture Office Client, oder den Capture Scan Client installieren wollt, muss natürlich die setup.exe und die config.ini angepasst werden. Die Installations Parameter für SCCM und Empirum bleiben jedoch die gleichen 🙂

Auf das Share hat jeder User Leseberechtigung, deswegen wird das Setup direkt vom Server ausgeführt.

 

Installation:

"\\youreasyserver\Clients\SETUPCPOFFCNT.exe" --platform=win32 --install=true --accept=true --silent=true --optionsfile=\\youreasyserver\Clients\silent32.ini

Die Parameter für die silent Installation sehr ihr im Aufruf. Das Optionsfile definiert Einstellungen, wie z.B. die Serverdadresse.

 

Deinstallation:

"\\youreasyserver\Clients\SETUPCPOFFCNT.exe" --uninstall=true --accept=true --silent=true

Die Deinstallation erfolgt anders, als bei anderen Installern. Hier ruft man wieder die Installations – exe auf, aber diesmal mit dem Parameter “–uninstall=true”.

 

 

EASY Capture Registry Werte

Die Einstellungen die bei der Installation von der ini-Datei gelesen werden, werden direkt in die Registry geschrieben. Wenn sich danach die Serverdaten ändern, oder der Port, müssen lediglich die Registry Einträge geändert werden. (Am Besten auch per Softwarepaket)

;##### CAPTURE CLIENT
HKLM,"SOFTWARE\WOW6432Node\clarc\officeCapture","ServerUrl",0x00000000,"http://youreasyserver:4440/"
HKLM,"SOFTWARE\WOW6432Node\clarc\officeCapture","Path",0x00000000,"C:\Program Files (x86)\EASY\CapturePlus\"
HKLM,"SOFTWARE\WOW6432Node\clarc\officeCapture","AddinCaption",0x00000000,"CAPTURE OFFICE"
HKLM,"SOFTWARE\WOW6432Node\clarc\officeCapture","shellCaptureMenu",0x00000000,"CAPTURE OFFICE"
HKLM,"SOFTWARE\WOW6432Node\clarc\officeCapture","RibbonCaption",0x00000000,"EASY"
HKLM,"SOFTWARE\WOW6432Node\clarc\officeCapture","RibbonGroupCaption",0x00000000,"EASY for OFFICE"
;##### SCAN CLIENT
HKLM,"SOFTWARE\WOW6432Node\clarc\eWork","Path",0x00000000,"C:\Programme\EASY SOFTWARE\CAPTURE PLUS\SCAN\"
HKLM,"SOFTWARE\WOW6432Node\clarc\eWork","ServerUrl",0x00000000,"http://youreasyserver:4610"

 

 

EASY Capture Client – Beispiel

Im folgenden eine Setup.inf für Matrix42 Empirum, um den Capture Scan Client zu paketieren und zu verteilen:

[SetupInfo]
Author                  = huberj
CreationDate            = 01.08.2018
InventoryID             = 
Description             = EASY Office Scan Client
Method                  = 
Tested on               = 
Dependencies            = 
Command line options    = /S1 /AW
Last Change             = 
Build                   = 

[VarDefInfo]
; <Variable>, <Type: 0=Computer 1=User>, <Allow NULL values: 0=No 1=Yes>

[Setup]
Version=14.2
ShowCaption=1
BlockInput=0
Platform=x64

[Requirements]

[Application]
ProductName=CaptureScanClient
DeveloperName=Easy Software AG
Version=5.0.3.826
Revision=0
SetupName=%ProductName% %Version% %SetupWizard%
Text1="%ProductName% %Version%",         Arial,           30, , 2170F3, 4,    , LEFT BOLD ITALIC
Text2="%DeveloperName%",                 Arial,           24, , 2170F3, 4,    , LEFT BOLD ITALIC
Text8="%Company%",                       Arial,           18, , 2170F3, 4,  10, RIGHT BOLD ITALIC
Text9="%InstallationFor% %WindowsUser%", Arial,           16, , 2170F3, 4, -18, BOTTOM ITALIC LEFT
BackgroundColor=EFEFEF,000000
CopyDialogRect=0%, 0%, 100%, 100%, HCENTER VCENTER

; Register all installations in common registry key
UserKeyName=EmpirumPackages\%DeveloperName%\%ProductName%
MachineKeyName=EmpirumPackages\%DeveloperName%\%ProductName%\%Version%
UninstallKeyName=EmpirumPackages - %DeveloperName% %ProductName% %Version%
UninstallDisplayName=EmpirumPackages - %DeveloperName% %ProductName% %Version%
UninstallString=%ReinstallString% /U
ReinstallString="%CommonSetupDir%\Setup.exe" "%App%\%SetupInfDir%\Setup.inf"
; UninstallDisplayIcon="%ApplicationDir%\%SetupInfDir%\Setup.ico",0
UninstallOptions=NOREMOVE NOREPAIR NOMODIFY
ReinstallMode=1
SrcDir=..

ApplicationDir=%CommonAppData%\EmpirumPackages\%DeveloperName%\%ProductName%\%Version%

SetupInfDir=Install
DataDir=%Personal%
AskUninstallOld=1
ShellLinks=1
CommonShellLinks=0
CreateUnresolvableShellLinks=1
UseStringSection=Strings:09
UseSysStringSection=SysStrings:09
DateWarning=1
SizeWarning=0
Reboot=0
PreventExternalReboot=1
StartServicesOnReboot=0
CallTimeOut=3600
AbortAfterCallTimeOut=1
DisableCancelButton=1
ShowEndMessage=1
EndMessage=%EndMessageDesc%

[Strings:07]
Disk1=Installationsmedium 1
EndMessageDesc=Die Installation wurde erfolgreich abgeschlossen!
ErrorLogMessage=Die Installation/Deinstallation wurde mit einer Fehlermeldung abgebrochen!
InstallationFor=Installation für:
InstallerDesc=Dienstprogramm zum Installieren einzelner Komponenten.
InstallerName=Installationsprogramm
SetupWizard=Installations-Assistent
Uninstallation=deinstallieren

[Strings:09]
Disk1=Installation media 1
EndMessageDesc=Installation was completed successfully!
ErrorLogMessage=The installation/uninstallation aborted with an error message!
InstallationFor=Installation for:
InstallerDesc=Service program to install single components.
InstallerName=Setup program
SetupWizard=Installation Wizard
Uninstallation=Uninstallation

[SysStrings:07]
Users=Benutzer

[SysStrings:09]
Users=Users

[Environment]
CommonSetupDir=%CommonFilesDir%\Setup%SetupBits%
V_MachineValuesPath=\\%EmpirumServer%\Values$\MachineValues\%DomainName%
V_UserValuesPath=%HKLM,"Software\matrix42\Software Depot","HomeServer"%\Values$\UserValues\%UserDomain%

; Maschinenabhängige Variablen
; machine dependent variables
;VM_<Variable>=%%%V_MachineValuesPath%\%ComputerName%.ini,%ComputerName%,<Variable>%%

; Userabhängige Variablen
; user dependent variables
;VU_<Variable>=%%%V_UserValuesPath%\%WindowsUser%.ini,%WindowsUser%,<Variable>%%

; !!! Setzen der entsprechenden ReplaceEnv Befehle für die Variablen im Abschnitt [Product] nicht vergessen!!!
; !!! Don't forget to set the appropriate ReplaceEnv instructions for the variables in the section [Product]!!!e

UninstallKey={F862DA54-9F18-4910-A023-CDFC4A6515C2}

Install="\\youreasyserver\Clients\SETUPCPSCANCNT.exe" --platform=win32 --install=true --accept=true --silent=true --optionsfile=\\youreasyserver\Clients\SETUPCPSCANCNT.ini
Uninstall="\\youreasyserver\Clients\SETUPCPSCANCNT.exe" --uninstall=true --accept=true --silent=true

RegUninstallKey=HKLM,SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\%UninstallKey%,UninstallString

[Encryption]

[Disks]
1=%Disk1%

[Options]
Installer = %InstallerName%, COPYALWAYS, Installer, "%InstallerDesc%"
Product   = %ProductName%,   COPYALWAYS, Product,   "%ProductDesc%"

[Installer]
1:..\..\..\..\User\Setup.exe,          %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\SetupDeu.chm,       %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:..\..\..\..\User\SetupEnu.chm,       %CommonSetupDir%, OPTIONAL USEFILENAME DIRECTORY NOSIZEWARNING SETUP, 0
1:%Temp%\Setup64.exe,                  %CommonSetupDir%\Setup.exe, OPTIONAL ALWAYS NOSIZEWARNING SETUP WINDOWS64,     0
1:..\..\..\..\User\Setup64.exe,        %CommonSetupDir%\Setup.exe, OPTIONAL ALWAYS NOSIZEWARNING SETUP WINDOWS64,     0
1:%SetupInfDir%\Setup.inf,                             , NORMAL,                                             0
;1:%SetupInfDir%\Setup.ico,                             , NORMAL,                                           0
; 1:%SetupInfDir%\Logo.bmp,                              , NORMAL,                                           0


[Processes]
;VARNAME=*word*, Microsoft Word, KILLPROCESS ABORT
;NAME=*suchbegriff*, Anzeigename für User, KILLPROCESS ABORT


[Product]
AddMeter -1
#Set:Product, DONTDELETE
#Set:Uninstall, DELETE
#Reg:Product
#Shell:Desktop
-AddMeter -1


[Set:Product]
If DoesRegKeyExist ("%RegUninstallKey%") == "1" then "Set:Repair" else "Set:Install" Endif


[Set:Install]
Call %Install%
Sleep 25000
If DoesRegKeyExist ("%RegUninstallKey%") == "0" then "InstallError" EndIf
If %ErrorLevel% == "3010" Then "RebootRequired" EndIf


[Set:Uninstall]
If %ErrorLevel% == "3010" Then "RebootRequired" EndIf
If DoesRegKeyExist ("%RegUninstallKey%") == "1" then "UninstallError" EndIf
-Sleep 25000
-Call %Uninstall%


[Set:Repair]
Call %Uninstall%
Sleep 25000
If DoesRegKeyExist ("%RegUninstallKey%") == "1" then "UnInstallError" EndIf

Sleep 25000

Call %Install% 
Sleep 25000
If DoesRegKeyExist ("%RegUninstallKey%") == "0" then "InstallError" EndIf
If %ErrorLevel% == "3010" Then "RebootRequired" EndIf

[Shell:Desktop]
"%CommonDesktop%\EASY Capture Scan", "C:\Programme\EASY SOFTWARE\CAPTURE PLUS\SCAN\cceWork.exe", , , ,"C:\Programme\EASY SOFTWARE\CAPTURE PLUS\SCAN\cceWork.exe"


[InstallError]
ErrorLogMsg %ErrorLogMessage% %ErrorLevel%
Abort

[UninstallError]
-Abort
-ErrorLogMsg %ErrorLogMessage% %ErrorLevel%


[Reg:Product]
HKLM, "Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\%UninstallKey%","SystemComponent",0x00010001,1

[RebootRequired]
SetReboot 1
-SetReboot 1
Johannes Huber
 

In seiner Freizeit macht Johannes nichts lieber, als für ITnator Beiträge zu schreiben. Input bekommt er hierfür von Problemen in der IT Administration von Servern, Clients und vielen weiteren IT Komponenten.

sidebar
>