Archive: Multiple Install Types - Switch From Command Line


Multiple Install Types - Switch From Command Line
I'm writing an installer whose behavior will differ based on command line arguments upon installer execution. For example:

myinstaller /mycompany
myinstaller /theircompany

would invoke the same installer, but with different behaviors. I have a solution (sort of) that parses command line arguments and jumps through some if statements. However, I was wondering if using InstType is a 'better' way of doing this. The docs for InstType seem sparse (but I see I can turn sections on and off I think). I'm also using MUI, if that's of any help. Basically I just want one version of an installer that's the full install, and one that's silent except for a license page. Thanks.


InstType instruction adds a droplist in components page where users are able to select through different predefined installation types (e.g. Full, Typical, Custom).
I guess this is the regular way when end users must make their choice.