We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.

Read updated registry value issue

From NSIS Wiki
Jump to navigationJump to search
Author: virtlink (talk, contrib)


Issue
Updating/creating a registry value, and then reading it reads the wrong value or no value at all.
Cause
Assumption: Changes to the registry are placed in a cache. So the changes to the registry won't be visible immideately.
Solution
Use the System plugin to invoke the RegFlushKey API function.