Registry removal hangs during update

We have this line in our XML file to remove a registry value during update.<Registry> <Remove base="HKEY_CLASSES_ROOT\" subkey="CompanyName..ProductName\shell\open\command" valname="command" /></Registry>

During the update, it downloads the files without any problem. Then it hangs during registry removal. The progress bar does not move. It has to be terminated from task manager.

But the registry value is successfully deleted. So something got stuck after the value is removed.

I appreciate any help that you can provide.

It sounds like something else is hanging. If you're using NGEN, then it's almost certainly that (NGEN is a very slow process with very few advantages, that's why we disable it by default).

Try doing the exact same update except without that registry entry. Does it still hang?

It does not hang without the registry entry removal. We are not using NGEN.

When it hangs, the updater shows something like "Updating/backing up registry". It seems like the registry removal step hangs, maybe during the final clean up before going to the next step?

Thanks for the help.

Can you make a simple example that can reproduce this -- preferably a wyBuild project with just registry changes? Because we cannot reproduce it here -- all registry changes we try work perfectly.

Also, are you using a custom version of wyUpdate? If so, stop.