Setup.exe is not a valid Win32 application

You would receive the below error message while running a ClickOnce bootstrapper created using Visual Studio 2012 on Windows XP systems.           Clickonce bootstrapper engine (setup.exe) that was shipped with Visual Studio 2012 is NOT compatible with any OS below Windows Vista.  So, the above error message is expected and by…

12

Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.VisualStudio.OLE.Interop.IServiceProvider’.

While launching Visual Studio 2012/2010 IDE, you might receive the below error message or VS IDE may just crash without any error message. I launched the devenv.exe in the debugger (http://msdn.microsoft.com/en-us/windows/hardware/gg463009) and took a crash dump (http://support.microsoft.com/kb/286350). You can also run the following command: cscript adplus.vbs -crash –sc “C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe” After…

17