Page 1 of 1

About update

Posted: Fri Nov 27, 2020 1:30 pm
by thefunkyjoint
When updating, is it safe just copy the new files to the same folder CEF4Delphi is already installed, instead of removing the package and installing it again ?

It's a lot eaiser / faster just copy new files to same folder :D

Re: About update

Posted: Fri Nov 27, 2020 1:40 pm
by salvadordf
Delphi keeps using old DCU and BPL files sometimes.

It's recommended to uninstall the component, delete all those files and install it again.
If you just copy the new PAS units then Delphi may still use the old compiled units and cause problems.

Re: About update

Posted: Fri Nov 27, 2020 5:52 pm
by thefunkyjoint
That's odd because everytime i compile my app, i can see Delphi compiling CEF4Delphi files... If CEF4Delphi files are being compiled again, does it mean the DCU are being generated again ?

Re: About update

Posted: Fri Nov 27, 2020 6:48 pm
by salvadordf
I don't know the details about this issue but if your application builds everything then I guess you only need to copy the CEF4Delphi files.

There are several forum users reporting issues when they tried to upgrade CEF4Delphi.

They often say that the application is trying to load old versions of the CEF binaries.
Sometimes they have building errors when the new CEF4Delphi version has some different event parameters but Delphi seems to be using the old ones.

If you see something like that, then you need to follow the previous instructions.

Re: About update

Posted: Sat Nov 28, 2020 11:03 am
by thefunkyjoint
Ok, thanks for the info Salvador. :D