I have been playing with simple mst transforms for the purposes of multi-instance package installation....and have successfully built an AI project that I could install manually with msiexec as a second instance. (Basically transforming the ProductCode).
I realise that AI doesn't yet support using such transforms (hint, hint) in a more elegant fashion, but I can probably live with this if I can at least make it a little simpler for the end-user.
If I build an EXE bootstrapper for the package:
(a) Can I pass through as a command-line argument to the exe, being say the instance number, and have this map to the transform name on the command line to msiexec?
(b) How can I include the transform files inside the exe? This seems to be not that different to bundling prereq software packages in the exe?
(c) Perhaps there is a way to trick AI into doing what I want using 'language selection ' as the mechanism to select a transform from the bootstrap GUI?
Also, I'm not yet sure how you apply a patch to a package that has been transformed into a second instance. Clearly when the patch is applied via msiexec the correct product code must also be specified, but would the patch itself have to be authored to understand the alternate product codes? Or is the transform somehow used on the command line when the patch is applied?
Thanks,
MT