msi: Test and reimplement MsiQueryProductState.