Reputation: 31560
I'm not that familiar with inno (or pascal scripting), but I am assuming what I want to do is pretty simple.
I want to edit a particular text file at the very beginning of the install. Is there a place in the [Code] section were I could just plug this in so that it does this first and then just continues as usual? I'm not really asking for a code example because I think I could figure that out, but I just wanted to know where to put the code.
Upvotes: 1
Views: 2352
Reputation: 24273
The install is done between the CurStepChanged(ssInstall)
and CurStepChanged(ssPostInstall)
event function calls. ssInstall is the correct point to run code for the beginning of the install.
Upvotes: 2