How effective is Windows File Protection?
Posted 17 November 2003 - 12:44
Exactly how effective is WFP at preventing conflicts between application using different versions of core system files?
Is the snapshot and repackage process of deploying software now redundant?
Any comment greatly appreciated
Posted 17 November 2003 - 18:32
The savest method to avoid DLL hell is application isolation, i.e. all the files are located in your own directory and loaded from there.
Posted 18 November 2003 - 11:53
I guess what I am trying to understand is best practice for re-wrapping of third party installers for a controlled environment.
If a third party installer delivers a newer version of a dll to the system32 folder and it is subsequently replaced by WFP for the original version, would a better design standard be to include any upgrades to system files in a separated merge module which was recognised by WFP as an ’official upgrade’. Then the risk of loss of functionality in an application could be reduced?
I have also experienced some problems even with isolated applications in that registry keys have been shared with core system files, so uninstalls have broken the base build.
Posted 18 November 2003 - 12:31
If a third party (non-Microsoft) setup tries to update a WFP protected file, I would call this a bug in the setup. All setups that install system files should carry appropriate conditions or perform checks, and not try to overwrite WFP files.
If you need to update such a file, run the setup or service pack from Microsoft. That's the only official and supported method. You can do this in your launcher or maybe in a custom action.
Posted 18 November 2003 - 13:46
I assume if a file is not protected then the best way to manage version control if that file is used by multiple applications in a desktop environment is through a merge module?