I've created a custom MSI package and I'm working with Advanced Installer to try and add some sort of command line argument, a "flag"
that can be triggered. When that flag is triggered, it will cause a chain of events to take place in the installer (delete certain files, move folders around, extract zip file... So on...)
In other words lets say I have my generated exe
from Advanced Installer named installer.exe
.
I want to, from a command line call installer.exe --triggerEvents
which will trigger a chain of custom events within the installer itself..
After a bit of research I came across this very good article that pertains to my question:
How to Pass Command Line Arguments to MSI Installer Custom Actions
But it appears that the author is strictly focusing on MSI and not Advanced Installer, I would much rather take advantage of this application I'm using.
Would it be possible to simply call the installer by passing in whatever argument i want and grab it with a custom action by using the session? Or is there a method of doing this with AI?