My installer needs to set several options in an INI file. The location of this INI file is in the AppData folder on Windows but in the install folder on Mac. I know I can use rules to limit a call to SetINI to a specific platform and then set the location in each call, but that is very cumbersome. I'd need a separate call for each line I'm setting in the INI and I'd need to duplicate them all for Windows and Mac.
Is there some way to use an if statement to change the value of a parameter so that I can then use that parameter as the location of the INI? Or some other way to do this dynamically?
Please sign in to leave a comment.