Archive: Update of FileRequest/DirRequest state in io.ini


Update of FileRequest/DirRequest state in io.ini
Using Classic UI state of these controls is written into temporary io.ini only if other button/listbox/checkbox control is changed or when Next is pressed. In Modern UI it is updated instantly. What gives?
Using v2.14


Are you sure? The same DLL handles the IO pages in both.

Giving the benefit of the doubt, I did a small experiment:

Using the sample MUI InstallOptions script, I modified the file "IoB.INI" to add both a FileRequest and a DirRequest control. Next, I compiled the sample NSI file.

While I was running the install, I opened the IOB.INI in my my windows temp folder (the '$PLUGINSDIR' in other words).

The State field did NOT change until I clicked the 'next' button.

Can you provide any more details on your problem? Maybe I've missing something?


As far as I can see, the IO code only writes to the INI file when NOTIFY_OUTER_NEXT is sent (Next/Back button clicked).

-Stu