Recipe: App-V 5 Workpace 5.0.3

Wellnomics Workpace 5.03

The application workpace is used to monitor the behaviour and advice the users to reduce RSI (Repetitive strain injury) Through videos and popups the user is informed to exercise or to take a break

This application is supplied with an administrative guide, “Wellnomics WorkPace 5.0.3 IT Administrators Guide.pdf”. You can configure the first run and even force configuration.

Note: You need to force “OptionSuspendInRemoteSession=Locked:N” setting inside C:\Installationdirectory\system\default.ini for VDI and RDS.

App-V 5 Recipe

My colleague Randy von Bannisseht started packaging “Workpace”. This application is usually an easy package. We didn’t expect any problems with this application. The main shortcut works without any issues. The shortcut “WorkPace Training” gave errors. It started with “Directory Player Error” with message “Unable to load movie playlist. …”


The sequencer informed us of about excluded files of the %TEMP% directory. Our first step was removing the exclusions %LOCALAPPDATA%\TEMP and %LOCALAPPDATA%. We solved the “Director Player Error” but we received an “Application Error” with the message “The application cannot start as it cannot create needed files. There may not be enough free disk space”.


After this error message we tried to write into all the parts of the VFS (%ProgramFiles% and %TEMP%). We were able to successful write to the VFS.


The solution was found by trail and error. The application shouldn’t be started during the monitoring fase and the application needs to be installed to the PVAD. The installation didn’t change for creating the App-V package. Removing the %TEMP% directory from the exclusion list is not needed.


App-V 5 Publishing server refresh

Have you been waiting for the App-V 5 publishing server to synchronisation with the App-V 5 management server? The default installation configures the synchronisation for every 10 minutes. This settings is stored within the registry of the server. Microsoft documented this registry in the following website . Microsoft also describes a manually trigger to start the synchronisation. I want to trigger the synchronisation process to avoid waiting and for emergency changes.

The publishing server is build on top of the IIS “Internet Information Services”. Recycling the application pool “AppvPublishing” triggers the synchronisation  process. Go to Server Management > Roles > Webserver (IIS) > Internet Information Sercices > Application Pools. Right click the application pool “AppVPublishing” and press “Recycle”. During the recycle process the publishing server keeps functioning and responding to requests from App-V 5 clients.16-9-2015 16-23-08

With application deployment and testing i want to avoid waiting for the synchronisation timer. Therefore i need to force the trigger. I use the following PowerShell script to trigger the synchronisation process.

Restart-WebAppPool -Name AppVPublishing

This commando could be given remotely to the publishing server if PowerShell remoting is enabled. You could enable this through Enable-PSRemoting. I have used the following script to force synchronisation over several publishing servers.

[Object]$servers = “AppVPubServer1″,”AppVPubServer2”

foreach ($server in $servers){
$job = Invoke-Command -AsJob -ComputerName $server -ScriptBlock {Restart-WebAppPool -Name AppVPublishing}
Wait-Job -Job $job}

Caution: Beaware of the power of PowerShell. People are able to remove all the App-V packages from the server with one line.

Have fun refreshing the publishing servers!!! Knipogende emoticon

Recipe: Corel Paintshop Pro X4

Start with a good installation

At the start of packaging Corel Paintshop Pro X4 I searched the internet for recipes. A couple of silent installations are found on the internet. The application kept asking for registration and updates. I found the solution in a deployment guide of the product.

The documentation of suppliers are usually written for attended installation and not for enterprise environments. I was surprised with a decent deployment guide, see

Prepare the installation

For my customer i have downloaded the latest updates for the application. The service packs of the application are found at . You need to download the service pack 2 and 3 because the service pack 2 is a dependency for 3.

The deployment guide has several options for the installation. Pick the options you need for your environment. The parameters IOFF and NEVERREGISTER are important for enterprise environments.The parameters are executed after the “setup.exe”. I created the following silent installation:

Set THISDIR=%~dp0
“%thisdir%setup.exe” INSTLANG=EN,FR,DE,ES,NL IOFF=1 FORCENOSHOWLIC=1 NEVERREGISTER=1 DESKTOP=NONE SERIALNUMBER=”xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx” /norestart /qn

“%thisdir%PSPX4_SP2.exe” IOFF=1 /QN
“%thisdir%PSPX4_SP3.exe” IOFF=1 /QN

First use popup

The application has a couple “first use” popup options. You need to capture the popups during the monitoring fase.

clip_image002    clip_image004

The settings are stored at  %localappdata%\Corel Paintshop Pro\. clip_image006

To include the settings within your package, the %localappdata% settings needs to be removed from the exclusionist.


PVAD (Primary Virtual Application Directory)

The application will detect duplicated items if the first use is captured during monitoring.clip_image009

The application detects the items from the VFS and “C:\Programdata\App-v\packageguid\Versionguid\”. You need to install the application into the PVAD directory to solve the double library because the VFS will not be used. The PVAD option is hidden since App-V 5.0 SP3. You can enable the PVAD feature through the command line “sequencer.exe –EnablePVADControl” or the following registry:

Windows Registry Editor Version 5.00


The “Create new package” wizard would add the PVAD option to the sequencer. The application will install in C:\Program Files (X86)\Corel\. Use the same directory for the PVAD option.


Enjoy Corel Paintshop Pro X4! Knipogende emoticon