Read updated registry value issue: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library) |
m (Updated author and download links, and changed format of some pages.) |
||
Line 8: | Line 8: | ||
: Use the System plugin to invoke the [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/regflushkey.asp RegFlushKey API function]. | : Use the System plugin to invoke the [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/regflushkey.asp RegFlushKey API function]. | ||
Page author: virtlink | Page author: [[User:virtlink|virtlink]] |
Revision as of 12:36, 23 April 2005
- 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.
Page author: virtlink