I give the option of going back to the installation components screen, so that the user selects a different installation component if he wants to.
But, how do I update the Program Group Name.
I see a class CreateProgramGroupAction, and a method updateProgramGroupName(Context arg0) inside that. But how do i use it? I am not finding any relevant documentation on this.
Look at the "Properties" tab after selecting the "Create program group" action. There's a property "Program group name" and by default it is set to ${installer:sys.programGroup.name}
. With the following call:
context.setVariable("sys.programGroup.name", "your value");
you can override the value that is set by the "Create program group" screen.
To add to this, make sure that you don't specify any values in properties tab in "Create Programs Action", if you are dealing with "Program Group Name" programatically.