Skip to content
⌘ NSIS Forum Archive

Writing to installed INI

5 posts

supertedusa#

Writing to installed INI

I want to evaluate the result of a user-selected option, and write to an INI file my program will use based on the user's selection.

The INI file is one of the files to be installed with the program during setup. Do I have to include this INI file before using ReserveFile, modify it, then move it to the target directory?

When do the program directories get created?
Joost Verburg#
ReserveFile only changes the position of a file in the datablock.

The only difference it makes is that the startup of your installer will be faster if you put temporary installer files in the beginning, because of the way the compression works.

You don't need to use ReserveFile for normal files you install.