Video Screencast Help

Virtualised App for wrong OS

Created: 24 Feb 2012 | 5 comments

I have an application that only works on Windows XP 32 bit and it needs Excel 2003 to function. We are changing all our computers over to Windows 7 64 Bit and Office 2010, so this app breaks completely.

Is there any way to use workspace virtualisation to package this app plus Excel 2003 and make them think they're running on XP and not detect the other office versions? I've tried but so far no luck..

Comments 5 CommentsJump to latest comment

EdT's picture

You have not specifically detailed what you have tried and what errors you have encountered. Have you managed to get Excel 2003 working in a layer, as that would be the first step.

Also, have you explored the Win 7 settings where you can specify which operating system is to be "emulated" when you run an application.  You will need to fake an XP return for your app to think it is running on XP.

If none of that works, you may need to use the XP virtual machine in the XP compatibility solution that Microsoft offer for just this situation.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

ukDavidC's picture

Hi, thanks for the reply. Basically so far Excel 2003 works fine in a layer. I then add the second application and it detects Excel 2003 and installs, but when executed it brings up an interop error saying it can't contact Excel properly. It's almost like its looking in the wrong place, or seeing Excel 2010 installed elsewhere and trying to use that.

If you mean compatibility settings for Win7 then yes but no help unfortunately, hence I was wondering if SVW could put everything in a 'bubble' and prevent it seeing the OS and Excel 2010.

Please don't forget to mark your thread solved with whatever answer helped you : )

EdT's picture

Have you tried adding Microsoft Primary Interop Assemblies of the appropriate version to your Excel install. The Interop assemblies provide a link between Office and project created with Visual Studio, if I recall correctly, so if that's a missing piece in your puzzle, there may actually not be anything wrong with what you have done so far.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

erikw's picture

You can make this work very easely

Package the app on windows XP and package excell into the same layer.

Then import it on windows7.

Activate the layer and rightclick on the start executable.

then select run in and choose xp mode

that will force the app to select the correct DLL's and you might be surprised.

 

Good luck.

Regards Erik www.DinamiQs.com Dinamiqs is the home of VirtualStorm (www.virtualstorm.org)

*************************************************************
If your issue has been solved, Please mark it as solved
***********

ukDavidC's picture

Thanks for the suggestions but no luck :-( It seems that the issue is not so much XP vs Win7 but 64 bit vs 32 bit - I can get it to work in 32 bit Windows 7 but not 64 bit XP or 7.

Please don't forget to mark your thread solved with whatever answer helped you : )