I'm new to using the Launcher and would like to have clear instructions on how to do the following.
I'd like my custom PortableApp to register specific protocols so that from the shell or a web browser one could launch the app via, say, 'sip:1234@server'.
However, I'd like to make sure that if HKCU already has this protocol association, save it, modify it with my values and when the portable app terminates, restore the original values.
So, on custom PortableApp startup, do the following:
- backup some specific HKCU keys, if any (such as HKCU\Software\Classes\sip). Can I do this this way?:
- set my registry values. I suppose I can do this:
On custom PortableApp termination, I need to delete my registry values and restore the original, if any.
How is this done?
I read the following page but it's not totally clear to me: