Adobe Photoshop Elements Virtualisation
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.
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.
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
Best practice; create an application.xml.override file to be referenced by any directory that contains an MSI.
<?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.
Select source; click Next
Enter name, click Next
Click to Accept the EULA.
Enter country and serial, click Next
Tick I am finished installing, click Next
DO NOT LAUNCH THE APP - Click Next
Tick Customize, click Next
DO NOT LAUNCH APPS - Click Next
Click Continue to modify, click Next
Virtual Registry tab; delete individual user keys
Package files tab; delete User Profiles directory
Remove Windows subdirectories for Installer and Microsoft.Net
Advanced tab; tick all
Shortcuts tab, remove bottom two shortcuts (one is a duplication and will cause issues)
Expand remaining shortcut from left-hand menu; remove Desktop and Program Files entries
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"
# 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"
# 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