icudtl.dat and *.pak files missing

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

icudtl.dat and *.pak files missing

Postby smayoral » Fri Sep 13, 2019 2:37 am

Hi,
we have developed a Windows application that embeds Chromium. Everything works fine but "sometimes" and "at some computers" after a Windows reboot, icudtl.dat and *.pak files are missing from the installation directory. No idea how this happens...
* Some kind of virus removing these files
* Some Windows configuration

Has anyone had this problem?
Thanks
smayoral
Techie
 
Posts: 39
Joined: Wed Jan 10, 2018 8:58 am

Re: icudtl.dat and *.pak files missing

Postby Czarek » Fri Sep 13, 2019 3:35 am

Anti-virus software could remove these files. Unlike .dll files they are not linked statically, they are loaded dynamically. Some .pak files contain html/javascript code, so this could be detected as suspicious. You can check the problematic files with https://www.virustotal.com/ which can scan using many AV programs at once. You should verify your app installer if it installs files correctly, so that OS knows these files are part of your application.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: icudtl.dat and *.pak files missing

Postby smayoral » Fri Sep 13, 2019 4:01 am

Hi Czarek,
thanks for your answer. These files (.dat and *.pak) belong to Chromium Version 3.3578.1863 and are copied to all computers but only some of them have this problem.
These PCs have no anti-virus, "Windows virus and threat protection" may be responsible, have to check.
And we check the app installer too but this should be ok because many other PCs do not have this problem.
smayoral
Techie
 
Posts: 39
Joined: Wed Jan 10, 2018 8:58 am

Re: icudtl.dat and *.pak files missing

Postby nitin1438 » Wed Dec 11, 2019 6:42 am

smayoral wrote:Hi Czarek,
thanks for your answer. These files (.dat and *.pak) belong to Chromium Version 3.3578.1863 and are copied to all computers but only some of them have this problem.
These PCs have no anti-virus, "Windows virus and threat protection" may be responsible, have to check.
And we check the app installer too but this should be ok because many other PCs do not have this problem.

Is there any progress on this issue? I get exact same error and unable to find the reason. I checked the anti-virus logs and it has not removed these files. Can Windows update remove these files? I saw Windows updates running and rebooting the PC where this issue happened.

Thanks!
Nitin
nitin1438
Newbie
 
Posts: 1
Joined: Wed Dec 11, 2019 6:39 am

Re: icudtl.dat and *.pak files missing

Postby jozefizso » Thu Aug 19, 2021 8:54 am

This issue will happen when the installer (we use MSI packages) is updating existing CefSharp/Chromium files while the browser subprocess is running. It holds lock to several files which are being marked by Windows Installer to be delete at next reboot.

You will see this in the log file:

MSI (s) (DC:64) [15:27:27:762]: Executing op: FileRemove(,FileName=icudtl.dat,,ComponentId={2EDEDB25-E9D1-4C35-B447-36E76B39D6DE})
Info 1903.Scheduling reboot operation: Deleting file C:\MyApp\x64\icudtl.dat. Must reboot to complete operation.

The app will continue to work until you restart the computer. The fix is either to repair the installation after restart or rework the installer or implement logic in the app to redownload missing Chromium files.
jozefizso
Newbie
 
Posts: 5
Joined: Mon Jan 25, 2021 2:49 pm

Re: icudtl.dat and *.pak files missing

Postby smayoral » Mon Nov 22, 2021 4:36 pm

Yes, we reworked the installer as you suggest and the problem seems to be gone.
Thanks for the post!
smayoral
Techie
 
Posts: 39
Joined: Wed Jan 10, 2018 8:58 am

Re: icudtl.dat and *.pak files missing

Postby whatisron » Tue Aug 15, 2023 2:45 pm

Are any readers of this able to clarify what "reworking" of the installer is needed to correct this issue? I've got a report of someone experiencing this with my application.
whatisron
Newbie
 
Posts: 2
Joined: Sat Feb 02, 2013 11:41 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 53 guests