NSIS: what is a registry?

What is the registry in NSIS? How do you write and read from the registry?

+4
source share
3 answers

Do you mean the Windows registry that you can modify with NSIS?

In this case, this article can help you clarify something: What is the Windows registry?

After that, you will be able to understand and use NSIS commands.

WriteRegStr ReadRegStr 

A detailed example can be found here: ReadRegStr and here: WriteRegStr

+7
source

Or you can refer to NSIS Registers , which are standard variables used by some functions and plugins to pass or return values.

In the NSIS Script Reference in Section 4.2.2:

$ 0, $ 1, $ 2, $ 3, $ 4, $ 5, $ 6, $ 7, $ 8, $ 9, $ R0, $ R1, $ R2, $ R3, $ R4, $ R5, $ R6, $ R7, $ R8, $ R9

registers. These variables can be used as custom variables, but are commonly used in general functions or macros. You do not need to declare these variables, so you will not get any name conflicts when they are used in common code. When using these variables in common code, it is recommended that you use the stack to save and restore their original values. These variables can also be used to communicate with plugins, because they can be read and written via pluggable DLL files.

+3
source

This is the Windows registry . An example of reading and writing from NSIS is the first result here.

0
source

All Articles