Engineering Installation Guide
Engineering Installation Guide
SP1
Installation Guide
AVEVA Solutions Limited
Disclaimer
1.1 AVEVA does not warrant that the use of the AVEVA software will be uninterrupted, error-free or free from viruses.
1.2 AVEVA shall not be liable for: loss of profits; loss of business; depletion of goodwill and/or similar losses; loss of
anticipated savings; loss of goods; loss of contract; loss of use; loss or corruption of data or information; any special,
indirect, consequential or pure economic loss, costs, damages, charges or expenses which may be suffered by the user,
including any loss suffered by the user resulting from the inaccuracy or invalidity of any data created by the AVEVA
software, irrespective of whether such losses are suffered directly or indirectly, or arise in contract, tort (including
negligence) or otherwise.
1.3 AVEVA's total liability in contract, tort (including negligence), or otherwise, arising in connection with the performance
of the AVEVA software shall be limited to 100% of the licence fees paid in the year in which the user's claim is brought.
1.4 Clauses 1.1 to 1.3 shall apply to the fullest extent permissible at law.
1.5 In the event of any conflict between the above clauses and the analogous clauses in the software licence under which
the AVEVA software was purchased, the clauses in the software licence shall take precedence.
Copyright
Copyright and all other intellectual property rights in this manual and the associated software, and every part of it
(including source code, object code, any data contained in it, the manual and any other documentation supplied with it)
belongs to, or is validly licensed by, AVEVA Solutions Limited or its subsidiaries.
All rights are reserved to AVEVA Solutions Limited and its subsidiaries. The information contained in this document is
commercially sensitive, and shall not be copied, reproduced, stored in a retrieval system, or transmitted without the prior
written permission of AVEVA Solutions Limited. Where such permission is granted, it expressly requires that this copyright
notice, and the above disclaimer, is prominently displayed at the beginning of every copy that is made.
The manual and associated documentation may not be adapted, reproduced, or copied, in any material or electronic form,
without the prior written permission of AVEVA Solutions Limited. The user may not reverse engineer, decompile, copy, or
adapt the software. Neither the whole, nor part of the software described in this publication may be incorporated into any
third-party software, product, machine, or system without the prior written permission of AVEVA Solutions Limited, save as
permitted by law. Any such unauthorised action is strictly prohibited, and may give rise to civil liabilities and criminal
prosecution.
The AVEVA software described in this guide is to be installed and operated strictly in accordance with the terms and
conditions of the respective software licences, and in accordance with the relevant User Documentation. Unauthorised or
unlicensed use of the software is strictly prohibited.
© Copyright 2012 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved. AVEVA shall not be
liable for any breach or infringement of a third party's intellectual property rights where such breach results from a user's
modification of the AVEVA software or associated documentation.
AVEVA Solutions Ltd, High Cross, Madingley Road, Cambridge, CB3 0HB, United Kingdom
Trademark
AVEVA™, AVEVA Everything3D™ and AVEVA E3D™ are registered trademarks of AVEVA Solutions Limited or its
subsidiaries. Unauthorised use of the AVEVA™, AVEVA Everything3D™ and AVEVA E3D™ trademarks is strictly
forbidden.
AVEVA product/software names are trademarks or registered trademarks of AVEVA Solutions Limited or its subsidiaries,
registered in the UK, Europe and other countries (worldwide).
Revision Sheet
Contents Page
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
Assumptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
Guide Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1:1
Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2:1
AVEVA Licensing System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2:2
Enable Microsoft Excel Interop Assembly. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2:2
Font Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2:5
1 Introduction
The AVEVA Engineering Installation Guide explains how to install and set up AVEVA
Engineering on a workstation running Microsoft Windows. For completely up-to-date
information, refer to the AVEVA Website at http://www.aveva.com/products/support/
support.html and the Customer Support Hardware pages.
1.1 Assumptions
The AVEVA Engineering Installation Guide assumes that:
• Users are familiar with the concepts of folder/file hierarchies for storing data on disks
and with basic Windows terminology and commands. If not, the user can also refer to
the operating system documentation while carrying out the installation.
• Users have already gained access to the installation files for AVEVA Engineering via
the AVEVA Download site.
• Users have Local Administrator rights.
• Adobe PDF Reader is installed.
AVEVA Engineering Installation describes how to install and license the software.
2 Requirements
Graphics cards
AVEVA recommends a mid-range or better card capable of supporting DirectX 11 Shader
Model 5.0. For use on a Desktop, AVEVA recommend a nVIDIA Quadro K600 or a AMD
FirePro™ V3800 or V3900. For use on a Laptop AVEVA recommend a nVIDIA Quadro
K1000M or AMD FirePro™ M2000.
PC Configuration
CPU Intel x86 or x64 compatible - CPU with high performance in each
processor core.
Server Configuration
RAM 8 GB RAM. Additional RAM increases the caching capability and thereby
the performance.
Network Gigabit Ethernet (GbE) LAN. 64-bit capable network adapter. The
network should provide at least 1 Gb/sec for each workstation. Two or
more network cards are recommended for increased performance and
redundancy
Note: Although the DVD/Download contains several AVEVA products, the user will only be
able to use the items that are licensed to them. The user will get an on-screen
notification to warn them when the license is due for renewal.
Select the Add or Remove Features radio button and click Continue.
Under the Microsoft Excel application make sure that .NET Programmability Support is
enabled. If .NET Programmability Support is not enabled then select the option Run from
My Computer, and click Continue.
Click Display to display the screen for setting the Font size.
Select Smaller and click Apply. The user will have to restart the system to save the
settings.
AVEVA Engineering is supplied via the AVEVA Download site. It is recommended that the
user carefully read all of the Installation instructions before installing the software.
It is recommended that the default settings are used for folder paths etc., unless the user
has good reasons for doing otherwise.
Manual installations can be easier if run from the Setup.exe program. Each Setup.exe
checks and installs the dependencies of its primary installation (like the .NET framework),
before running its primary (MSI) installation. Users should never see missing dependency
errors if installations are started from the Setup.exe program.
Setup.exe also tells the primary installation to target the C:\ drive/volume, which is the
preferred default in most manual installations. However, if a more customised installation is
required then running the primary MSI directly becomes the better approach. In such cases,
run time dependencies (like the .NET framework) must be deployed beforehand.
To view the release notes, the user will require a PDF Reader installed on their workstation.
A link to download a free copy of Adobe Reader is available on the Welcome screen.
After clicking Click for contents, a screen showing the available products is displayed.
The AVEVA Engineering Setup Wizard activates at this point and guides the user through
the installation of the product. Click Back to step back a stage, Cancel to terminate the
Setup Wizard or Next to display the Client Cache Service screen. If Microsoft Message
Queuing Service (MSMQ) is enabled the Client Cache Service screen confirms this.
If MSMQ is not enabled the Client Cache Service screen displays a warning that the service
is not enabled.
To enable MSMQ, click Programs and Features to display the Control Panel.
In the left hand pane, click Turn Windows features on or off to display the Windows
Features.
Select the Microsoft Message Queue (MSMQ) Server check box to enable the Microsoft
Message Queue (MSMQ) Server Core component.
The user must read the End-User License Agreement and then select the I accept check
box to activate Next.
Note: If the user does not select the check box, Next will not activate and the installation
cannot continue.
To check if enough disk space is available click Disk Usage to display the Disk Space
Requirement screen.
Click Back to step back a stage, Cancel to terminate the Setup Wizard or Next to display
the Initial Configuration screen and continue the installation.
The Initial Configuration screen allows the user with existing projects and infrastructures
to customise the installation.
De-selecting the Install bat files and: check box deactivates the Start Menu Shortcuts
and the Desktop Shortcuts options. Both options are dependent on the bat files being
installed.
De-selecting the Start Menu Shortcuts check box deactivates the Desktop Shortcuts
option. The option is dependent on the Start Menu Shortcuts being installed.
Clicking Browse displays the Change Destination Folder window which allows the user to
select a different folder name and location path.
Click Back to step back a stage, Cancel to terminate the Setup Wizard or Next to display
the License Config screen.
Click Back to step back a stage, Cancel to terminate the Setup Wizard or Install to display
the Installing AVEVA Engineering screen.
The Installing AVEVA Engineering screen displays a taskbar showing the status of the
installation.
During the installation process the screen displays Cancel, which can be clicked to stop the
installation. When selected a window is displayed asking for confirmation that the
installation is to be cancelled.
Selecting Yes displays a screen showing the AVEVA Engineering Setup Wizard was
interrupted.
When the installation has been completed the user has the option to download the latest
AVEVA Everything3D projects which are compatible with AVEVA Engineering. To do this the
user must select the Download the latest Projects check box and click Finish. A progress
window is displayed which the user can stop by clicking Cancel.
After the download has completed the AVEVA Everything3D - Sample Projects Setup
screen is displayed.
Click Cancel to terminate the Setup Wizard or Next to display the Custom Setup screen.
The Custom Setup window displays every configurable aspect of the installation.
Configurable Features are displayed on the left hand side of the window, in a control called
the SelectionTree. Each feature is depicted as a box with a description of the feature
displayed in the right hand pane. The boxes representing each feature are depicted as
follows:
Will be installed on local hard drive Selecting this option will install the feature
locally.
Entire feature will be installed on Selecting this option will install the feature and
local hard drive all its sub-features locally.
Entire feature will be unavailable Selecting this option prevents the current
feature and all its sub-features from installing.
If the Feature is not Unavailable ( ), a Location Path showing where the program is to
be installed may be displayed, if so Browse becomes active. During the installation of
Engineering the user chose the folder location for the Engineering projects. If the chosen
folder location is different from the default location displayed the user must click Browse
and change the location to match.
Click Next to display the Ready to install Everything 3D Projects screen.
Click Back to step back a stage, Cancel to terminate the Setup Wizard or Install to display
the Installing AVEVA Everything3D - Sample Projects screen.
Selecting Yes displays a screen showing the AVEVA E3D™ Setup Projects Wizard was
interrupted.
MDS Projects
There are three standard projects released with the Multi Discipline Supports product, these
are:
3.2 Uninstall
Complete removal of an installation can be accomplished by several methods.
• Removing it from Start > Settings > Control Panel > Add/Remove Programs applet
• Right clicking on the MSI file that installed it, and selecting Uninstall
• Running the command MSIEXEC /X [Path to Original MSI]
• Running the command MSIEXEC /X {ProductCode of MSI}
Removal of individual Features is also possible from the command Line, using the
REMOVE property or by changing the installation state via the Add/Remove Programs
applet.
Note: Uninstalling the AVEVA Engineering installation will not uninstall Microsoft's .NET
Framework or downgrade the Windows Installer Service. The .NET Framework must
be removed separately if required.
3.3 Modifying
There are several ways to modify an installed installation. For example:
• Changing it from Start > Settings > Control Panel > Add/Remove Programs applet
• Right clicking on the MSI file that installed it, and selecting Install, then selecting
Change at the subsequent window.
• Running the command MSIEXEC /I [Path to Original MSI], then selecting Change at
the subsequent window.
• Running the command MSIEXEC /I {ProductCode of MSI}, then selecting Change at
the subsequent window.
After selecting an option the AVEVA Engineering Setup window is displayed.
Click Cancel to display a Confirmation window. Click Yes to cancel or No to return to the
setup screen.
Click Next to display the Change, Repair, or Remove Installation screen.
Remove Displays the Ready to remove AVEVA Engineering screen which allows
the user to remove the installation.
Note: Never move files by other means, as this may trigger healing, however Copying files
to other locations will not cause problems.
3.4 Healing
MSI technology has in built self repairing mechanisms. As such it is generally unwise to alter
file and folder names, shortcuts or registry manually, as this may trigger the MSI which
deployed the files to redeploy them.
However, it is expected that some users will want to alter Appware, Sample Data, shortcuts
and .bat file variables. As such, AVEVA installations have been designed to minimise the
ability of the MSI to heal itself in such cases.
Sample Data, Models, example projects and shortcuts, should not trigger healing if they are
deleted or altered. The consequence of making shortcuts editable/deletable is that MSI
Advertising will not function.
Click Next to display the AVEVA Engineering Administration Point Distribution screen.
Enter the location where the Admin Installation is to be created. Clicking Browse displays a
window allowing the user to navigate to the required location.
Click Install to start the installation.
Conversely, the following Command Line will achieve the same result quietly:
MSIEXEC /A [Path to MSI File] /QN TARGETDIR=[Path to Admin Installation]
3.9.1 Signing
Newer Windows operating systems have code signing embedded into their security. As
such, AVEVA have begun signing .msi files and .cab files for installations which are not
restricted to Windows 7 or older operating systems.
Unfortunately, the Administrative Installation process recreates and/or alters the source .msi
file and removes .cab files altogether, thus removing any file signatures. Changes to a
signed file always invalidates its signature.
In this release AVEVA have signed all dll's and exe's that are supplied. However in order to
cater for installations where internet access is not permitted/available AVEVA provide a
.exe.config file for each exe file that tells the operating system not to validate the digital
signature. By default the installation is set to deploy the .exe.config to disable the digital
signature validation. To enable digital signature validation the command line option
CERTIFICATECHECK=1 should be set.
Note: Direct editing of .msi's is discouraged in favour of Transforms (.mst files) because it
will invalidate the installation certificates.
Note: Patches cannot be rolled back from Administrative Installation Points. A copy must
be made before the patch is applied, in order to rollback.
Note: Patches cause changes to the .msi file, which invalidates any security certificates
applied to the installation files.
Directory Id Explanation
AVEVA_DESIGN_USER Specifies the AVEVA_DESIGN_USER directory location
AVEVA_DESIGN_WORK Specifies the AVEVA_DESIGN_WORK directory location
AVEVA_DESIGN_DFLTS Specifies the DATAxx.x.x\DFLTS directory location
PROJECT Specifies the directory to extract the models to
PRODUCTDIR Specifies the root product directory location
TARGETDIR Target location for an Administrative Installation
ROOTDRIVE The Partition where All Applications will be targeted (unless
application directories are set).
As with Properties, Directories for which the Id's are all uppercase, can be re-defined on a
Command Line. They must also be addressed in uppercase on the Command Line,
because Id's are case sensitive.
e.g. PRODUCTDIR="C:\Some Path with Spaces in it\"
Will make AVEVA Engineering install to:
"C:\Some Path with Spaces in it"
Rather than to:
C:\AVEVA\Engineeringxxxx
Note: The quotes surround the value, and would be unnecessary if the value had no space
within it.
Example 2: Installing the product & projects to different locations, setting users
writeable areas to a separate drive, configuring a License Server and not creating
Desktop Shortcuts.
The installation will run without user intervention and generate a log file in the Users Temp
directory. Installs all Features to the C:\
Setting up the Windows Environment section describes how to configure the Windows
operating system before running AVEVA Engineering. Following the installation of AVEVA
Engineering, the user should perform the following steps:
• Check the settings for the graphics board: See Graphics Card Settings.
• Check the license environment. Refer to Set the License File Location.
• Configure Windows parameters for AVEVA Engineering: Refer to Environment
Variables.
• The user can then run AVEVA Engineering by clicking on the AVEVA Engineering
shortcut or icon, which will set up the remaining environment variables required.
Note: In the following instructions it is assumed that AVEVA Engineering has been installed
in folder C:\Program Files (x86)\AVEVA\Engineeringxxx. If it has been installed
elsewhere, substitute C:\Program Files (x86)\AVEVA\Engineeringxxxx with the
name of the installation folder.
Once the Path variable includes the folder, the user can run AVEVA Engineering by typing
Engineering at a command prompt.
Note: that in order to define an environment variable that contains just one item including
spaces, it must explicitly include a final semicolon. For example:
AVEVA Engineering is installed with sample project data. AVEVA Engineering Project
Environment variables for these projects are set in evars.bat.
• If the user has C:\Program Files (x86)\AVEVA\Engineeringxxx\ (the path name for the
engineering.bat file) in their PATH environment variable, just type engineering in a
command window to execute the batch file.
• Otherwise, navigate to the folder where the batch file is stored and type engineering or
engineering.bat.
Example:
set PDMS_CONSOLE_IDENTIFIER=%RANDOM%
call %AVEVA_DESIGN_EXE%\Engineering
call %AVEVA_DESIGN_EXE%\pdmswait
echo Returned to .bat at %TIME%
This will start AVEVA Engineering, then wait until it has finished before resuming the script.
5 Language Support
AVEVA Engineering uses Unicode for character storage throughout, with the exception of
data migrated from older versions of PDMS. This simplifies its installation so that, in general,
no special settings are required, other than making sure that the appropriate language
support is installed in Windows.
There are aspects of the Unicode standard that are not yet implemented. AVEVA
Engineering currently handles the following correctly:
• Left to Right languages; and therefore not, for example, Arabic and Hebrew
• Pre-composed characters; for example, the single character á but not the combiners a
+ ' => á
• Upper and lower casing of characters, where both cases have the same number of
bytes
CADC_LANG Specifies the file encoding for reading external files which do not
have a Unicode BOM present. If the variable is unset, this
defaults to LATIN-1. Files with the following Unicode BOMs will
be translated to UTF-8 on reading: UTF-16 little-endian, UTF-16
big-endian, UTF-32 little-endian, UTF-32 big-endian.
CADC_LANG_NEW Specifies the file encoding for new files written. If the variable is
unset, the default is Unicode UTF-8 format with a BOM present.
LATIN1 ISO8859-1
LATIN2 ISO8859-2
CP949 Korean
CP1251 Cyrillic
The AVEVA Engineering GUI uses the Microsoft .NET Framework environment including
the latest WinForms/Infragistics based user interface components. Using the state-of-the-art
Infragistics technology enables docking windows and provides a robust foundation for the
future provision of standard application programming interfaces.
7.1 Overview
Overview describes the overall structure and components of the AVEVA Engineering .NET
installation, and the environment necessary to run it. Each AVEVA Engineering GUI module
now consists of a .NET module, .NET interface and addin assemblies and native dlls plus
some other shared components including 3rd party controls from Infragistics. The .NET
components are private assemblies installed under the root directory
%AVEVA_DESIGN_EXE%.
7.2 AVEVA_DESIGN_EXE
As before the environment variable %AVEVA_DESIGN_EXE% is used to locate the
executable on module switch. It is also used to locate attlib.dat (attribute and noun
definitions), message.dat (message definitions), desvir.dat (schema definition) etc. Normally
AVEVA Engineering is started from engineering.bat which is located in the user’s %PATH%.
Both %AVEVA_DESIGN_EXE% and %PATH% should include the install directory.
where all components are installed in the %AVEVA_DESIGN_EXE%. directory. So, when
running a AVEVA Engineering GUI module %AVEVA_DESIGN_EXE% is used to locate the
executable, .NET loading rules are used to load the interface assemblies and Win32 DLL
loading rules are used to load the native components (and other Win32 DLLs on which
Aveva.Core.dll depends).
7.4 Components
All components are installed in the %AVEVA_DESIGN_EXE% directory including .NET
interfaces and addins, Infragistics assemblies and native components.