You are on page 1of 22

PI Asset Framework Client

Installation and Upgrade Guide

Part of PI Server 2018 SP3 Patch 1


OSIsoft, LLC
1600 Alvarado Street
San Leandro, CA 94577 USA
Tel: (1) 510-297-5800
Fax: (1) 510-357-8136
Web: https://www.osisoft.com

PI Asset Framework Client Installation and Upgrade Guide


© 2009-2020 by OSIsoft, LLC. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or
by any means, mechanical, photocopying, recording, or otherwise, without the prior written permission
of OSIsoft, LLC.
OSIsoft, the OSIsoft logo and logotype, Managed PI, OSIsoft Advanced Services, OSIsoft Cloud Services,
OSIsoft Connected Services, OSIsoft EDS, PI ACE, PI Advanced Computing Engine, PI AF SDK, PI API,
PI Asset Framework, PI Audit Viewer, PI Builder, PI Cloud Connect, PI Connectors, PI Data Archive,
PI DataLink, PI DataLink Server, PI Developers Club, PI Integrator for Business Analytics, PI Interfaces,
PI JDBC Driver, PI Manual Logger, PI Notifications, PI ODBC Driver, PI OLEDB Enterprise,
PI OLEDB Provider, PI OPC DA Server, PI OPC HDA Server, PI ProcessBook, PI SDK, PI Server, PI Square,
PI System, PI System Access, PI Vision, PI Visualization Suite, PI Web API, PI WebParts, PI Web Services,
RLINK, and RtReports are all trademarks of OSIsoft, LLC. All other trademarks or trade names used herein
are the property of their respective owners.
U.S. GOVERNMENT RIGHTS
Use, duplication or disclosure by the U.S. Government is subject to restrictions set forth in the OSIsoft, LLC
license agreement and as provided in DFARS 227.7202, DFARS 252.227-7013, FAR 12-212, FAR
52.227-19, or their successors, as applicable. OSIsoft, LLC.
Version: 2.10.8
Published: 25 March 2020
Contents

PI AF Client installation and upgrade........................................................................... 1


PI AF Client installation and upgrade through the install kit............................................................................. 1
Download the PI AF Client install kit............................................................................................................ 2
Install PI AF Client........................................................................................................................................3
Define a PI AF server connection................................................................................................................. 5
Enable multiple languages for PI AF Client.................................................................................................. 6
Upgrade PI AF Client................................................................................................................................... 6
Version Incompatibility................................................................................................................................8
PI AF Client installation and upgrade through the command line.....................................................................8
Extract the contents from the PI AF Client install kit.................................................................................... 9
Install PI AF Client through the command line............................................................................................. 9
Upgrade PI AF Client through the command line........................................................................................13
PI AF Client .NET 3.5...................................................................................................................................... 13
PI AF clients and Windows authentication......................................................................................................13
Run PI System Explorer with elevated permissions.................................................................................... 14
Firewall between PI AF server and PI AF Client.............................................................................................. 14
Firewall between PI AF Client and PI Data Archive......................................................................................... 15
AF Collective Manager...................................................................................................................................15
Accessing AF Collective Manager...............................................................................................................15

Technical support and other resources....................................................................... 17

PI Asset Framework Client Installation and Upgrade Guide iii


Contents

iv PI Asset Framework Client Installation and Upgrade Guide


PI AF Client installation and upgrade
During PI AF Client installation, you install components that allow you to access data and
perform some administrative tasks in PI AF, PI Data Archive, and PI Buffer Subsystem.

PI AF Client installation and upgrade through the install kit


The PI AF Client installation includes features described in the following sections.

PI Network Subsystem (PINS)


The PI AF Client installation includes the PI Network Subsystem (PINS). PINS is installed on a
PI AF Client machine that does not include PI Data Archive. PINS enables communication
between the PI AF Client machine and PI Data Archive.
If you are upgrading an older PI AF Client that includes the PI SDK, the PINS portion of the PI
AF Client installation upgrades the existing PINS files and services. After you install or upgrade
PI AF Client 2015 or later, PINS is shown as PI Network Subsystem Support in the Programs
and Features applet in the Control Panel.
PINS consists of the following services:
• PI Network Manager (pinetmgr)
• PI Message Subsystem (pimsgss)
The combination of PI Network Manager (pinetmgr) and PI Message Subsystem (pimsgss), as
well as supporting files, is referred to as the PI Network Subsystem.

PI AF Client features
The PI AF Client installation includes these features:
• PI System Explorer
PI System Explorer supports multiple languages. Install the PI System Explorer MUI
Language Pack to enable multi-language access. If PI System Explorer does not support a
particular language, the user interface displays English. See Enable multiple languages for PI
AF Client.
◦ Management plug-in
The Management plug-in is a PI System Explorer plug-in. This is a plug-in to PI System
Explorer and enables administrators or advanced users to manage bulk operations on
analyses and notification rules in a database.
◦ AF Collective Manager
AF Collective Manager provides a graphical user interface for creating, editing, and
managing PI AF collectives.
Note:
The PI System Explorer installation is not optional if you want to install the Analysis
Management plug-in.
• PI Builder

PI Asset Framework Client Installation and Upgrade Guide 1


PI AF Client installation and upgrade

• PI AF SDK .NET 4.8


• PI AF and AF SDK documentation

Shared features as part of the PI AF Server installation


Prior to PI AF 2016 R2, PI AF Client features and components were installed with the
standalone PI AF Client install kit only. Beginning with PI AF 2016 R2, PI AF Client features and
components became available as part of the PI Server install kit as Individual Features, in
addition to the standalone PI AF Client install kit.

Features no longer included in the PI AF Client installation


Be aware of the following changes:

• Beginning with PI AF 2018 SP3 Patch 2, the .NET 3.5 version of AF SDK is no longer
provided. If you need to perform an installation of PI AF Client based on .NET 3.5, contact
the OSIsoft Customer Portal (https://my.osisoft.com/) for assistance. If you upgrade to PI
AF 2018 SP3 Patch 2 and you already have .NET 3.5 installed, that installation remains
intact.
Note that in earlier releases prior to PI AF 2018 SP2, the .NET 3.5 version of AF SDK was
installed along with PI AF Client. Beginning with PI AF 2018 SP2, the .NET 3.5 version of PI
AF Client was offered as a separate install kit. However, beginning with PI AF 2018 SP3
Patch 2, a separate install kit for the .NET 3.5 version of AF SDK is no longer available.
• Prior to PI AF 2015, PI SDK was installed with the PI AF Client. Beginning with PI AF 2015,
PI SDK was no longer included in the PI AF Client installation.

Topics in this section


• Download the PI AF Client install kit
• Install PI AF Client
• Define a PI AF server connection
• Enable multiple languages for PI AF Client
• Upgrade PI AF Client
• Version Incompatibility

Download the PI AF Client install kit


Before you can install or upgrade PI AF Client, you must first download the install kit.
Note:
Catalog files are separate downloadable files, and are used for application whitelisting. If
you use whitelisting, install the catalog files associated with your OSIsoft products to
ensure that those products function as intended. Windows catalog files that have been
digitally signed by OSIsoft can be used as a digital signature for 3rd party and other
unsigned components installed by OSIsoft setup kits. This facilitates a trusted way to
verify these components and may be used for whitelisting purposes. For information on
how to use catalog files for whitelisting, refer to the OSIsoft Knowledge Base article:
Whitelisting PI applications based on catalog files (https://customers.osisoft.com/s/
knowledgearticle?knowledgeArticleUrl=KB01975).

2 PI Asset Framework Client Installation and Upgrade Guide


PI AF Client installation and upgrade

Procedure
1. Log into the OSIsoft Customer Portal Products page (https://customers.osisoft.com/s/
products) with your OSIsoft credentials.
2. Navigate to the Products tab.
3. Find the entry for PI Server and select the Download Installation Kits and Documentation
icon . A list of installation kits appears.

4. Find the installation kit for PI Asset Framework (AF) Client. If you want an older version of
the installation kit, first click All Versions. When you find the correct version, click
Download. The licensing agreement appears.
5. Click I agree on the licensing agreement and click Download.
6. When prompted to run or save the executable setup file, click Save and click OK.

Install PI AF Client
Use this procedure to perform a new installation of PI AF Client using the setup kit. You can
also perform a silent installation. See PI AF Client installation and upgrade through the
command line.

Before you start

• Download the install kit. See Download the PI AF Client install kit.
• If you are running the PI AF Client install kit on the same host computer as the PI AF server,
OSIsoft recommends that you install PI AF server first.
• If you intend to install PI ProcessBook or PI WebParts, OSIsoft recommends that you install
PI SDK before you install PI AF Client.
• If you intend to install PI Builder on this computer, you must install Microsoft Excel 2010
SP2 or later first. If Microsoft Excel is not present, PI Builder cannot be installed.
• Ensure that you have closed all PI AF client applications before you start the PI AF client
installation program.
• Ensure that you have administrative privileges on the computer.

Procedure
1. Log into the PI AF Client host computer with an account with administrative privileges.
2. Go to the directory where you downloaded the PI AF Client install kit.
3. Double-click the PI AF Client Install kit executable file. The Welcome to the PI AF Client
Installation window opens.
4. Click Next to continue. The Installation Directories window opens. Default locations for 32-
bit and 64-bit client applications are displayed in the PIHOME and PIHOME64 fields,
respectively.
5. Accept the default installation directory or specify a new installation directory for either
installation type.

PI Asset Framework Client Installation and Upgrade Guide 3


PI AF Client installation and upgrade

a. Click Browse next to the installation type (either 32-bit or 64-bit). The Change current
destination folder window opens.
b. Specify the desired destination folder. Navigate to an existing folder in the Look in... drop
down field, or use the Up one level button. If you want to create a new folder in the
installation directory, click Create a New Folder. Or specify an installation directory path
in the Folder name field.
c. Click OK.
6. Click Next to continue. The PI Customer Experience Improvement window opens. It gives you
the option to help OSIsoft improve its products by reporting data anonymously to OSIsoft.
7. Choose whether you want to participate and click Next to continue. The Default Server
Information window opens.
8. As an optional step, enter the computer name of the default PI AF server in the Default
Asset server field.
9. Enter the computer name of the default PI Data Archive server in the Default Data server
field.
Note:
This is mandatory.
10. Click Next to continue. The Select Features window opens.
11. In the Select Features window, select the PI AF Client features and components you want to
install:
Option Description
PI AF SDK .NET 4 Required. Provides programmatic access to the
PI Data Archive and PI AF server, and is used by
PI AF client applications.
PI System Explorer Optional. A graphical user interface tool for
accessing the PI AF server and PI Data Archive. It
includes AFImport and AFExport utilities.
Management Plug-in Optional. A plug-in to PI System Explorer for
managing analyses and notifications in the PI AF
server. Requires that PI System Explorer be
installed.
AF Collective Manager Optional. AF Collective Manager provides a
graphical user interface for creating, editing, and
managing PI AF collectives.
PI Builder Optional. An Excel add-in that provides
configuration and access to the PI Data Archive
and PI AF server.
PI AF User Documentation Optional. Provides PI System Explorer
documentation in compiled help format and
documentation for AF SDK.

Choose from the following actions:

4 PI Asset Framework Client Installation and Upgrade Guide


PI AF Client installation and upgrade

◦ To select a single feature, click and select

◦ To select a feature, together with dependent features, click and select

◦ To deselect a feature, click and select

12. Click Next.


13. In the Ready to Install the Application window, carefully review the PI AF Client features you
have selected, as well as the servers under Default Settings you have selected for the PI AF
server and PI Data Archive. If you need to change anything, click Back and modify your
selections.
14. Click Install. You may be prompted by a User Account Control message to allow the
installation to run. Click Yes to allow the installation to continue.
15. Click Yes to allow the installation to continue from the UAC prompt. The Updating System
window opens, displaying the installation progress.
16. Click Next and, in the Installation Complete window, validate that all modules have installed
successfully.
17. Click Close.

After you finish


Validate the PI AF client installation by running the PI System Explorer client application.

Define a PI AF server connection


You need to define a PI AF server if you did not enter a PI AF server name during the PI AF
Client installation.
Note:
See PI AF server connections (https://livelibrary.osisoft.com/LiveLibrary/content/en/
server-v14/GUID-0876A6BF-808B-475C-8570-15E74FFC33F8) for more information
about connecting to PI AF Application Service and other services, managing PI AF
identities and mappings, and other PI AF connection-related topics.

Procedure
1. On a Windows Start menu or Windows Start screen, right-click PI System Explorer and
select Run as administrator.
2. In response to the There are no PI AF Servers defined. Do you want to
define one? message, click Yes.
3. In the PI AF Server Properties window, the computer name where you installed the PI AF
Client is displayed in the Host field.
Select the entire name string and enter the computer name of a PI AF server on your
network.
4. Click Connect.

PI Asset Framework Client Installation and Upgrade Guide 5


PI AF Client installation and upgrade

Note:
If DNS cannot resolve the computer name, you may need to enter the full network
name of the server in myassetserver.mycompanyname.com format, or the IP
address of the server.
5. Click OK.
The PI System Explorer window should be displayed.

Enable multiple languages for PI AF Client


PI AF Client supports multiple languages. Install the PI AF MUI language pack to enable multi-
language access. If PI AF Client components do not support a particular language, the user
interface appears in English.

Procedure
1. Download the PI AF MUI language pack from the OSIsoft Customer Portal (https://
my.osisoft.com/).
2. Install the PI AF MUI language pack.

Upgrade PI AF Client
The features that are automatically selected will depend upon the version from which you are
upgrading. If you are upgrading from an older version of PI AF Client, some features that are
installed may not be selected, so you need to select options manually.
Note:
Beginning with PI AF 2015, PI SDK was not included in the PI AF Client install. The PI AF
Client installation now includes the PI Network Subsystem (PINS). PINS is installed on a
PI AF Client machine that does not include PI Data Archive. PINS supports
communications between the PI AF Client machine and PI Data Archive.

Before you start

• If you are running the PI AF Client setup program on the same host computer as the PI AF
server, OSIsoft recommends that you upgrade PI AF server first.
• If you want to change the default PI AF Server for a PI AF upgrade, use the silent.ini file, as
described in Install PI AF Client through the command line.
• If you intend to install or upgrade PI ProcessBook or PI WebParts, OSIsoft recommends that
you install or upgrade PI SDK before you upgrade PI AF Client.
• If you intend to install or upgrade PI Builder on this computer, you must install Microsoft
Excel 2010 SP2 or later first. If Microsoft Excel is not present, PI Builder cannot be installed.
• Ensure that you have closed all PI AF client applications before you start the PI AF client
installation program.
• Ensure that you have administrative privileges on the computer.

6 PI Asset Framework Client Installation and Upgrade Guide


PI AF Client installation and upgrade

Procedure
1. Log into the PI AF Client host computer with an account with administrative privileges.
2. Go to the directory where you downloaded the PI AF Client install kit and double-click the
PI AF Client install kit executable file. A dialog describes where the install kit will be
extracted.
3. Click OK. A welcome window opens and lists the systems being upgraded.
4. Click OK. The Running Services window may appear if PI system services are running that
must be stopped temporarily.
5. Click Next. The Processes Holding Files in Use window may appear. It gives the option to
close applications and restart them after installation or reboot.
6. Choose an option and click Next. Another welcome window opens.
7. Click Next. The PI Customer Experience Improvement window opens. It gives you the option
to help OSIsoft improve its products by reporting data anonymously to OSIsoft.
8. Choose whether you want to participate and click Next. The Default Server Information
window may appear. It asks you to identify the default asset and data servers. Client
applications use this information.
9. Provide the default server information and click Next. The Select Features window opens.
10. Select the PI AF Client features and components to upgrade on the computer. Features are
automatically selected based on what was previously installed in the PI AF Client. You can
select other features if your computer meets the prerequisites for each selected component:
Option Description
PI AF SDK .NET 4 Required. Provides programmatic access to the
PI Data Archive and PI AF server, and is used by
PI AF client applications.
PI System Explorer Optional. A graphical user interface tool for
accessing the PI AF server and PI Data Archive. It
includes AFImport and AFExport utilities.
Management Plug-in Optional. A plug-in to PI System Explorer for
managing analyses in the PI AF server. Requires
that PI System Explorer be installed.
AF Collective Manager Optional. AF Collective Manager provides a
graphical user interface for creating, editing, and
managing PI AF collectives.
PI Builder Optional. An Excel add-in that provides
configuration and access to the PI Data Archive
and PI AF server. For this option to be available,
you must have Microsoft Excel 2010 SP 2 or later
installed.
PI AF User Documentation Optional. Provides PI AF user guides in compiled
help format and documentation for AF SDK.

Choose from the following actions:

PI Asset Framework Client Installation and Upgrade Guide 7


PI AF Client installation and upgrade

◦ To select a single feature, click and select

◦ To select a feature, together with dependent features, click and select

◦ To deselect a feature, click and select

11. Click Next.


12. In the Ready to Install the Application window, carefully review the PI AF Client features you
have selected, as well as the default settings you have selected for the PI AF server and PI
Data Archive. If you need to change anything, click Back and modify your selections.
13. Click Install. The installation begins and eventually the Service Status window opens. It
shows the status of services that must be restarted.
14. Click Next and choose from the following actions:
◦ If no reboot is required, the Installation Complete window opens and you can validate
that all modules in the PI AF Client Setup have upgraded successfully. Click Close.
◦ If a reboot is required, the Reboot Your Computer to Finish window is displayed. You can
review which modules caused the reboot requirement in the Comment column. Click Yes
to restart the computer now.

Version Incompatibility
The following incompatibilities exist between certain versions of the PI AF server and Client:
• PI AF server 2017 R2 (version 2.9.5) and later will not allow a connection from PI AF Client
version earlier than 2.4.0.4431.
• PI AF server 2017 (version 2.9) and later will not allow a connection from PI AF Client
version earlier than 2.3.0.4048.
• PI AF Client version 2017 R2 (version 2.9.5) and later will not allow a connection to PI AF
server version earlier than 2.4.
• PI AF Client version 2017 (version 2.9) and later will not allow a connection to PI AF Server
version earlier than 2.3.
Note:
PI AF Client earlier than PI AF 2015 R2 (version 2.7.5) cannot connect to a PI System that
has been enabled to use case-sensitive UOM abbreviations. Refer to the PI AF topic Case
sensitivity of UOM abbreviations (https://livelibrary.osisoft.com/LiveLibrary/
content/en/server-v14/GUID-610FB85F-DE2C-4F72-B66D-F9F529713D60).

PI AF Client installation and upgrade through the command line


Launch an installation or upgrade of the PI AF Client through a command-line prompt with
command-line arguments. The use of the command line arguments is an alternative way to
install or upgrade the PI AF Client without the use of the PI AF Client install wizard user
interface.

8 PI Asset Framework Client Installation and Upgrade Guide


PI AF Client installation and upgrade

Extract the contents from the PI AF Client install kit


Launch the PI AF Client install kit to extract the files required for an installation or upgrade
through the command line, cancelling the installation after the files have been extracted. Follow
these steps to extract the contents from the PI AF Client install kit (PI AF Client_2018 SP3
Patch 2_.exe).
Note:
Check the actual executable filename in your install kit to ensure you are using the
correct filename in your command line syntax. For example, a typical filename is PI AF
Client_2018 SP3_.exe.

Procedure
1. Double-click the install kit to be extracted. If User Account Control (UAC) is enabled for the
logged on user, a UAC message displays asking if you want to allow the installation to make
changes to the computer.
2. Click Yes to continue. Click No to Cancel. A dialog displays with a default extraction path for
the installation files.
3. Change the path if you want to extract the files to a different location. You can use the folder
icon to browse to and select a different location, or you can type a new path.
4. Click OK to continue or click No to Cancel. A dialog displays with a progress bar showing the
progress of the file extraction. Click Cancel to exit the extraction process.
5. The Welcome window opens. At this point the files have been extracted, so you can click
cancel to exit the installation.
6. Navigate to the location where the files were extracted.

Install PI AF Client through the command line


Procedure
1. Extract the PI AF Client install kit by double-clicking on the file.
2. Specify the directory for the extraction.
3. Cancel the install wizard when it launches with a prompt.
4. Open a command prompt and navigate to the directory where you extracted the PI AF Client
install kit.
5. Open the silent.ini file and edit the configuration text to your desired deployment in
accordance with the instructions found within the silent.ini file itself.
6. Run the installation with the command: setup.exe /f silent.ini.

Features specified by ADDLOCAL property for PI AF Client installation


This table lists the features specified by the ADDLOCAL property. Feature names are case-
sensitive. ADDLOCAL values consist of a comma-separated list and cannot contain any spaces.
To install all features, use ADDLOCAL=ALL.

PI Asset Framework Client Installation and Upgrade Guide 9


PI AF Client installation and upgrade

Note:
PI AF SDK 4.0 is a required feature. It must be specified if individual features are to be
included.

Internal Feature Name / Name Used in External Feature Description


Command Line Name
ALL N/A All features are installed except those
enabled by the PI Analysis Service
management plug-in (the
FD_AFAnalysisMgmt feature).
FD_AFSDK PI AF SDK 4.0 (REQUIRED) This feature installs PI AF
Client core files: the PI AF SDK and the
AF Common Controls.
FD_AFExplorer PI System Explorer This feature installs PI System Explorer,
which provides a user interface for
displaying the hierarchical structure of
the PI AF servers and other PI AF
entities. The AFImport, AFExport, and
RegPlugIn utilities are also included.
FD_AFAnalysisMgmt Management Plug- (Requires FD_AFExplorer) This feature
In installs the management client in PI
System Explorer.
FD_AFBuilder PI Builder This feature installs the PI Builder add-
in to Excel. If Excel is not installed, it is
ignored.
FD_AFCollectiveManager AF Collective This feature installs the AF Collective
Manager manager. By default, this feature is not
installed.
FD_AFDocs PI AF User This feature installs the documentation,
Documentation which is a set of PI AF .CHM help files.

Command-line properties for PI AF Client installation


Properties Description
ADDLOCAL Specifies features to install. See Features specified by ADDLOCAL
argument for PI AF Client installation.
ADDLOCAL=ALL
All PI AF Client features are installed.

ALLUSERS Specifies the per-computer or per-user installation context. A value


of 1 should be specified, which is the per-computer installation.
ALLUSERS=1
Install context is the computer.

REBOOT Allows the computer to restart during the installation process. Use a
value of Suppress for silent installations.
REBOOT=SUPPRESS
Any restart of the host computer will be suppressed until the end of
the bundle installation.

10 PI Asset Framework Client Installation and Upgrade Guide


PI AF Client installation and upgrade

Properties Description
AF_SERVER Specifies the default PI AF server name (the computer where the PI
AF Application Service resides) for the PI AF Client.
If a value is not defined by the user and the PI AF Application Service
is not resident on the target host computer, the default PI AF server
name is not set during the installation. If not set, the default PI AF
server name can be set manually after the installation has
completed.
If a value is not defined and the PI AF Application Service has
already been installed on the same host computer, then the current
computer will be set as the default PI AF server.
The AF_SERVER property is not used during an upgrade.

AFSDKONLY 0: Default. No change to the install.


1: On a clean install, installs AF SDK only. If it is an upgrade, it will
upgrade normally.

SENDTELEMETRY 0: Default value during silent installation is 0.


1: Specifies participation in the PI System Customer Feedback
Program.

SHUTDOWN_OPTIONS Specifies whether or not install should stop services and


applications that have the AFSDK.dll file locked and in use at the
time of the upgrade.
1: Automatically close applications and attempt to restart during the
installation
2: Do not close applications. (A reboot will be required.)
When not set, defaults to SHUTDOWN_OPTIONS=1 to prevent user
from having to reboot at end of the installation.
If option 2 is specified, SHUTDOWN_OPTIONS=2, then a reboot will be
needed if it is an upgrade and the AFSDK is in use at the time of the
installation. In that case an automatic reboot will occur unless the
REBOOT=Suppress option is set.

SKIPLAUNCHCONDITIONS When SKIPLAUNCHCONDITIONS=1 is used, this option bypasses


verification of prerequisites and allows the .msi to install even when
a condition is not met. Setting this value is NOT a recommended
installation.

Known Server Table command-line properties


Because the PI SDK is no longer installed by default with the PI AF Client, the following
properties can be specified to set up the Known Server Table (KST).
Property Description
IMPORT_KST=[value] Set to 1 to enable the importing of an existing KST.ini file. The
KST.ini file can be exported using the PI SDK Utility.
KST_INI_FILE=[path\filename] Specifies the path and file name of the KST.ini file (by default, it
is exported as KST.ini).
PI_ALIAS=[handle] Specifies the name of the default PI Data Archive handle. This
setting is ignored if a default PI Data Archive is already defined.

PI Asset Framework Client Installation and Upgrade Guide 11


PI AF Client installation and upgrade

Property Description
PI_SERVER=[network path] Specifies the name of the default PI Data Archive. This setting is
ignored if a default PI Data Archive is already defined. If you do
not define the PI_SERVER, a PI Server definition is created using
the local machine name.
PI_USER=[pidemo] Default user for the default PI Data Archive.
NOPISDKBUFFERING=1 Disables PI SDK buffering through pibufss if PISDK is already
installed. The default, if NOPISDKBUFFERING is specified, is not
changing the buffering behavior of an existing PI-SDK
installation.

Example syntax of PI AF Client installations through the command line


The following table provides examples of the syntax you might use in the silent.ini file in
conjunction with the AF Client setup.exe file, where you replace the text in the
[COMMANDLINE] section of the silent.ini file. Alternatively, if you only need to install the AF
Client’s .msi file (AFClient_x64.msi OR AFClient_x86.msi), you can use the provided syntax
examples, preceded by msiexec.exe /i AFClient_x64.msi OR msiexec.exe /i AFClient_x86.msi,
in a Command prompt window.
The format of the .ini file is divided into 4 sections, NUMSETUPMODULES, SETUPMODULES,
COMMANDLINE, and UNSUPPORTED_OPERATING_SYSTEMS. The NUMSETUPMODULES is the
number of products being installed. The SETUPMODULES section defines the name of the
product being installed, and the COMMANDLINE section provides the options that will be passed
to that installation. The UNSUPPORTED_OPERATING_SYSTEMS section can be used to block
installation for older operating system versions, or to require a particular service pack.
Components to install Syntax Notes
PI AF Client on PI /qn REBOOT=Suppress ALLUSERS=1 When you install the PI
AFApplication Service host ADDLOCAL=ALL AF Client after the PI AF
computer server installation, it is
not necessary to specify
the default PI AF server,
as the install kit will
have already done so.
To specify the default PI AF /qn REBOOT=Suppress ALLUSERS=1 You specify the default PI
server when you install the ADDLOCAL=ALL AF server by using the
PI AF Client AF_SERVER=PI_AF_Server_Name AF_SERVER property.

12 PI Asset Framework Client Installation and Upgrade Guide


PI AF Client installation and upgrade

Components to install Syntax Notes


Specific features of the PI AF To install the PI AF SDK 4.0, the common files, The PI AF SDK 4.0
Client and documentation without PI System feature is required.
Explorer and without Management:
/qn REBOOT=Suppress ALLUSERS=1
ADDLOCAL=FD_AFSDK,FD_AFDocs
To install the PI AF SDK 4.0, PI System
Explorer without the Management
components, and common files without the
documentation:
/qn REBOOT=Suppress ALLUSERS=1
ADDLOCAL=FD_AFSDK,FD_AFExplorer
To specify the PI AF Server and PI Data
Archive names, plus install the AF SDK, PI
System Explorer, Management, and PI Builder:
/qn REBOOT=Suppress ALLUSERS=1
AF_SERVER=PI_AF_Server_Name
PI_SERVER=PI_Server_Name
ADDLOCAL=FD_AFSDK,FD_AFBuilder,
FD_AFAnalysisMgmt
To install the PI AF SDK 4.0 and PI Builder:
/qn REBOOT=Suppress ALLUSERS=1
ADDLOCAL=FD_AFSDK,FD_AFBuilder

Upgrade PI AF Client through the command line


When upgrading a previous PI AF Client install, it is not necessary to re-specify the PI AF Client
arguments or features. The command you enter to perform the upgrade varies depending on
whether you are upgrading a 32-bit or 64-bit installation.
For a 64-bit upgrade:
msiexec.exe /i AFClient_x64.msi REBOOT=Suppress ALLUSERS=1 /qn

For a 32-bit upgrade:


msiexec.exe /i AFClient_x86.msi REBOOT=Suppress ALLUSERS=1 /qn

PI AF Client .NET 3.5


Beginning with PI AF 2018 SP3 Patch 2, OSIsoft no longer provides an installation of PI AF
Client based on Microsoft .NET 3.5. If you need to perform an installation of PI AF Client based
on .NET 3.5, contact the OSIsoft Customer Portal (https://my.osisoft.com/) for assistance.
Typically, organizations require PI AF Client .NET 3.5 if they are using legacy PI Notifications
(2012x or earlier) or if they have custom applications written using the .NET 3.5 version of the
AF SDK.

PI AF clients and Windows authentication


The PI AF SDK is installed as part of the PI AF Client installation.

PI Asset Framework Client Installation and Upgrade Guide 13


PI AF Client installation and upgrade

PI System Explorer and other PI AF SDK clients communicate with PI AF server using Windows
authentication. Except for configuration of a PI AF collective, the PI AF SDK never connects
directly to SQL Server. When you attempt to connect to a PI AF server through PI System
Explorer, your login credentials are used. If you have permission to access the PI AF server, the
connection is made.
If you do not have the appropriate rights, a login window opens where you can enter
credentials. For example, this can occur if you are logged in as a local user, are not a domain
user, or if the client computer is in a domain other than the domain of the PI AF server.

Run PI System Explorer with elevated permissions


If you run PI System Explorer or other PI AF client directly on the PI AF server computer and
the operating system has user-account control enabled, then using a local administrative
account will not elevate the account. You will be prompted to restart with elevated
permissions. To avoid this prompt, choose one of these options:

Procedure
• Run PI System Explorer as Administrator:
a. On the Start menu, right-click PI System Explorer or other PI AF client.
b. Select Run as Administrator.
• Set PI System Explorer to run as Administrator every time it is started:
a. On the Start menu, right-click PI System Explorer (or other PI AF client).
b. Select Properties.
c. On the Compatibility tab, select the Run this program as an administrator check box.
• Modify the PI AF security settings so that the user or a group containing the user (other
than local Administrators) has appropriate privileges.

Firewall between PI AF server and PI AF Client


All connectivity between a PI AF Client and a PI AF server occurs through PI AF SDK. The
appropriate ports must be open. The PI AF server connection must use the IP address or DNS
name of the PI AF server, not the computer name.
By default, PI AF SDK communicates with PI AF server through port 5457 and port 5459.

• Port 5457 is the primary port that PI AF SDK uses to communicate with PI AF server from
the client.
• Port 5459 is used by some client products, such as PI OLEDB Enterprise and PI WebParts to
communicate with PI AF server.
Depending on how connections are defined, PI AF server may perform a reverse-name
lookup of the connecting client IP address as part of the authentication process. The method
chosen for name resolution may require that PI AF server be able to open outbound
connections on some ports:

14 PI Asset Framework Client Installation and Upgrade Guide


PI AF Client installation and upgrade

◦ Resolution by way of entries in the HOSTS file (no port requirement, but clients must
have fixed IP addresses).
◦ Resolution by way of DNS (usually port 53).
◦ Resolution by way of NETBIOS name services (port 137).
You may also need to open port 445 if you wish to search or browse for accounts while
remotely managing PI AF security.

Firewall between PI AF Client and PI Data Archive


PI AF Clients need to connect to the PI AF Application Service to access the PI AF SQL Server
database. They may also need to connect directly to PI Data Archive if PI AF elements have
been configured with PI point data references. The connection to PI Data Archive is established
directly from the PI AF Client. No direct connection or authentication is needed against the SQL
Server or PI AF server.
By default, communication to PI Data Archive requires port 5450 to be open; however, you can
change this. For detailed information, review the OSIsoft Knowledge Base article: Which
firewall ports should be opened for the PI Server/ PI Data Archive? (https://
customers.osisoft.com/s/knowledgearticle?knowledgeArticleUrl=2820OSI8).

AF Collective Manager
Starting with PI Server 2018, PI AF collective creation has been moved out of PI System
Explorer and into the AF Collective Manager. AF Collective Manager provides a graphical user
interface for creating, editing, and managing PI AF collectives.
AF Collective Manager is available for installation with the PI Server install kit and PI AF Client
install kit.

Accessing AF Collective Manager


Procedure
1. Select Start > All Programs > PI System > AF Collective Manager. A message appears
informing you that OSIsoft no longer recommends using PI AF collectives as a High
Availability option. See the OSIsoft Knowledge Base article High Availability (HA) options
for PI Asset Framework (PI AF) (https://customers.osisoft.com/s/knowledgearticle?
knowledgeArticleUrl=KB00634).
2. To start the AF Collective Manager:
◦ Click No start the AF Collective Manager tool.
◦ Click Yes to read the KB article.
The AF Collective Manager window opens.

PI Asset Framework Client Installation and Upgrade Guide 15


PI AF Client installation and upgrade

16 PI Asset Framework Client Installation and Upgrade Guide


Technical support and other resources
For technical assistance, contact OSIsoft Technical Support at +1 510-297-5828 or through the
OSIsoft Customer Portal Contact Us page (https://customers.osisoft.com/s/contactus). The
Contact Us page offers additional contact options for customers outside of the United States.
When you contact OSIsoft Technical Support, be prepared to provide this information:
• Product name, version, and build numbers
• Details about your computer platform (CPU type, operating system, and version number)
• Time that the difficulty started
• Log files at that time
• Details of any environment changes prior to the start of the issue
• Summary of the issue, including any relevant log files during the time the issue occurred
To ask questions of others who use OSIsoft software, join the OSIsoft user community,
PI Square (https://pisquare.osisoft.com). Members of the community can request advice and
share ideas about the PI System. The PI Developers Club space within PI Square offers
resources to help you with the programming and integration of OSIsoft products.

PI Asset Framework Client Installation and Upgrade Guide 17


Technical support and other resources

18 PI Asset Framework Client Installation and Upgrade Guide

You might also like