19. Integration of ThinApp Packages with App Volumes and Dynamic Environment Manager
As a minimum requirement, you must complete Lab 18 and all the dependent labs of Lab no. 18 before starting this lab.
Overview
- The following are tasks you will have to complete to ensure you understand the base platform and requirements to be in place to perform successful ThinAPP captures.
Pre-lab tasks (to validate)
Accounts for all resources are administrator for local access and [email protected] for domain access
Password for ALL accounts is Pa$$w0rd
Virtual Machine roles
-
On the ControlCenter server,
- Open your Site 1 and Site 2 Chrome Browser and select the vCenter Icon.
- Log in as [email protected]
- Password Pa$$w0rd
- Open your Site 1 and Site 2 Chrome Browser and select the vCenter Icon.
-
For ThinApp
- ProjectVM-02a. This the VM we save our ThinApp Projects
- CaptureVM-02a. This the VM we refer to as a Clean VM. We perform our ThinApp captures on this VM
- W11Master-01a. This VM will be our TEST best for validating the package Capture.
- ControlCenter
- Location of the Configuration and Profile shares
- Domain Controller configured AD templates on the Corp OU
- For App Volumes
-
AppVol-01a.techseals.co.
- App Volumes Manager Sever
-
AppVolProv-01a
- App Volumes Provisioning Machine
-
AppVol-01a.techseals.co.
-
Dynamic Environment Manager -
- Demprofiler-02a
- DEM Profiler captures on this machine
- Demprofiler-02a
-
Ensure that your W11Master-01a and AppVolProv-01a have been reverted to Snapshot
- After revert to current snapshot has completed, Power on both your VM's
- On your Control Center server
- open your Site 2 Chrome Browser
- on the Favourites Bar
- select the vcenter-02a shortcut
- on the Favourites Bar
- open your Site 2 Chrome Browser
- In the vSphere client area
- in the username area
- enter [email protected]
- in the password area
- enter Pa$$w0rd
-
at the bottom of the screen
- select LOGIN
- in the username area

- In the vSphere client
- select and right-click CaptureVM-02a
- from the dropdown
- select Snapshots > Take Snapshot....
- from the dropdown
- select and right-click CaptureVM-02a

- In the Take snapshot window
- in line with Name
- enter ThinAPP Captures
- next to include virtual machine's memory
- uncheck the checkbox
- at the bottom of the window
- select CREATE
- in line with Name

- On your Control Center server
- open your Site 1 Chrome Browser
- on the Favourites Bar
- select the vcenter-01a shortcut
- on the Favourites Bar
- open your Site 1 Chrome Browser
One of the things we learned in our testing is the App Volumes Tools cannot co-exist with the App Volumes agent.
- If the App Volumes Agent is already installed and one then installs the App Volumes Tools the App Volumes Agent is automatically removed.
- This is exactly the scenario we have in our lab with the AppVol-01a provisioning machine. In the next steps we will REVERT the vSphere snapshot so that we have the App Volumes agent available again
- In the vSphere client area
- in the username area
- enter [email protected]
- in the password area
- enter Pa$$w0rd
-
at the bottom of the screen
- select LOGIN
- in the username area

- In the vSphere client
- select and right-click appVolprov-01a
- from the dropdown
- select Snapshots > Manage Snapshots
- from the dropdown
- select and right-click appVolprov-01a
- In the appVolprov-01a Snapshot Manager area
- select the baseline snapshot
- select REVERT

- In the Revert to select snapshot window
- select REVERT

- In the vSphere Client
- select and right-click appVolprov-01a
- from the pop-out window
- select Power > Power On
- from the pop-out window
- select and right-click appVolprov-01a

- On your ControlCenter Desktop
- open your Remote desktops \ Site 2 folder
- launch the CaptureVM-02a.RDP shortcut
- open your Remote desktops \ Site 2 folder

- On the CaptureVM-02a Desktop
- double-click the SetupCapture shortcut
- In the Open File - Security Warning window
- select Run
- on the Setup Capture - Welcome window
- select Next
- In the Open File - Security Warning window
- double-click the SetupCapture shortcut

- On the Setup Capture - Ready to Prescan
- select Prescan
-
wait for Pre-Scan to complete
- This is very slow, it could take up to 10 minutes
- When you reach the Setup Capture - Install Application window
- Do Not select Postscan

- On the CaptureVM-02a desktop
- open the Software shortcut
- open the Applications folder
- open the Software shortcut

- In the Applications folder
-
select the latest version of the Notepad++ installer
-
right click
-
Open
- select Run
- select OK > Next > I Agree > Next > Next >
-
on the Choose Components window
-
next to Create Shortcut on Desktop
- select the checkbox
-
next to Create Shortcut on Desktop
-
on the Choose Components window
- select Install
- select Finish
- select OK > Next > I Agree > Next > Next >
- select Run
-
Open
-
right click
-
select the latest version of the Notepad++ installer

- On the Notepad++ window
-
Menu Bar
- to the right
- select the QUESTION MARK icon
- from the dropdown
- select Update Notepad++
- In the Notepad++ Update Available window
- select Yes (Silent)
- In the Notepad++ Update window
- select Yes
- In the Installer Language window
- select OK
- In the Welcome to Notepad++ v8.xx Setup window
- select Next
- In the License Agreement window
- select I Agree
- In the Choose Install Location window
- select Next
- In the Choose Components window
- select Next
- In the Choose Components window
- next Create Shortcut on Desktop
- select the checkbox
- select Install
- next Create Shortcut on Desktop
- to the right
- to close the existing session of Notepad++
- select Yes,
-
Menu Bar
If you get any error messages whilst the install proceeds select IGNORE

- On the CaptureVM-02a
-
right-click the START button >
-
select Run
-
in the Run window
-
next to Open:
-
type %Temp%
- select OK
-
type %Temp%
-
next to Open:
- select the npp.8.6.x.x.Installer.x64 installer
- right click
- select Delete
- right click
- Empty the Recycle Bin
-
in the Run window
-
select Run
-
right-click the START button >

- On the CaptureVM-02a
-
on the Setup Capture - Installation window.
- select Postscan
-
on the Setup Capture - Installation window.
- The Postscan will take approximately 10 minutes

- On the Setup Capture - Postscan Warnings window
- select Next

- On the Setup Capture - Entry Points window
- next to Show entry points used for debugging
- select the checkbox,
- next to cmd.exe
- select the checkbox,
- next to regedit.exe
- select the checkbox,
- next to cmd.exe
- select the checkbox,
- select Next
- next to Show entry points used for debugging

- On the Setup Capture - Omnissa Workspace ONE Access window
- select Next

- On the Setup Capture - Groups window
- select Next

- On the Setup Capture - Isolation window
- select Next

- On the Setup Capture - Sandbox window
- select Next

- On the Setup Capture - Customer Experience Improvement Program window
- next to Join the Omnissa Customer Experience Improvement
- select the checkbox ,
- select Next
- next to Join the Omnissa Customer Experience Improvement

- On the Setup Capture - Project Settings window
- select Next

- On the Setup Capture - Package Settings window
-
in front of Generate MSI package
-
select the check box
- select Save
-
select the check box
-
in front of Generate MSI package
The Save operation will take about 3 minutes

- On the Setup Capture - Save Warnings window
- select Next

-
Setup Capture - Ready to Build window
- select Build
The build operation will take about 40 seconds

- On the Setup Capture - Build Project window
- select Finish

- In the File Explorer window
-
Copy the Notepad++ (.msi), (.exe) and (.exe.alt) files
- on the Capture VM Desktop
- open the Software folder shortcut
- within the Software folder
- open the ThinApp folder
- within the ThinApp folder
- Paste the copied ThinAPP Notepad++ files
- on the Capture VM Desktop
- within the Software folder
- open the Software folder shortcut
- on the Capture VM Desktop
-
Copy the Notepad++ (.msi), (.exe) and (.exe.alt) files
- Observe where the .msi and .exe have been saved
- Notice that the UNC path points to the BIN folder on your ProjectVM machine

- On the ControlCenter server
- on your Site 2 Chrome browser,
-
vCenter server session.
- In the Hosts and Clusters Inventory
- select your CaptureVM-02a
- Right-Click
- select Snapshots > Revert to Latest Snapshot
- Right-Click
-
in the Revert to Latest Snapshot window
- select REVERT
- select your CaptureVM-02a
- In the Hosts and Clusters Inventory
-
vCenter server session.
- on your Site 2 Chrome browser,

- In the vSphere client.
- In the Hosts and Clusters Inventory
- select your CaptureVM-02a
- Right-Click
- select Power > Power On
- Right-Click
- select your CaptureVM-02a
- In the Hosts and Clusters Inventory

- On your ControlCenter desktop
- open the site 1 Chrome browser
- in the Favourites bar,
- select the App Vol shortcut,
-
in the App Volumes Manager console
-
below the Username area
- enter Administrator
- below the Password area
- enter Pa$$w0rd
- select LOGIN
-
below the Username area
- in the Favourites bar,
- open the site 1 Chrome browser

- in the App Volumes Manager console
- select INVENTORY > Applications
- select CREATE
- select INVENTORY > Applications

- On the Create Application page,
- In the Name section
- type NotePad++ ,
- select CREATE
- In the Confirm Create Application window,
- select CREATE
- type NotePad++ ,
- In the Name section

- in the App Volumes Manager console
-
Packages tab
- in the Name: field
- enter Notepad ++
-
in the Description: field
-
enter this is a ThinApp version of Notepad++
- select CREATE
-
enter this is a ThinApp version of Notepad++
-
on the Confirm Create package window
- select CREATE
- in the Name: field
-
Packages tab

- In the App Volumes Manager console
- select the Packages Tab
-
expand Notepad++
- select PACKAGE
-
expand Notepad++
- select the Packages Tab

- On the Package for Notepad++ window
- next to Find Packaging Computer:
- select SEARCH
- next to Find Packaging Computer:

- On the Package for Notepad++ window
-
in line with TECHSEALS\AppVolProv-01a
- select radio button
- In the bottom right-corner of the window
- select PACKAGE
- In the bottom right-corner of the window
-
on the Confirm Start Packaging, window
- select START PACKAGING
- select radio button
-
in line with TECHSEALS\AppVolProv-01a

- On your ControlCenter Desktop
- open the Remote Desktops > Site 1 folder
- launch the AppVolProv-01a.RDP shortcut
- open the Remote Desktops > Site 1 folder

Note if the App Volumes Packaging prompt is not show from the Taskbar , reboot the virtual machine
-
On the AppVolProv-01a desktop
-
on the Taskbar,
-
notice you have a prompt,
- App Volumes - Packaging in Progress
-
notice you have a prompt,
-
from the Desktop
-
select the Software shortcut
-
within Software
- open the ThinApp folder.
-
within Software
-
within the ThinApp folder
-
double-click the Notepad++ .msi
-
In the Open File - Security Warning window
- select Run
-
when the installer is complete
-
from the desktop
-
using the shortcut
- launch Notepad++ ,
- Close Notepad++
-
using the shortcut
-
from the desktop
-
In the Open File - Security Warning window
-
double-click the Notepad++ .msi
-
select the Software shortcut
- Close the File Explorer window
-
on the Taskbar,

- On the AppVolProv-01a machine
- on the App Volumes- Packaging in progress window
- select OK
- on Installation Complete?
- select Yes
- on the Finalize Package window
- select Finalize
-
on the Restart Required window
- select OK
- on the App Volumes- Packaging in progress window

- On the ControlCenter server
- from the Remote Desktops > Site 1 folder
- launch the AppVolProv-01a.RDP shortcut
- on the Packaging successful window
- select OK
- on the Packaging successful window
- launch the AppVolProv-01a.RDP shortcut
-
switch to the Site 1 vCenter server
-
select AppVolProv-01a
-
right-click
- select Snapshots > Revert to Latest Snapshot
- select REVERT
-
right-click
-
select AppVolProv-01a
- from the Remote Desktops > Site 1 folder

- From the ControlCenter server
- switch to your App Volumes Manager Admin console session
- select the INVENTORY > Applications tab
- expand Notepad++
- select ASSIGN
- expand Notepad++
- select the INVENTORY > Applications tab
- switch to your App Volumes Manager Admin console session

- On the Assign Application: Notepad++ window
- Next to Search Active Directory type Developers
- select Search
-
next to for TECHSEALS\Developers
- select the Check box
- select ASSIGN
-
next to for TECHSEALS\Developers
- select Search
- Next to Search Active Directory type Developers

- On the Assign Application: Notepad++ wizard
-
On Confirm Assign window
- select ASSIGN
-
On Confirm Assign window
Review your Assignment for NotePad++

- In the AppVolumes Manager Admin console
- select the Packages tab
- expand Notepad++
- select SET CURRENT
- in the Confirm Set CURRENT window
- select SET CURRENT
- expand Notepad++
- select the Packages tab

This approach is a new feature in App Volumes 4.1.x
It is considered best practice to provision the app for the platform you will deliver too
App Volumes does have an Advanced Settings feature to deploy to Package delivery to any operation system, toggle. We cannot assume this feature in every application scenario
- From your Site 1, App Volumes Manager Admin console session
- select the INVENTORY > Applications tab
- expand Notepad++
- in line with Notepad++
- select the check box
- select ASSIGN
- select the check box
- select the INVENTORY > Applications tab

- In the Assign Application: Notepad++ window
- in line with Search Active Directory,
- enter RDS
- select SEARCH
- enter RDS
- in line with Search Active Directory,

- In the Assign Application: Notepad++ window
- in line with TECHSEALs\RDSBLR-0101$ and TECHSEALs\RDSH-0102$
- next to Available
- select the checkboxes
- select ASSIGN
- select the checkboxes
- next to Available
- in line with TECHSEALs\RDSBLR-0101$ and TECHSEALs\RDSH-0102$

- In the Confirm Assign window
- select ASSIGN

- On the ControlCenter server,
- switch to your vCenter Admin console
- for both RDS-0101 and RDS-0102
- right click
- select Power > Restart Guest OS,
- On the Confirm Guest Restart window, select YES
- right click
- for both RDS-0101 and RDS-0102
- switch to your vCenter Admin console
- After reboot give the application delivery about 2 minutes

- In the vSphere Client
- for both RDSBLR-0101 and RDS-0102
- select LAUNCH WEB CONSOLE
- log in as
- Username: Administrator
- Password: Pa$$w0rd
- log in as
- select LAUNCH WEB CONSOLE
- for both RDSBLR-0101 and RDS-0102

- On the RDS server desktop
- to validate its functionality.
- Launch Notepad++
-
Close the application when done
- Log off from the RDS servers
-
Close the application when done
- Launch Notepad++
- to validate its functionality.

- On your ControlCenter server,
- on your Site 1 Chrome browser.
- on the Favourites bar
- launch the Horizon Site 1 shortcut
- on the Favourites bar
- in the Horizon admin login Console .
-
In the Username area
- enter Administrator
- In the Password area
- enter Pa$$w0rd
- select SIGN IN
-
In the Username area
- on your Site 1 Chrome browser.

- In the Horizon Admin Console,
- expand Inventory
- select Applications
- In the Application Pools area
- select ADD
- select Add Manually
- select ADD
- In the Application Pools area
- select Applications
- expand Inventory

- In the Add Application Pool window
- enter the following
- below* ID
- enter NotepadPLUSPLUS
- below Display Name
- enter Notepad++
- below Version
- enter version 1.1
- below Publisher
- enter Techseals
- below *Path
- enter
- below* ID
- enter the following
C:\Program Files\Notepad++ (64-bit x64) (Omnissa ThinApp)\Notepad++.exe
-
Start Folder
- C:\
- next to Pre-Launch
- select the checkbox
- select SUBMIT

- In the Add Entitlements window
- select ADD

- In the Find User or Group window
- next to Name/User name
- enter Developers
- select Find
- Under Name
- in front of Developers
- select the checkbox
- select OK
- select the checkbox
- in front of Developers
- Under Name
- select Find
- enter Developers
- next to Name/User name

- In the Add Entitlements window
- select OK

- On your Controlcenter server desktop
- open the Remote Desktops\Site 1 folder
- launch W11Client-01a.RDP
- open the Remote Desktops\Site 1 folder

- On the w11client-01a desktop
- launch your Horizon client
- In the Horizon Client
- select corp.techseals.co
- In the Horizon Client
- launch your Horizon client

- On the w11client-01a desktop
- on the Horizon client login window
- in the User name area
- enter [email protected]
-
in the password area
-
enter Pa$$w0rd
- select Login
-
enter Pa$$w0rd
- in the User name area
- on the Horizon client login window

- On the W11Client-01a desktop
- on the Omnissa Horizon Client
- launch Notepad++
- on the Omnissa Horizon Client

- On your ControlCenter Desktop,
- open your Site 2 - Seattle Chrome browser shortcut.
- In Bookmarks bar,
- select the vCenter-02a shortcut.
- in the vSphere login
- in the username area
- enter [email protected]
- in the password area
- enter Pa$$w0rd
- in the username area
- in the vSphere login
- select the vCenter-02a shortcut.
- In Bookmarks bar,
- open your Site 2 - Seattle Chrome browser shortcut.

- in the vCenter admin console
- select DemProfiler-02a
-
right click,
- select Snapshots
- Take Snapshot
- select Snapshots
-
right click,
- In the Take VM Snapshot window
- next to Name
- enter Pre-App Capture
-
next to Include virtual machine's memory
-
uncheck the checkbox
- select CREATE
-
uncheck the checkbox
- next to Name
- select DemProfiler-02a

- From your ControlCenter server
- open the Remote Desktops folder
- launch the DEMProfiler-02a.RDP shortcut
- login as [email protected]
- with the password Pa$$w0rd
- login as [email protected]
- launch the DEMProfiler-02a.RDP shortcut
- open the Remote Desktops folder

- On the DEMProfiler desktop
- open the software shortcut,
- In Software
- open the Applications folder
-
select the npp.8.7.5.Installer.x64 installer
- right-click
- select Open
- accept all the defaults
- select OK > Next > I agree > Next > Next > Install > Finish
- accept all the defaults
- select Open
- right-click
-
select the npp.8.7.5.Installer.x64 installer
- open the Applications folder
- When you are prompted to update, download and install the application update
- In Software
- once Notepad++ has been installed.
- Close All windows
- open the software shortcut,

- From the DEMProfiler Desktop
- open the DEM Application Profiler Console

- In The DEMProfiler Console
- select the Settings tab,
- enable the following
- in front of Support HKLM
- select the Check box
- in front of Warn if Project Not Saved
- select the Check box
- in front of Show Unsupported File Access
- select the Check box
- in front of Support HKLM
- enable the following
- select the Program Analysis tab
- select Start Session
-
in the Current Flex Config file Contents ..... prompt window
- select Yes
- select the Settings tab,

- In The DEMProfiler Console
- In the Start Application to Analyze window
- under Program from Start Menu
- expand Programs
- select the Notepad++ shortcut
- to Start New Analysis.
- select OK
- expand Programs
- under Program from Start Menu
- In the Start Application to Analyze window
You will notice Notepad++ launching

- In the Notepad++, session
- select the Settings > Preferences,
- In the General area
- next to Fluent UI:large
- select the radio button
- below the Tab Bar
- in front of Multi-line and Vertical
- select the checkboxes
- in front of Multi-line and Vertical
- next to Fluent UI:large
- to close Preferences.
- select the Close button
- close Notepad++
- to close the Profiling Finished window
- select Ok

- In the DEMProfiler Console
- To center of the page,
- make sure the Optimization level for this exercise is 1
- To center of the page,

- In the DEMProfiler Console
- select Save > Save Config File with Predefined Settings
-
In the Save As window
-
open the Applications folder
-
next to File name
- enter Notepad++Developers
- select Save
-
next to File name
-
open the Applications folder
-
In the Save As window
- select Save > Save Config File with Predefined Settings

- Switch to your vSphere client,
- select DEMProfiler-02a,
-
right click >
- select Snapshot >
- revert to Latest Snapshot
-
In the Revert to latest snapshot window
- select REVERT
- select Snapshot >
-
right click >
- select DEMProfiler-02a,

- On your ControlCenter server
- from the Taskbar
- launch your DEM shortcut
- under General,
- select the Applications folder,
- in top left-corner
- select Refresh Tree
- in top left-corner
- select the Applications folder,
- from the Taskbar

- On the Dynamic Environment Manager MMC
- under Applications,
- select the Notepad++Developers configuration
- under Applications,

- In the Notepad++Developers properties
- select the Predefined Settings tab
-
select Default Settings ,
-
select Edit
- In the Edit Predefined Settings window
- next to Name:
- enter Notepad++ for Developers (ThinApp)
- next to Type:
- select Fully Enforced Settings
- next to Name:
- In the Edit Predefined Settings window
-
select Edit
-
select Default Settings ,
- select the Predefined Settings tab

- On Edit Predefined Setting window
- select the Conditions Tab
- select Add
- select Group Membership
- next to Member of Group
- select Browse
- next to Member of Group
- select Group Membership
- In the Select Group window,
- type Developers
- select Check Names
- select OK twice >
- type Developers
- select Add
- select the Conditions Tab

- In the Notepad++Developers properties
- select the DirectFlex tab,
- next to enable ThinApp 5.2 support
- select the checkbox
- below Executables
-
select %ProgramFiles%\Notepad++\notepad++.exe
- select Edit
-
Remove the entire path with the exception of notepad++.exe
- change notepad++.exe to Notepad++.exe
- select OK
-
Remove the entire path with the exception of notepad++.exe
- select Edit
-
select %ProgramFiles%\Notepad++\notepad++.exe
- select Save Config file
- next to enable ThinApp 5.2 support
- select the DirectFlex tab,

- On your Controlcenter server desktop
- open the Remote Desktops\Site 1 folder
- launch W11Client-01a.RDP
- open the Remote Desktops\Site 1 folder

- On the w11client-01a desktop
- launch your Horizon client
- In the Horizon Client
- select corp.techseals.co
- In the Horizon Client
- launch your Horizon client

- On the w11client-01a desktop
- on the Horizon client login window
- in the User name area
- enter [email protected]
-
in the password area
-
enter Pa$$w0rd
- select Login
-
enter Pa$$w0rd
- in the User name area
- on the Horizon client login window

- On the W11Client-01a desktop
- on the Omnissa Horizon Client
- launch Notepad++
- on the Omnissa Horizon Client

- On the W11Client-01a desktop
- on the Omnissa Horizon Client
- Note that the DEM Pre-defined settings have been retained in the application
- on the Omnissa Horizon Client

This concludes this lab
0 Comments
Add your comment