Running MSI multiple times with different MSTs' - 2nd MST not seen
I create MST's for my job, and have been for yearts, but recently ran into an issue I can't seem to understand. The MSI needs to be installed twice, one for a test instnce, and once for a Production instance. I have created transforms for both, and named then "Test" and "Prod". Whichever one i run first (say "Test" in this scenerio), it runs fine, I can see the MST is being used. When I go to run the Prod MST, it pops up the option to Repair/Remove/Modify" the Test instance. If I rename my Test MST, I get an error when running the Prod MST that the transform is not valid. I am running the install via batch file, and they are corect. When I creted the MST's, I gave them both new UpgradeGUID and ProductGUID. i get the same behavior if I install Prod MST first (runs correctly), then run Test (it wants to repair etc. Prod).
I have unstalled, rebooted, checked the registry for the GUID's and removed them after an uninstall, etc. I have created brand new MST's using a new MSI, as well.
Community Chosen Answer
You can't install a msi twice on the same environment. If you install first the msi with the test mst, then you have to remove the msi and install it again with the prod mst. Is no other way to do this. Maybe only if you create two msp instead of mst.