I am currently working with Advanced Installer 11.3 and am trying to create an installer which can be invoked via command line. (Trying to set installer properties via passed parameter values)
The installer is to create an instance of a windows service with a specified service name and display name, this installer would be invoked as many times as needed with different parameter values to create separate instances of the project for each install. Hopefully something like the line below:
Code: Select all
MyInstaller.exe InstanceName=MYSERVICE_INSTANCE_1 ServiceName=MyService1 DisplayName=MYSERVICE_1 ServiceAddress=192.168.1.254 ServicePort=8085I would also like to create an XML fileand manipulate some element text for ServiceAddress and ServicePort. (All works fine now for my Full-UI project, just need a way of setting these via cmdline)
I had attempted to do it via the .NET Installer Class action specifying the config file which I would modify during install but It appears I cannot select a file which is modified at install time.
If I could get some clarification on how I could achieve this that would be much appreciated.
Kyle
FOLLOW US
Get the latest news in Application Packaging