We control certain aspects of the installer building process with variables passed through the --setvars option. To get command lines less verbose, we'd like the builder to use default values if variable values are not 'forced' by the --setvars. We tried several rules (is True, lenght, is Equal...) to detect if a variable is set or not, but without success. My question is: Is it possible to detect (in a pre-build action) if a certain variable is actually set (i.e. was passed from the --setvars) and when it's not set, to set it to some default value?
Please sign in to leave a comment.