Can anyone tell me what am I doing wrong here?
I have created 2 packages with "Package01" and "Package02" ids, then I insert Radio Button in Screens and put above codes "on Next " Action under Screen Properties but this is not working for me.
Code:
-- These actions are performed when the Next button is clicked. -- Tip: this is where you could add actions to validate the -- user's input before proceeding if SessionVar.Set("%RadioSelection%", "CTRL_RADIO_BUTTON_01") then SetupData.SetPackageProperties("Package01", {Install=true}); elseif SessionVar.Set("%RadioSelection%", "CTRL_RADIO_BUTTON_02") then SetupData.SetPackageProperties("Package02", {Install=true}); end -- advance to the next screen Screen.Next();
Comment