I'm building installers for a collection of addons for an existing product. I need to build a separate installer for each version of the existing product, but I want to be able to use a single "template" .aip for all of them. The only issue is that not all of the addons exist for earlier versions of the existing product, so I need to exclude them from the MSI.
To do this, I'm building the installers from the command line, using a /execute script to call DelFile on all the files for the addons that don't exist. However, this leaves behind the now-empty features that the files used to be contained in - there's nothing left in them at all.
Is there a way to get rid of the empty features? Does it even matter if they're still there? The resulting installer works with them there, I'm just not particularly happy with this solution.
The only other option that comes to mind is to pre-process the .aip for each version, but this seems silly.
FOLLOW US
Get the latest news in Application Packaging