Inno Setup Preprocessor: SetSetupSetting

Prototype

void SetSetupSetting(str 1, str 2)

Description

Modifies or generates [Setup] section directive given the key (first parameter) and its value (second parameter).

If there is no [Setup] section in current preprocessor output (it may happen that function is called before that section in a script), its header (as well as directive itself) is generated by this function.

Please use this function carefully – it should not be called when ISPP is in insert mode (i. e. after insert directive).