|
|
|
|
#1 |
|
Junior Member
|
Mui_installoptions_write
Hi,
I've read on the forums that in a MUI, it's better to use !insertmacro MUI_INSTALLOPTIONS_WRITE instead of WriteIniStr and !insertmacro MUI_INSTALLOPTIONS_READ instead of ReadIniStr. I've try in my code but it doesn't seems to work. OK : code: NOT OK : code: I'm using NSIS 2.05 and Modern User Interface version 1.72. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
MUI_INSTALLOPTIONS_WRITE is a substitute for WriteINIStr where it simply concatinates your INI file name with the $PLUGINSDIR path infront of it.
Therefore, you need to remove $PLUGINSDIR from your MUI_INSTALLOPTIONS_WRITE calls. Or, just use WriteINIStr as you are already doing so. -Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|