The last couple of weeks I saw a lot of discussions on application compatibility for the Hosted Private Computer Infrastructure (HPCI)/ Hosted Shared Computer Infrastructure (HSCI). I was wondering if application compatibility still is an issue as we have plausible alternatives.
The way I look at it there are two paths to handle the application compatibility issues, one is focusing on the infrastructure (platform) and the other is focusing on the application. Depending on the requirements of your customer you can choose either way (or both)..and of course there’s Citrix’s AppDNA and ChangeBase has it’s products to avoid surprises during the project but it happens to often that there’s no budget and/or time to use this tooling.
First we can find a solution in the platform for the application, as we’re delivering applications on (mostly) Windows Operating Systems we can choose an operating system based on application requirements.
Basically there are server and client options:
|Server OS||Client OS1|
|Windows Server 2003(R2)||Windows XP|
|Windows Server 2008(R2)||Windows 7|
|Windows Server 2012||Windows 8|
1 Note: I didn’t list Vista as I don’t see my clients choosing Vista a lot.
The next question usually is if it should be a x64 or x86 platform. Andy Baker wrote a blog post on this topic: Virtual Desktops: 32-bit or 64-bit Desktop Operating Systems? and it was covered in one of the newer ProjectVRC survey’s “State of the VDI and SBC Union 2013“. Over 34% of the people who took the time to complete the survey is using Windows 7 x64 on their VDI platform:
In certain situations you can’t choose the platform as Windows Server 2008R2 and Windows Server 2012 are only x64. That means you can always deliver a x86 client OS platform for those applications that can’t (or shouldn’t) run on a x64 platform. I said ‘shouldn’t’ as 32bits applications can run on a 64bits OS but:
WOW64 is the x86 emulator that allows 32-bit Windows-based applications to run seamlessly on 64-bit Windows. WOW64 is provided with the operating system and does not have to be explicitly enabled.
According to Microsoft, 32-bit software running under WOW64 has a similar performance when executing under 32-bit Windows, but with fewer threads possible and other overheads: Performance and Memory Consumption Under WOW64. There are reasons to go for Windows 7 x64 as you want to try to keep a minimum of images or if users need more than 4Gb of RAM as Helge Klein pointed out during his presentations at Citrix Synergy and E2EVC. With modern days technology it’s possible to mix and match client Operating Systems with just a couple of base images but because of a fragmented application landscape you can only solve a limit amount of application compatibility issues.
These choices should cover the platform part.. but there’s more!
So we can provide different platforms to host applications based on the requirements of the application set but what if you don’t want to build and manage different platforms.. You can always take a closer look at the application itself.
When you encounter an application that’s not supported on the platform you’re using one of the steps to take is to take a look at a possible update of the application. This could be a solution but there’s a risk in a change of functionality so an update is possible but an upgrade is often out of the question.
With the newer platforms the applications can be altered so that certain features can be enabled/disabled to close the gap between the newer and the old Operating System.
As you can see the program can be faked into Windows XP but can also be started in certain colors, screen resolution and visual themes.
The Shim Infrastructure implements a form of application programming interface (API) hooking. Specifically, it leverages the nature of linking to redirect API calls from Windows itself to alternative code—the shim itself. The Windows Portable Executable (PE) and Common Object File Format (COFF) Specification includes several headers, and the data directories in this header provide a layer of indirection between the application and the linked file. Calls to external binary files take place through the Import Address Table (IAT). Consequently, a call into Windows to the system.
There are tools that can help you with shims, the Microsoft Application Compatibility Toolkit (ACT) is one of them and I added a short video to demonstrate the use of ACT and shims:
In some cases application virtualization can be a solution for application compatibility but the official statement from the APP-V team is as following:
As noted in prior discussions, App-V is not a general purpose application-to-OS compatibility solution; however, if an application compatibility shim allows an app to work on a given Windows version natively (non-virtualized), it will in most cases, and for most shims, work with App-V when the shimmed app is virtualized. Thus, as a general rule, App-V will support app use with shims that are provided as part of Microsoft’s App Compat tools as long as the shimmed application can run natively on the targeted OS version.
So, it’s pretty clear that App-V isn’t intended to be an application-to-OS compatibility solution.
Hack the app!
If there’s is no support for the application because it was an in-house developed application with no documentation or the vendor is already vanished of the face of the earth this offers a solution. To change the application has it’s consequences for support and maybe even for the relationship with the vendor. Ask yourself: ‘if an application doesn’t work on current Operating Systems do you really want to implement it?’ Maybe this could be the moment for an application refresh but this should be a decision based on business requirements and not made by an admin/consultant.
And.. if everything else fails.. Call Remko! Remko is one of those IT Pro’s who can do black magic with applications that won’t run/can’t run on your platform. He did presentations on this topic during E2EVC in Vienna and at the Citrix UG meeting in London this month and he has numerous blog posts on this topic:
Choose your platform wisely, think about the x64/x86 discussion and take a look at the possibilities on updating the app, work with the ACT or AppDNA and if everything else fails: Call Remko but in the end application compatibility can cause some headaches but shouldn’t be a show stopper anymore.
Latest posts by Kees Baggerman (see all)
- VM Reporting Script for Nutanix AHV with Powershell - March 19, 2019
- Reporting vGPU enabled VMs on AHV - March 13, 2019
- Automating Citrix PVS on Nutanix AHV with PoSH v2 - March 5, 2019
- Nutanix AHV and Citrix MCS: Adding a persistent disk via Powershell - March 4, 2019
- Creating a VM incl a vGPU profile on AHV with Powershell - March 1, 2019