• No se han encontrado resultados

Diagrama de Roles

In document Follow this and additional works at: (página 45-59)

6. DESARROLLO DEL PROYECTO

6.2 DISEÑO Y DESARROLLO

6.2.3 Diagrama de Roles

In ELOprofessional 2011, you have the option to configure an automatic setup for the clients. For this, the major parameters are determined during server installation.

The program "MakeClientAutoInst.exe" creates the directory structure for the automatic installation of the client and includes the additional modules: macros, TIFF printer, PDF printer, handbook, help file, and OCR. The program is located in the client directory on the DVD.

Fig. 101

Note:

During automatic setup, the Windows user who is currently logged in and starts the setup process on the client PC must have at least local administrator rights.

Create a folder in ELOprofessional with the name ClientInstWindows for the automatic client setup. You can choose whatever name you want.

Set up a shared directory for this on the network, such as \\PC-name\ELOinstall. All client installation files are copied to this directory. This entry should have at least read-rights for all Windows users in the network who should receive an ELO Windows Client via this directory.

ELOprofessional 2011 / ELOenterprise 2011 Advanced Installation Training

System optimizations

Fig. 102

ELOprofessional 2011 / ELOenterprise 2011 Advanced Installation Training

System optimizations

For client installation, it is sufficient if you log into the client computer under a different administrator account and have network access to this shared setup directory on the ELO server. To start the installation, AutoInst.exe must be started in the client directory. After the setup program starts, the installation will be executed without user interaction.

Fig. 104

There is only one exception for this: The Microsoft Office components have built-in protection against the installation of macros. Depending on the MS Office version, service pack or customer policy, different types of protections are preset. The ELO setup can usually implement its macros up to the highest security settings. Certificates are also used for this. Please check beforehand whether the ELO macros can be installed "unattended" in your MS Office environment.

4.8.1 AUTOINST.INI configuration file

The configuration file in the ClientInst directory and in the subdirectories contains the default parameters for the installation of the respective ELO program. Therefore, no user interaction is necessary for the installation. In part, this file is automatically generated during the server setup procedure or may possibly have to be set up manually. However, you can also supplement entries to trigger further actions in special environments or for additional tasks.

[SetupProperties]

MsiCall=msiexec /i "ELOprofessional 2011 Client.msi" /passive INSTALLDIR=%ProgramFiles%\ELOprofessional\Prog\Client\ ODBC_NAME=Elo32 DB_USER_NAME=elodb ELO_AM_URL=AELOSERVER:9090:/am-eloam/am MAKE_DSN=1 SQL_SERVER=ASQLSERVER [Execute] 1=\\ELODC01\ELOinstall\ClientInst\Macros\Setup.exe 2=\\ELODC01\ELOinstall\ClientInst\ELOprinter\Setup.exe 3=\\ELODC01\ELOinstall\ClientInst\ELOprinterX64\Setup.exe 4=\\ELODC01\ELOinstall\ClientInst\ELOPdfPrinter\Setup.exe 5=\\ELODC01\ELOinstall\ClientInst\OCR\Setup.exe

ELOprofessional 2011 / ELOenterprise 2011 Advanced Installation Training

System optimizations

The AutoInst.ini in the client directory of the automatic installation includes the installation parameters. After the installation, the Execute paragraph will be interpreted. By default, the setup program generates an ODBC connector ELO32 for the Microsoft SQL connection.

Note:

If you are installing Oracle or even Microsoft SQL with unusual parameters, you must save the required ODBC parameters in the form of a regedit - *.REG file - called ODBC.REG in the ClientInst directory. If these settings are found, the setup program will use them instead of the default settings. You can easily create the REG file by manually setting up an ODBC connector called ELO32, with the desired parameters, on a computer (this can be the server) and then exporting the registry section.

You can include your own programs or batch programs in the [Execute] paragraph. It is possible to run a maximum of eight programs.

Example: [Execute] 1=\\ELODC01\ELOinstall\ClientInst\Macros\Setup.exe 2=\\ELODC01\ELOinstall\ClientInst\ELOprinter\Setup.exe 3=\\ELODC01\ELOinstall\ClientInst\ELOprinterX64\Setup.exe 4=\\ELODC01\ELOinstall\ClientInst\ELOPdfPrinter\Setup.exe

5=\\ELODC01\MyProgram\Setup.exe Parameter1 Parameter2 6=\\ELODC01\Eloprof\ClientInst\Reg.BAT

Note:

You should also execute the additional programs "unattended". The manufacturers of the additional programs will usually inform you of the required parameters.

4.8.2 Distributing additional user-defined settings with the installation

The transfer of further user-specific settings (Outlook macro configuration, toolbar, etc.) can take place via previously generated registry files. And this can also be done unattended when you use the

"/s" parameter.

It is then recommended to allocate all settings via registry entries. It is best to collect the transfer of different registry entries in a batch file, e.g. Reg.BAT.

REM contents of REG.BAT FILE:

Regedit /s \\ELODC01\ELOprof\ClientInst\Client\HK_CuOutl.reg Regedit /s \\ELODC01\ELOprof\

For this, also compare the sample batch file from Chapter 4.8.4 (page 78). Batch files have the advantage that they can also be tested individually, while the success of the entries in the

ELOprofessional 2011 / ELOenterprise 2011 Advanced Installation Training

System optimizations

4.8.3 Additional information: Generating registry exports

In the opened registry editor, select the desired "registry branch" and run "Registry – Export registry file". For heterogeneous system environments with different Windows operating systems, make sure that you export in the Win9x/NT4 registration format. This "older" registration format can be understood by all Microsoft operating systems.

Fig. 105

The following CurrentUser registration branches are of interest for transfer to other clients, and thus as registry export files:

HKEY_CURRENT_USER\Software\ELO Digital\Elo32.1\Options

The user-specific settings that are not stored in the database are, for example, the clipboard contents, etc.

HKEY_CURRENT_USER\Software\ELO Digital\ELOoutl

ELO Outlook macro settings for archiving Outlook e-mails.

Note:

Before you distribute the exported registry entries to all clients, ensure that there is no conflicting information in the registry exports. For example, the “LastloggedUser=Administrator" registry entry is certainly not of interest for the remaining clients to be installed.

4.8.4 Exercise: Registry Outlook config export and adjusting Autoninst.ini

Open the registry with regedit.

Export the branch HKEY_CURRENT_USER\Software\ELO Digital\ELOoutl for distribution of the Outlook macro configuration. Call the registry export HK_CuOUtl.reg and store the export under

C:\ELOprofessional\ClientInstWindows\ClientInst\Client\.  Create a batch file called Reg.bat.

Enter the following line there: Regedit /s

\\ELODC01\ELOprof\ClientInst\Client\HK_CuOutl.reg.

Save the batch file and enter the following line into Autoinst.ini in the [Execute] paragraph of the client: 6=\\ELODC01\ELOinstall\ClientInst\Client\Reg.bat

ELOprofessional 2011 / ELOenterprise 2011 Advanced Installation Training

System optimizations

Fig. 106

4.8.5 Sample of an extended batch file

Other than the registry settings per user or per PC, a batch file can also be extended further. For example, OCXs, DLLs, etc. can be registered, move/copy files, etc. Please see below for an example from an actual ELOprofessional customer installation:

@ECHO OFF

copy \\SERVER\ELOinstall\ClientInst\Elo32.exe %programfiles%\ELOprofessional\Prog\Client\Elo32.exe copy \\SERVER\ELOprof\ClientInst\ClientUpdate\Eloman.dll %WINDIR%\system32\Eloman.dll

copy \\SERVER\ELOprof\ClientInst\ClientUpdate\TL.ocx %WINDIR%\system32\TL.ocx copy \\SERVER\ELOprof\ClientInst\ClientUpdate\zip.exe %WINDIR%\system32\zip.exe copy \\SERVER\ELOprof\ClientInst\ClientUpdate\unzip.exe %WINDIR%\system32\unzip.exe copy \\SERVER\ELOprof\ClientInst\ClientUpdate\ELO.dll %WINDIR%\system32\ELO.dll

copy \\SERVER\ELOprof\ClientInst\Cadinst\EloCAD.exe C:\programme\ELOprof\prog\client\cad\EloCAD.exe /y copy \\SERVER\ELOprof\ClientInst\ClientUpdate\elo32.UIT C:\programme\ELOprof\prog\client\elo32.UIT copy \\SERVER\ELOprof\ClientInst\ClientUpdate\elo320.UIT C:\programme\ELOprof\prog\client\elo320.UIT call regsvr32 AdrBook.ocx /u/s

call regsvr32 AdrBook.dll /U/s call regsvr32 TL.ocx /s call regsvr32 eloman.dll /s call regsvr32 ELO.dll /s

regedit /s \\SERVER\ELOprof\ClientInst\HK_CU_Acrobat.reg regedit /s \\SERVER\ELOprof\ClientInst\HK_CU_Options.reg regedit /s \\SERVER\ELOprof\ClientInst\HK_CU_Toolbars.reg regedit /s \\SERVER\ELOprof\ClientInst\HK_LM_Fulltext.reg regedit /s \\SERVER\ELOprof\ClientInst\HK_LM_Postbox.reg del %WINDIR%\system32\AdrBook.ocx del %WINDIR%\system32\AdrBook.dll md c:\programme\ELOprof\prog\send md c:\programme\ELOprof\prog\rec md c:\programme\ELOprof\prog\temp

ELOprofessional 2011 / ELOenterprise 2011 Advanced Installation Training

System optimizations

4.8.6 Starting the automatic installation

We will log on as an administrator on the virtual PC with the name ELOPC01 and start the automatic installation of the ELO Windows Client via the shared directory.

Fig. 107

General information

 Please assign the installed user at least temporary administrator rights during the period of the installation or install as "administrator".

 Log into Windows in the name of the user and start the ELOprofessional installation by double- clicking the

\\ELOServername\ELOprof\ClientInst\Client\AutoInst.exe file.

 Check the most important functions of the ELOprofessional Client using the ELOprofessional installation checklist or your own checklists.

 Remove the Windows administration rights after successful installation, if needed.

Hint:

To simplify this, you can also generate a CD/create a USB stick which automatically calls up the setup.exe from the ELOprof\Clientinst directory when you insert it into the machine. Create a text file called "Autorun.inf" with the following content and burn this file to a CD or copy it to a USB stick:

[autorun]

open = \\ELOServername\ELOprof\ClientInst\Client\AutoInst.exe

You will not even have to move the mouse again to install ELO. As soon as you insert the CD, the ELOprofessional Client will be installed automatically.

ELOprofessional 2011 / ELOenterprise 2011 Advanced Installation Training

System optimizations

4.8.7 Register ELO macros for new users of a PC

For Microsoft Office 2007 and Office 2010, no further actions are required after installing the macros. All macros are installed for all users with a single setup. You need to keep the following in mind for Microsoft Office 2003:

If a user other than the user under which ELO or the ELO macros were installed logs on via Windows login, the ELO macros are there but do not work since the "Current user" registry entries are missing for this user. Because of this, the ELO macros must also be registered under the respective user logged onto Windows. To resolve this issue, proceed as follows:

Start the RegMacrosForUser.exe program for user-specific registration. This program is located in the client installation directory or within the "ELOprofessional" program group under "Tools" as the entry "Register macros for new users".

Fig. 108

Choose the corresponding applications for which ELO macros are already installed for the currently logged in user and click "Start". RegMacrosForUser.exe registers the ELO macros for the user currently logged into a PC, even if the user does not have administrator rights.

Perform the registry "unattended" and select the correct macro language setting.

This user-specific installation should take place immediately afterwards, or the first time a new user logs on to a PC to which ELOprofessional has been installed.

ELOprofessional 2011 / ELOenterprise 2011 Advanced Installation Training

ELO Windows Client Update

5

ELO Windows Client Update

You will receive regular updates for many different ELO components in our ELO SupportWeb (http://forum.elo.com/supportweb/).

Fig. 109

The download area is secured via a personalized login. ELOprofessional business partners will have been sent a login ID and password.

In document Follow this and additional works at: (página 45-59)

Documento similar