I would like to execute a .msi (Windows Installer) based on the installed Windows Installer Runtime.

Something like the following:

if msi_runtime = 1.2 then execute msi120.msi
elseif msi_runtime = 2.0 then execute msi200.msi
else message "you don't have a valid Windows Installer Runtime available

Is this possible with SB5? If yes, what's the overhead of this "wrapper" method?