I looked at merge_registry_parts.awk. My awk is not very good, but it looks like it simply replaces anything between a certain start and end tag.
So this does not help when uninstalling an application.
I took a look at libxml2 got a small program working that parses the registry and removes the JAVADJVU application and the extensions associated with it.
It does leave an empty line in the applications section and two empty lines in the extensionsInfo sections, however.
I'll see if I can fix that, generalize it, and make it fit for packaging.
|