ChrisGue
Posts: 116
Joined: Tue Feb 03, 2009 7:26 pm

how to add a commad line parameter 'silent' or '/silent' for a silent installation

I used AI 19.9 corporate to create an exe with msi inside.

GitHub rejects my installation:
"During installation testing, this application failed to install without user input. Did you forget to add Silent or SilentWithProgress switches?"

(alhough the commad winget install {myproduct id} dooes pefectly install the very same installation without any user interaction required)

So, I would like to add the paramater 'silent' as requested.
Or is it /silent? I don't know.


So how do I
MyInstallation.exe /silent
work the same way as
MyInstallation.exe /qr
or
MyInstallation.exe /quiet
ChrisGue
Posts: 116
Joined: Tue Feb 03, 2009 7:26 pm

Re: how to add a commad line parameter 'silent' or '/silent' for a silent installation

ok, I can specify the silent parameter in the xaml file for winget.
Although this seems correct, it does not work.
So this is a problem with winget, wingetcreate, not with AI

You can delete this thread
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: how to add a commad line parameter 'silent' or '/silent' for a silent installation

Hello Chris,

Thank you for your followup on this!

Glad you managed to find the culprit.

Also, as a side note, the silent installation for an MSI (which Advanced Installer creates by default is /qn - this is a general switch for all MSI pacakges). For the bootstrapper EXE, the silent install commands are: /exenoui /qn

One of them is to suppress the EXE UI and the other is to suppress the MSI UI (which the bootstrapper launches eventually).

Let us know if there is anything else we can help you with and we will gladly assist.

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

Return to “Common Problems”