Hello and welcome to Advanced Installer forums,
Thank you for your interest in Advanced Installer.
I would like to control via a command line switch, which mst file is used for my Pre-install.
If you have a MSI pre-install prerequisite, then you can proceed like this:
- From "Prerequisites" page add the related prerequisite package twice .
- Select the first prerequisite item and from
"Setup Files" tab -> "Additional Files" group add your first .MST file using [Add Files...] button.
- In the "Install Command Lines" group set the switch command line.
- From
"Install Conditions" tab enable "Install prerequisite based on conditions" option and add desired install condition.
- Select the second prerequisite item and from "Setup Files" tab -> "Additional Files" group add your second .MST file using [Add Files...] button.
- In the "Install Command Lines" group set the switch command line.
- From "Install Conditions" tab enable "Install prerequisite based on conditions" option and add desired install condition.
- Build and run your project.
Let us know if this helps, otherwise give us more details about your scenario.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging