OverviewExamples
SetupData.SetPackageProperties ( |
tProp = SetupData.GetPackageProperties("Default");
Gets the properties of package "Default" and stores them in table "tProp."
tProp = SetupData.GetPackageProperties("Default");
tProp.Install = not tProp.Install;
SetupData.SetPackageProperties("Default", tProp);
Gets the properties of package "Default" and stores them in table "tProp." The value of tProp.Install is then toggled (from true to false, or false to true), and the Package properties are set to the new value.
sOSName = System.GetOSName();
if sOSName == "Windows XP" then
SetupData.SetPackageProperties("XP_Drivers", {Install=true});
end
Sets the package "XP_Drivers" install flag to true, including this package in the default install, if the current operating system is Windows XP.
See also: Related Actions