Multi user install mode registry key.
Hi all,

The documentation of MultiUser.nsh says that MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY and MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME define a registry key that is written either to the HKCU or HKLM in order to remember the multiuser install mode.

I would expect this key to be written automatically by MULTIUSER_INIT:

Function .onInit
!insertmacro MULTIUSER_INIT
FunctionEnd

however this is not happening in my script, as in the end of the install the registry key is not written.

Are there any library facilities for handling the writing of (and deleting of, upon uninstall) this key or do I have to write this code myself?

Thanks,

Alex