Sergio.Calderon
Posts: 1
Joined: Thu Aug 23, 2018 3:55 pm

Custom command line arguments and silent installation

I have added a new dialog, created an EDIT BOX control, changed its name to VTUL_AGENT and everything was fine. So I wanted to run the silent installation passing the content of the EDIT BOX as parameter like this:

Code: Select all

vtulAgent.msi /qb VTUL_TOKEN=ABCDEF
However, it did not work at all. It just works when I don't pass the

Code: Select all

/exenoui. 
I also tried changing to an EXE installer, but got the same result.

What can I do to run the installation silently?

Thanks a lot!
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Custom command line arguments and silent installation

Hello and welcome to our forums,

I have tested your scenario and everything worked as expected. The install was silent and the "Edit Box" was set to the value I specified in the command line. I have used a command line such as follows:

Code: Select all

msiexec /i "YourSetup.msi" /qb NAME_OF_YOUR_PROP=value
As a side note, I have noticed that you have set the name of your property to VTUL_AGENT and then you have used VTUL_TOKEN in the command line.

Let me know if this helps! If not, please give me more details about your scenario!

Regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”