Adobe Photoshop Elements Virtualisation

From psadt | Evergreen Application Management
Jump to navigation Jump to search

About

PhElements01.png

Adobe Photoshop Elements is a graphics editor for photographers, image editors and hobbyists. It contains most of the features of the professional version but with fewer and simpler options.

Version: 11

Assumptions

This document assumes you are familiar with the Microsoft App-V Sequencer. As with many other older applications, for security reasons we will virtualise it using App-V. The App-V Sequencer for Windows 10 is freely available in the Windows 10 ADK for the branch you are on.

Prerequisites

Microsoft Visual C++ Redistributable x86 9.0.30729.17

Must be installed prior to capture process, and will be a dependency of the package going forward.

Install command: vcredist_x86.exe /q

Capture

Best practice; create an application.xml.override file to be referenced by any directory that contains an MSI.


application.xml.override

<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<Payload>
<Data key="EULADelay">0</Data>
<Data key="EULA">Suppress</Data>
<Data key="Registration">Suppress</Data>
<Data key="Updates">Suppress</Data>
</Payload>
</Configuration>


Copy this to the source directory.

Also copy to the ElementsOrganiser subdirectory.

Edit the Setup.ini file in the source directory and add the following contents under OEM:


DISABLEEMSFEATURES=1
DISABLEOLSFEATURES=1
WATCHSERVICE=0


Reboot. After reboot, launch the App-V sequencer.


Sequencing Process

PhElements02.png

PhElements03.png

Click Next


PhElements04.png

Click Next


PhElements05.png

Click Next


PhElements06.png

Select source; click Next


PhElements07.png

Enter name, click Next


PhElements08.png


PhElements09.png

Click Ok


PhElements10.png

Click Next


PhElements11.png

Click to Accept the EULA.


PhElements12.png

Enter country and serial, click Next


PhElements13.png

Click Next


PhElements14.png

Click Install


PhElements15.png


PhElements16.png

Click Finish


PhElements17.png

Tick I am finished installing, click Next


PhElements18.png

PhElements19.png

DO NOT LAUNCH THE APP - Click Next


PhElements18.png

PhElements20.png

Click Next


PhElements21.png

Tick Customize, click Next


PhElements22.png

PhElements23.png

DO NOT LAUNCH APPS - Click Next


PhElements24.png

Click Yes


PhElements25.png

Click Next


PhElements26.png

Click Continue to modify, click Next


PhElements27.png

PhElements28.png

Click Close


PhElements29.png

Virtual Registry tab; delete individual user keys


PhElements30.png

Click Yes


PhElements31.png

Package files tab; delete User Profiles directory


PhElements32.png

Click Yes


PhElements33.png

Remove Windows subdirectories for Installer and Microsoft.Net


PhElements34.png

Advanced tab; tick all


PhElements35.png

Shortcuts tab, remove bottom two shortcuts (one is a duplication and will cause issues)


PhElements36.png

Expand remaining shortcut from left-hand menu; remove Desktop and Program Files entries


PhElements37.png

Save App-V package


Manual Install | Smoke Test App-V

You can globally install or remove your AppV using PowerShell for testing. The script can be called from the command line as follows:

powershell.exe -ExecutionPolicy Bypass -File "%~dp0publish.ps1"

publish.ps1

# This script performs the installation or uninstallation of an application(s).
# Created 12/09/2019 | psadt.com


# Publish App-V
[string]$CurrentPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
[string]$pkgName = "Adobe_PhotoshopElements_11.0"

Import-Module AppVClient | Out-Null
Enable-AppV | Out-Null
Set-AppvClientConfiguration -EnablePackageScript $true | Out-Null
Add-AppvClientPackage "$CurrentPath\$pkgName.appv" | Publish-AppvClientPackage -Global | Out-Null


Manual Uninstall App-V

The uninstall script first unpublishes and then removes the AppV from your system. If any errors occur it is generally because files are locked. Reboot and run the uninstall script again if this occurs. The script can be called from command line as follows:

powershell.exe -ExecutionPolicy Bypass -File "%~dp0unpublish.ps1"

unpublish.ps1

# This script performs the installation or uninstallation of an application(s).
# Created 12/09/2019 | psadt.com


# Unpublish App-V
[string]$pkgName = "Adobe_PhotoshopElements_11.0"

Import-Module AppVClient | Out-Null
Set-AppvClientConfiguration -EnablePackageScript $true | Out-Null
Unpublish-AppvClientPackage $pkgName -Global | Out-Null
Remove-AppvClientPackage $pkgName | Out-Null