Hi!
I am trying to pre-select a check box after the OS language has been determined. Detecting the language works, but not selecting the required check box
Here is my code, which I put in the "On Preload" of the check box screen:
Any ideas why it does not work? Thank you in advance!
I am trying to pre-select a check box after the OS language has been determined. Detecting the language works, but not selecting the required check box
Here is my code, which I put in the "On Preload" of the check box screen:
Code:
-- Retrieve the system's default language ID's tLangID = System.GetDefaultLangID(); -- Check if default primary language is English (9) if tLangID.Primary == 9 then SetupData.SetPackageProperties("Package03", {Install=true}); -- otherwise default else SetupData.SetPackageProperties("Package02", {Install=true}); end
Comment