Copy the installation media locally and launch the sequencer with the EnablePVADControl parameter
Load a sequencing template if you have one – here’s a copy of the one I use
Ensure sequencer is clean and ready i.e. no restarts pending/previous packages captured etc.
Select the installer
Enter name and PVAD – C:\System-Tools_Hyena_12.5.0_001A
Click Next
Enter the installation directory C:\System-Tools_Hyena_12.5.0_001A
Allow time for installation to complete
Tick the checkbox and click Next
Run Hyena
Enter the registration info
Click OK
Open RegEdit – Browse to HKCU\Software\Adkins Resource\Hyena\Win32 and set AskForNewsletterSignup to 1
Create a key under HKCU\Software\Adkins Resource\Hyena\Advanced called DisableUpdateChecker and set to 1
Click Next
Continue to modify package if you want to clean up further or modify shortcuts etc otherwise save the package
Microsoft App-V 5 Sequencing Template
When sequencing an application it’s handy to have a template with some common file and registry exclusions to save on the cleanup work afterwards.
Copy the xml content below into a text file and save with a .appvt extension. Load this template into the App-V Sequencer before packaging an application.
To load this template launch the Sequencer and select File > Load Template.
Template Code
<?xml version="1.0" encoding="utf-8"?> <SequencerTemplate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AllowMU>false</AllowMU> <AppendPackageVersionToFilename>true</AppendPackageVersionToFilename> <AllowLocalInteractionToCom>false</AllowLocalInteractionToCom> <AllowLocalInteractionToObject>false</AllowLocalInteractionToObject> <FullVFSWriteMode>false</FullVFSWriteMode> <ExcludePreExistingSxSAndVC>false</ExcludePreExistingSxSAndVC> <FileExclusions> <string>[{CryptoKeys}]</string> <string>[{Common AppData}]\Microsoft\Crypto</string> <string>[{Common AppData}]\Microsoft\Search\Data</string> <string>[{Cookies}]</string> <string>[{History}]</string> <string>[{Cache}]</string> <string>[{Local AppData}]</string> <string>[{LocalAppDataLow}]</string> <string>[{Personal}]</string> <string>[{Profile}]\Local Settings</string> <string>[{Profile}]\NTUSER.DAT.LOG1</string> <string>[{Profile}]\NTUSER.DAT.LOG2</string> <string>[{Recent}]</string> <string>[{Windows}]\Debug</string> <string>[{Windows}]\Logs\CBS</string> <string>[{Windows}]\Temp</string> <string>[{Windows}]\WinSxS\ManifestCache</string> <string>[{Windows}]\WindowsUpdate.log</string> <string>[{AppVPackageDrive}]\$Recycle.Bin</string> <string>[{AppVPackageDrive}]\System Volume Information</string> <string>[{AppData}]\Microsoft\AppV</string> <string>[{Local AppData}]\Temp</string> <string>[{ProgramFilesX64}]\Microsoft Application Virtualization\Sequencer</string> <string>REGISTRY\USER\Software\Microsoft\EventSystem</string> <string>[{Windows}]\CSC</string> <string>[{Windows}]\Prefetch</string> <string>[{Windows}]\repair</string> <string>[{System}]\appmgmt</string> <string>[{AppVSystem32Catroot}]</string> <string>[{System}]\CCM</string> <string>[{System}]\config</string> <string>[{System}]\dllcache</string> <string>[{System}]\wbem</string> <string>[{Windows}]\Tasks</string> </FileExclusions> <RegExclusions> <string>REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Cryptography</string> <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Cryptography</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Streams</string> <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\AppV</string> <string>REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\AppV</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\AppV</string> <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Wow6432Node\Microsoft\AppV</string> <string>REGISTRY\USER\Software\Microsoft\SystemCertificates</string> <string>REGISTRY\USER\SOFTWARE\Microsoft\Tracing</string> <string>REGISTRY\USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings</string> <string>REGISTRY\USER\Software\Microsoft\Windows\CurrentVersion\Run</string> <string>REGISTRY\USER\Software\Microsoft\Windows\CurrentVersion\Runonce</string> <string>REGISTRY\USER\Software\Microsoft\Windows\CurrentVersion\Uninstall</string> <string>REGISTRY\USER\SOFTWARE\Policies</string> <string>REGISTRY\MACHINE\Hardware</string> <string>REGISTRY\MACHINE\SAM</string> <string>REGISTRY\MACHINE\Security</string> <string>REGISTRY\MACHINE\Software\Microsoft\EventSystem</string> <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Rpc</string> <string>REGISTRY\MACHINE\Software\Microsoft\SystemCertificates</string> <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Tracing</string> <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\WBEM</string> <string>REGISTRY\MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings</string> <string>REGISTRY\MACHINE\Software\Microsoft\Windows\CurrentVersion\Run</string> <string>REGISTRY\MACHINE\Software\Microsoft\Windows\CurrentVersion\Runonce</string> <string>REGISTRY\MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall</string> <string>REGISTRY\MACHINE\SOFTWARE\Policies</string> <string>REGISTRY\MACHINE\System\CurrentControlSet\Control\TimeZoneInformation</string> <string>REGISTRY\MACHINE\System\CurrentControlSet\Services\DHCP</string> <string>REGISTRY\MACHINE\System\CurrentControlSet\Services\Eventlog</string> </RegExclusions> <TargetOSes /> </SequencerTemplate>
Sequencing Java Runtime Environment (JRE) 8u91 with App-V 5.1
There are various forums and websites around with information on this however I thought I’d share a step by step guide I created.
- Download JRE 8u91 x86 and run it on the sequencer VM
- Browse to %userprofile%\AppData\LocalLow\Oracle\Java\hre1.8.0_91 and copy the msi to C:\1
- Cancel the Java setup
- Launch the sequencer with the following command
- Open the sequencer and add the following path to the exclusions
- Click on Create New App-V Package then Create Package (default)
- Click Next
- Click Next
- Select custom installation and click next
- Enter a name and a PVAD which we’re NOT going to use
- Now run the msi using the following command. Give it some time to complete.
- Once complete, create the following registry key
- Create another registry key
- Use notepad (run as administrator) to edit the deployment.properties document under this location
- Add these two lines to the bottom and save
- Check I am finished installing and click Next
- Click Next
- Click Next
- Click Next
- Select Continue to modify package… and click Next
- IMPORTANT – Ensure this folder is set to override the local directory. This ensures that another other versions of Java (packaged or local) do not take priority over this version.
- IMPORTANT – Ensure write permission to the VFS is permitted. Allows the package to write the deployment.config file back to the VFS.
Group Policy
Get the Class ID of the Java Add-Ons by going into IE and Manage Addons.
Now create a Group Policy or create a new one and go to
Computer Configuration\Policies\Administrative Templates\Windows Components\Internet Explorer\Security Features\Add-on Management
Open the Add-on List GPO and pick Enabled then click Show
In the Value Name put the copied Class ID followed by a 2 in the next field.
0 = Disabled, 1 = Enabled (user can’t edit), 2 = Enabled (user can edit)