I'm using Visual C++ 2008 Express Edition and am trying to create an EXE that will work from a CD without requiring anything to be installed.

Now previously I've tried this and, on PCs I've tested it on, it's come up with the "Application Configured Incorrectly" error as I've tried to run it. So a few forums have suggested either making sure the required DLLs are packed with it, or altering the "Use of MFC" and "Use of ATL" to static.

Which I've done. Unfortunately, whilst this works fine on my machine, it's still bringing up the "Application Configured Incorrectly" error on others.

I've also tried changing the Runtime Library to /MT and the Common Language Runtime Support, but at the moment I feel I'm just using trial-and-error.

Anyone got any tips? It's a Windows Forms application that I'm just wanting to get running from CD with no installs or anything to hinder the end user.

Thanks