I know Installer Variables can be set programmatically.
But, I see no setCompilerVariables() method ….
I want to change which component to install based on user selection.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Compiler variables are fixed at compile-time, they cannot be changed at runtime. Variables that are “variable” in the installer are called “installer variables” in install4j. This is a different concept. For more on the different variable systems, see here.
This is unrelated to compiler variables. With the API, you make a call like
to change the selection state of an installation component.