supertedusa
1st May 2003 18:28 UTC
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
1st May 2003 18:45 UTC
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.
supertedusa
1st May 2003 19:04 UTC
OK. So if I write to a file that is to be installed, when does the write actually occur?
Joost Verburg
1st May 2003 19:10 UTC
Just extract the file and write after the file has been extracted.
supertedusa
1st May 2003 19:39 UTC
Thanks for the help.