Modern UI docu or InstallOptions docu
Hi all,
In the Modern UI docu is written how you could use the InstallOptions for custom pages, but in the Examples\InstallOptions no .nsi file follow those rules for instance:
- in the Modern UI docu is written:
Use these macros to read or write INI file values:
!insertmacro MUI_INSTALLOPTIONS_READ $VAR "ioFile.ini" "Field #" "Name"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioFile.ini" "Field #" "Name" "Value"
- but in the samples from the Examples\InstallOptions
;Get Install Options dialog user input
ReadINIStr ${TEMP1} "$PLUGINSDIR\test.ini" "Field 2" "State"
The same way is described in the InstallOptions docu.
So which one should be followed? Is there any difference or both of above will always lead to the same behaviour?
Thanks,
Viv