I need to deploy and MSI with InnoSetup but the problem I have it reeds the MSI runtime files and as we know there are two versions for Windows 9x and one for XP/2K does anyone know how to script this so it knows which OS it is so it can run the right runtime file?

Your help is really appriciated.