Let's say I'm developing an application that installs COM component and installer registers them. This works great.
Now the software is required to run from a memory stick. How can I register my libraries runtime and make sure, that the registry is cleaned up after running the application?