Application Virtualization - PROII

Download as pdf or txt
Download as pdf or txt
You are on page 1of 31

PRO/II Process Engineering

TM

Application Virtualization
Guide
© 2018 AVEVA Group plc and its subsidiaries. All rights reserved.
No part of this documentation shall be reproduced, stored in a ret rieval system, or transmitted by any
means, electronic, mechanical, photocopying, rec ording, or otherwise, without the prior written
permission of AVEVA. No liability is assumed with respect to the use of the information contained herein.
Although precaution has been taken in the preparation of this documentation, A VEVA assumes no
responsibility for errors or omissions. The information in this documentation is subject to change without
notice and does not represent a commitment on the part of AVEVA. The soft ware described in this
documentation is furnished under a license agreement. This soft ware may be used or copied only in
accordance with the terms of such license agreement.
ArchestrA, Aquis, Avantis, DYNS IM, eDNA, EYESIM, InBatch, InduSoft, InStep, IntelaTrac, InTouch,
PIPEPHASE, PRiSM, PRO/II, PROV IS ION, ROMeo, SIM4ME, SimCentral, SimSci, Skelta,
SmartGlance, Spiral Software, Termis, WindowMaker, WindowViewer, and Wonderware are trademarks
of AVEVA and/or its subsidiaries. An extensive listing of AVEVA trademarks can be found at:
https://sw.aveva.com/legal. All other brands may be trademarks of their respective owners.
Publication date: 9/7/2018
Contact Information
AVEVA Group plc
High Cross
Madingley Road
Cambridge
CB3 OHB. UK
https://sw.aveva.com/
For information on how to cont act sales, customer training, and technical support, see
https://sw.aveva.com/contact.
Contents
Introduction ............................................................................................................................................ 4
Recommended Best Practices for Sequencing (From Microsoft) ............................................................ 4
Items to document in a recipe include: ............................................................................................... 4
Recommended best practices: ............................................................................................................ 4
Sequencing PRO/II 9.4 ............................................................................................................................. 6
Recommendations .............................................................................................................................. 6
Steps: ................................................................................................................................................... 7
Introduction:
This document is designed as guide to help you quickly set up PRO/II® software deployment
using Microsoft® Application Virtualization (App-V). This guide provides details of the steps necessary
to sequence PRO/II software using the Microsoft Application Virtualization Sequencer.

Setting up Microsoft Application Virtualization Server, Microsoft Application Virtualization Desktop


Client and Microsoft Application Virtualization Sequencer are out-of-scope for this document and it is
recommended to refer to Microsoft Application Virtualization website.

Microsoft Application Virtualization website: https://technet.microsoft.com/en-


us/library/jj713487.aspx

Recommended Best Practices for Sequencing (From Microsoft)


Microsoft has best practices for sequencing to increase the number of successfully sequenced
applications and reduce the sequencing time for packaging engineers.

The primary recommendation for all sequencing processes is for packaging engineers to familiarize
themselves with the installation and execution of the application prior to sequencing. Make sure to
read and become familiar with the installation instructions associated with the application so you
understand how the application runs, as well as the components of the application the user will
need.

Having step-by-step documentation on hand can help reduce unnecessary troubleshooting during
the sequencing process by ensuring no important steps are skipped. Always document the
sequencing process using a standard template, thereby creating a “recipe” that another packaging
engineer in the organization can utilize to recreate the same package.

Items to document in a recipe include:


 What application components are needed and will be required to complete the
installation of the application?
 What updates, such as adding new files to the package (patches, templates, etc.), are
required for successful installation of the application?
 What post-installation configuration steps are required for preparing the application for
users?
 How do users commonly use this application immediately after its launch?
 Does this application do something that App-V currently does not support? If so, check
the Microsoft Knowledge Base to see if a workaround is available.

Recommended best practices:

 User Account Control (UAC): Sequence with the same UAC setting that will be deployed
to user desktops. For example; if UAC is disabled on client workstations, UAC should also
be disabled on the sequencing workstation.
 Extract self-extracting setup files to the %temp% directory of the sequencing machine
for optimal package size. Certain applications have EXE files that extract the installer to
the machine before the initial install. To avoid adding unnecessary files to the sequence,
it is a best practice to extract the installer onto the local machine prior to sequencing or
to extract the installer to an excluded location.

 Selecting the optimal Primary Virtual Application Directory (PVAD): For best results, set
the Primary Virtual Application Directory to match the directory the application is installed
to for the following reasons:
o Application Compatibility: some virtual applications will not function correctly, or
even fail to launch, if the directories do not match.
o Performance: no file system redirection is needed resulting in improved runtime
performance.
o Locate the application installation directory:
 Open the application installer, and note the installation path. (Ex. Notepad is
C:\Program Files\Notepad). Cancel the application installer. Launch the
sequencer and insert the installation path into the Primary Virtual Application
Directory.
 Set the Primary Virtual Application Directory installation path (Ex. C:\Program
Files\AppName). When the application installer loads, change its default
installation path to match the Primary Virtual Application Directory
(C:\Program Files\AppName).

 Disable “Auto Update” features. Some applications have the ability to check a web site
or a server for the latest application updates. This feature should be turned off, as
version control should be performed via sequencing new versions.

 Disable “Install on First Use.” Some applications have the option to “Install on First
Use” for certain components. Do not sequence components with this option; choose
either “Run from My Computer” (install this component) or “Not Available” (do not
install this component). Application components that will not be used by any of the
targeted users should not be installed.

 Configure and test the application after installation. Completing the installation of an
application often requires performing several manual steps that are not part of the
application installation process. These steps can involve configuring a connection to a
‘back-end’ database or copying updated files, etc. Do these configurations in the
“Configure Software” phase, after checking the “I am finished installing” box and clicking
“next” in the Sequencer. It is recommended to launch each application multiple times
until the program is in a static state in the Installation Phase. For example, the
sequencing engineer may need to run the application multiple times to get past all
registration and dialog box requests. Some applications perform different tasks on first
launch, second launch, and sometimes subsequent launches. Performing multiple
launches will ensure completion of any required post-installation tasks (e.g., accepting a
license agreement or setting file type associations).
 Use the Description field in the Packages tab in the Package Editor to note any details
about the package that should be included. These notes will be valuable when revisiting
the sequence later or when upgrading.

 If deploying via streaming, use the “Prepare for Streaming” section in the Wizard to
launch each executable in a suite of applications. This will ensure that each application
will have the required initial launch data on the App-V Client.
o Operations made during the “Prepare for Streaming” section will be included in the
primary feature block. When building the primary feature block, make sure to
execute the application’s most common operations so they are included in the initial
streaming of the application, creating an accurate primary feature block. If this is
not done, users might see delays as they start to use the application and will regard
it as being slow if many of the features they use are not in the primary feature block.
Additionally, in an environment where bandwidth is limited, it is important to have
an accurate primary feature block so users are not constantly making calls to the
server to download additional files in cache.

 Define target operating systems in the Deployment tab only in situations where it is
required, such as applications sequenced specifically for Remote Desktop Services
(formerly Terminal Services) or when the sequenced package will only work on specific
operating systems or platform types (32-bit vs 64-bit).

Sequencing PRO/II 9.4:


Recommendations:
1. Install PRO/II outside C:\Program Files folder.
2. Install Pre-requisites and Common applications on the system. Don’t Package them:

• Install .NET 3.5 SP1 (Mandatory)


[PRO/II 9.4 setup folder]\DotNet.3.5.SP1\netfx35sp1_x86.exe
• Install .NET 4.0 (Mandatory)
[PRO/II 9.4 setup folder]\Microsoft .NET Framework 4
Setup\dotNetFx40_Full_x86_x64.exe
• Install Microsoft Visual C++ 2005 Redistributable (Mandatory)
[PRO/II 9.4 setup folder]\Microsoft.2005.C++.Redistributable\vcredist_x86.exe
• Install Microsoft Visual C++ 2008 SP1 Redistributable (Mandatory)
[PRO/II 9.4 setup folder]\Microsoft.2008.C++.Runtime\vcredist_x86-2008.exe

• Install Microsoft Visual C++ 2010 Redistributable (Mandatory)


[PRO/II 9.4 setup folder]\ Microsoft Visual C++ 2010 x86
Redistributable\vcredist_x86.exe
• Install Microsoft Visual C++ 2013 Redistributable (Mandatory)
[PRO/II 9.4 setup folder]\ Microsoft Visual C++ 2013 x86
Redistributable\vcredist_x86.exe
• Notepad++ (Mandatory)
[PRO/II 9.4 setup folder]\ThirdPartySoftware \NOTEPAD\npp.6.7.8.1.Installer.exe
• Install USB driver 7.6.5 (Conditional - This is needed only if you are going to run
PRO/II 9.4 using USB for security)
[PRO/II 9.4 setup folder]\ThirdPartySoftware\USB_Driver\Sentinel Protection
Installer 7.6.5.exe

3. Don’t package files in %APPDATA%\SimSci


4. Don’t package root directory (ie. Don’t creating PVAD directly on C:\ Root)
5. Set License server outside the package.
6. Package all components in Same folder (Optional)
7. Move all shortcuts to same folder (Optional)

Steps:
The section guides you through the step-by-step process of sequencing PRO/II 9.4 on a
Windows 7 32-bit computer.

Note:

• Microsoft Application Virtualization Sequencer version: 5.0.10107.0 (AppV 5.0 SP3).


• In this sample all the pre-requisites and Common applications are installed on the system
before sequencing.
• VSTO 2.0, 4.0, OLI Chemistry wizard and RefpropAddon are sequenced along with PRO/II 9.4
inside same package.

1. Click Start | Microsoft Application Virtualization Sequencer | Microsoft Application


Virtualization Sequencer to start Microsoft Application Virtualization Sequencer.
2. Click Tools | Options | Exclusion Items to open Exclusion list. Click New to add Exclusion Item. In
the Exclusion dialog, enter [{Appdata}]\SimSci for Exclusion Path and VFS for Mapping Type and
Click Ok.
3. Click Create a New Virtual Application Package to start Sequencing.
4. Select Create Package (default) and Click Next.

5. Prepare Computer should not show any issues. Click Next.


6. Select Standard Application (default). Click Next.

7. Browse to PRO/II installer Setup.exe and Click Next.


8. Enter PROII94 for Virtual Application Package Name and Click Next.

9. Now PRO/II Installation will start.


10. Click Next.

11. Accept License agreement and Click Next.


12. Change Install location (Install in Path outside C:\Program Files) and Click Next.
PRO/II Install location: C:\ SimSci
Shared Components Install location: C:\SimSci\PROII94

13. Select Custom and Click Next.


14. Remove Notepad++, Multi-Simulation Manager, OLI & REFPROP and Click Next.

15. Select Security Type, keep License server blank and Click Ok.
16. Complete Installation.
17. Install other application. Click Run to select Installer.

18. Install OLI Chemistry Wizard. Install is located at [PRO/II 9.4 setup
folder]\ThirdPartySoftware\OLI\OLI_Engine_in_PROII.9.2.5.exe .
19. Accept License Agreement and Click Next.

20. Enter Serial Number and Click Next.


21. Select Custom.

22. Browse to C:\SimSci\PROII94\OLI as Install location.


23. Complete OLI Installation.
24. Select RefPropAddon Installation. Location: [PRO/II 9.4 setup
folder]\ThirdPartySoftware\NIST\RefPropAddonSetup.exe

25. Click Next.


26. Set C:\SimSci\PROII94\RefPropAddon as Install location. Click Next.

27. Set SIMSCI\PROII 9.4\REFPROP Addon as Start Menu location.


28. Click Install.

29. Click Skip to skip configuration and Complete RefpropAddon Installation.


30. Move OLI Shortcut to SimSci\PROII 9.4 (Optional) (Before and After images are below).
31. After completing all customizations, Select ‘I am finished installing’ and Click Next.
32. Click Next.

33. Click Next.


34. Select Customize and Click Next.

35. Select Force option and Click Next.


36. Select needed OS support and Click Next.

37. Select ‘Save the package now’ and Click Create.


38. Package is now saved. Click Close.

You might also like