Recipe : Devolutions RemoteDesktopManager

A lot of IT departments use RemoteDesktopManager of Devolutions. Its a license product for your remotedesktop sessions. The product has several addons. For example: Dropbox, Hyper-V and many more.

Virtualizing this application isnt a straitforward job. The licensekey is stored inside the %appdata% and contains serveral hardcodepaths of the user who configures the application. In the following blog i have described the workaround to these issues.

Start the installation of Remote Desktop Manager

image4

Next

image5

Select : Typical

image6

Deselect Desktop and Quick Launch toolbar to remove these from the package

Next

image7

Next

image8

Select “I accept the terms in the license agreement”

Next

image9

Click Install

image10

Click Finish

image11

Fill in your license information and click op OK

2018-03-25 18_10_22-image12

Click on Ok

image13

Open File

image14

Go to Options

image15

Go to General > Applicaiton Start  and deselect “Enable check for updates” and “Check for Add-on update at startup”

Click OK

image16

Close the application

image17

image18

Go to %appdata%\Devolutions\RemotedesktopManager

Edit RemoteDesktopManager.cfg

Remove “EncryptedDataSources” tag

Change FirsTimeOpening tag to “True”

image20

Add “<ShowWelcomePage>false</ShowWelcomePage>”  Tag

image21

Remove the files, see screenshot and leave RemoteDesktopManager.cfg and Addoninfo60.xml.

image19

Close and save the application!

Goodluck and happy packaging!

Advertisements

Recipe: Greenshot

This blog will guide packagers to virtualize Greenshot.

Greenshot

Greenshot is a free screenshot tool with a nice screenshot editor. I have been using Greenshot for years and running virtualized with App-V 5. The application could be configured through a default template, fixed settings or leaving de config in %appdata%\Greenshot. I should suggest to use a combination between Greenshot-default.ini and Greenshot-fixed.ini, see Greenshot Website for more information.

You can download greenshot from the website http://getgreenshot.org/downloads/.

Start to sequence with default settings.

Install the downloaded version of Greenshot

2018-03-25 16_08_33-192.168.153.143 - Remote Desktop Connection

Trying to avoid integration issues i tend to install compact version of greenshot. I am not interrested in these addons.

2018-03-25 16_10_46-192.168.153.143 - Remote Desktop Connection

Open de preferences after installing the applications. Richt click on the greenshot icon in the icontray > click on preferences..

2018-03-25 16_11_53-192.168.153.143 - Remote Desktop Connection

By setting the “Update check interval in days” to 0, the application will not prompt for updates.

2018-03-25 16_12_06-192.168.153.143 - Remote Desktop Connection

If you are packaging for VDI or RDSH environments, you might consider the “Make some optimizations for usage with remote desktop”.

2018-03-25 16_12_19-192.168.153.143 - Remote Desktop Connection

After editing, the settings are saved in %appdata%\greenshot\greenshot.ini. The default en fixed settings are used for default settings or force settings. You can reuse the current Greenshot.ini and remove all unwanted settings.

My example for Greenshot-Defaults.ini

2018-03-25 16_15_24-192.168.153.143 - Remote Desktop Connection

My example for Greenshot-Fixed.ini

2018-03-25 16_15_31-192.168.153.143 - Remote Desktop Connection

You need to copy these settings to C:\Program files\Greenshot\

2018-03-25 16_15_48-192.168.153.143 - Remote Desktop Connection2018-03-25 16_16_24-192.168.153.143 - Remote Desktop Connection

For best practice, close the running application.

2018-03-25 16_16_33-192.168.153.143 - Remote Desktop Connection

Remove greenshot from %appdata%\Greenshot

Application configuration

2018-03-25 16_16_54-192.168.153.143 - Remote Desktop Connection

Remove greenshot from %localappdata%\Greenshot

Application logs

2018-03-25 16_17_06-192.168.153.143 - Remote Desktop Connection

The application is ready and you can stop monitoring the application.

All the registry settings should be deleted

2018-03-25 16_19_42-192.168.153.143 - Remote Desktop Connection

All the files should be deleted, except for the greenshot directory.2018-03-25 16_20_52-192.168.153.143 - Remote Desktop Connection

Beware, the application does not need write access to the program files. To force the settings of “Greenshot-fixed.ini” users shouldnt have write or delete access on programfiles. Keep de “Allow Virtual Applications full write permissions to the virtual file system” unchecked.2018-03-25 16_21_01-192.168.153.143 - Remote Desktop Connection

The default setting of Greenshot is startup at userlogin. This setting is configured through RUN registry and is ignored by App-V 5. You could create a shortcut in \Programs\StartUp if you want this feature.

2018-03-25 16_21_29-192.168.153.143 - Remote Desktop Connection

 

Goodluck and happy packaging!

 

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) https://en.wikipedia.org/wiki/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. …”

image

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”.

image

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.

Solution

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.