I have an application that installed and ran fine on Windows server 2008 r2 Core when it was written in C++ VS2005. However, to cope with new Windows platforms, I have had to rebuild my application in C++ VS 2012. Now, without any other functional changes, I can no longer install my app in Server 2008 r2 core. The installer invokes several custom actions that reside in one of my C++ DLLs. Using depends.exe, I can see that the problem is that my DLL now has a dependency on oledlg.dll which is not part of server core.
What is the best way to obtain this DLL? I can copy it over from a Windows Server 2008 r2 GUI system and that fixes my problem but this isn't very elegant. I am also not impressed by the fact that this is a problem caused by VS 2012 rather than anything I have done. BTW - I also installed the VS 2012 Redistributables on my core system but this did not have any effect.