Replacing old Virtual PC / Server additions with ORCA

Over the last six months or so I’ve been assisting on a project to migrate some old software between data centres. The new data centres have Windows 2008 Server R2 and all the matching versions of SQL Server and SharePoint – not the latest versions but up to date when it comes to corporate land.

Part of my consulting support has involved regression checks of both source and running software in test environments. With the apps being almost 8 years old the support and test machines are thankfully virtual but date back to Virtual Server time. It’s great having the ready built machines available but Hyper-v has a few issues when working with the machines.

One of these is the additions – not the Hyper-V additions but the original Virtual Server additions which will not remove due to an issue in the original setup. And you can’t add the new ones until the old are removed.

So over to a post by Arvind Shyamsunder over on MSDN (Virtual PC / Virtual Server 2005 to Hyper-V Additions) which describes a solution – it’s a hack but it works. It involves modifying the installed installer for Virtual Server additions to remove a check so that it will de-install. Then you have a clean machine which you can install the hyper-v additions on.

ORCA is a tool for working with msi files which is in the Platform SDK – full details in the referenced article.