PDA

View Full Version : selecting install packages using Buttons



MSokolosky
07-27-2005, 10:32 AM
:eek: In setup factory 7 I have an installer that I would like to install one driver or the other leaving this to the users choice. I think I can do this using the Buttons or radio buttons page and packages but how do I tell it to install certain packages when one button is pressed and not the other ones

Adam
07-28-2005, 12:46 PM
Something like this may work:


if someConditionIsMet then
SetupData.SetPackageProperties("Package 1", {Install=false});
SetupData.SetPackageProperties("Package 2", {Install=true});
else
SetupData.SetPackageProperties("Package 1", {Install=true});
SetupData.SetPackageProperties("Package 2", {Install=false});
end

Adam Kapilik