My understanding is that you must set the TRANSFORMS
and MSINEWINSTANCE
values before the MSI package is launched. The MSI SDK shows it in the topic: Installing Multiple Instances with Instance Transforms. It is possible you could set MSINEWINSTANCE
via a custom action as you are but I'm pretty certain that the TRANSFORMS
property must be set before the MSI package is opened by the Windows Installer because the transform is applied as the MSI package is opened.
Basically, you need some sort of bootstrapper or documented command-line process to set these correctly. Multiple instance packages in the Windows Installer are challenging because of these types of issues.