We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

StephenRootSJH
Posts: 1
Joined: Wed May 29, 2013 3:13 pm

Including command line arguments in .msi

Here's my situation. We use Credant for encryption of hard drives here at work and the normal mode of installation includes copying over the setup.exe file and a .bat file that we wrote to set the server host name along with a few other arguments.

The bat file looks like:

setup.exe /v"SERVERHOSTNAME=blahblah.com POLICYPROXYHOSTNAME=1.1.1.1 DEVICESERVERURL=https://blah.com

How would I go about adding these flags directly into the .msi package so we don't have to keep using the bat file?

Thank you!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Including command line arguments in .msi

Hi and welcome to Advanced Installer forums.

In order to achieve this you can go in the Media page and write your command line in the "MSI Command Line" text field under the "Bootstrapper Options" group. In this case, the "setup.exe" package will send this command to the MSI package at the beginning of the installation.

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”