I have developed a C# Desktop Application application on VS2013 that has CEF(Chrome Embedded Framework) in it. The Application is developed on .NetFramework 4.5.2 with Target Platform set as x64 (It has to be x64 otherwise CEF doesnt work)
The App runs on the developer PC but when i install it (using a setup) on Clients PC and simply run it by clicking the installed .exe , the mouse pointer loads for a few seconds and then nothing happens. It doesn't appear in task Manager either. I have tested it by installing another C# Desktop app developed in the same environment and configuration but without CEF , and it is working Fine in all the client's PC's.. Is there any problem with the CEF?
Following are the Specs of Developers PC and the Clients PC.
Developers PC : [Application Running] Windows 10 OS = x64 bit Visual Studio 2013 with .NETFramework 4.5.2 Visual C++ 2012 Redistributable Package CEF .dll files included and placed in Debug Folder
Another PC 2 : [Application Running] Windows 7 OS = x64 bit Visual Studio 2013 with .NETFramework 4.5.2 Visual C++ 2012 Redistributable Package CEF .dll files included and placed in Debug Folder
Clients PC 1 [Application NOT Running] Windows 8.1 OS = x64 bit Visual C++ 2012 Redistributable Package CEF .dll files included and placed in Debug Folder
Clients PC 2 [Application NOT Running] Windows 8.1 OS = x64 bit Visual C++ 2012 Redistributable Package CEF .dll files included and placed in Debug Folder
Any help would be highly appreciated. Thanks a lot.
There is a tool built into windows called sxstrace.exe that can help determine what is missing.
1) Run something like:
sxstrace trace -logfile:mylog
2) Try to launch the application
3) stop the trace (press any key in cmd window)
4) parse the logfile like:
sxstrace parse -logfile:mylog -outfile:mylog.txt
5) view output file for errors
EDIT: In your case, very likely missing some CEF files. From their documentation:
The following files, in addition to the usual .NET project files, should be present in the bin directory. They should live side-by-side in the same directory as the CefSharp.Wpf.Example.exe file, except for en-US.pak which is in a locales subdirectory:
cef.pak devtools_resources.pak icudt.dat libcef.dll /locales/en-US.pak