Silent Installation of Prerequisites Without Displaying the Prerequisite Wizard Dialogs - Advanced Installer Community
tscheuerman
Posts: 43
Joined: Thu Feb 11, 2016 11:39 pm

Silent Installation of Prerequisites Without Displaying the Prerequisite Wizard Dialogs

I have an Advanced Installer project that contains the following 3 Pre-Install prerequisites:

- .Net Framework 4.5
- Adobe Self Extractor
- SAP Crystal Reports Runtime Engine for .NET Framework

I would like to install each of the above prerequisites SILENTLY. Here are the "Install Command Line" settings for each prerequisite:

- .Net Framework 4.5
Full UI: /q /norestart
Basic UI: /q /norestart
Silent: /q /norestart

- Adobe Self Extractor
Full UI: /sAll
Basic UI: /sAll
Silent: /sAll

- SAP Crystal Reports Runtime Engine for .NET Framework
Full UI: /qn
Basic UI: /qn
Silent: /qn

When I run the Advanced Installer project (and some of the prerequisites have not been met), even though I have specified I want the the prerequisites installed SILENTLY, the Prerequisites Wizard Dialog(s) displays. If I continue, the prerequisites do get installed silently. Is there a way to avoid displaying the Prerequisites Wizard dialogs given the fact the prerequisites will be installed silently? Basically, I want to install all prerequisites SILENTLY with no notification given to the user that the prerequisites are being installed and then continue with the installation of my product.

Thanks in advance!

Todd
tscheuerman
Posts: 43
Joined: Thu Feb 11, 2016 11:39 pm

Re: Silent Installation of Prerequisites Without Displaying the Prerequisite Wizard Dialogs

Me again,

After playing around with Advanced Installer I think my interpretation of "Silent" installation of prerequisites may not be correct. I want to be able to run the installer where the prerequisite are installed silently (I do not want the user to know that their system is having the prerequisites installed) but do want them to see the "Installation" dialogs.

At this point, I have not figured out how to completely hide all the "Prerequisite" dialogs from showing when all the "prerequisites" are to be installed silently. I can prevent the "Welcome" Prerequisite Wizard dialog from showing (i.e. Boostrapper UI tab, Optional Dialogs, Display Information dialog checkbox). For my purposes, I don't want any of the "Prerequisite" dialogs to display.

Please help clarify what I can do to not display the Prerequisite dialogs to give the appearance that the prerequisites are being silently installed.

Thanks,

Todd
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Silent Installation of Prerequisites Without Displaying the Prerequisite Wizard Dialogs

Hi Todd,

Please note that the Pre-Install prerequisites are handled by an .EXE bootstrapper. You can set the UI level of the bootstrapper in the Bootstrapper UI page.

Through the Install Command Lines section from the Prerequisite Setup Tab you can add optional command lines for launching the prerequisite under different UI environments.

Each command is used by your prerequisite based on the UI level of the main package, i.e. if the main package runs with full UI the command from the "Full UI" field will be used to call the prerequisite, if the main package runs with basic UI them the command from the "Basic UI" field will be used to call the prerequisite, the same for the rest.

This way you can have different command lines for each UI level:
  • Full UI - command line parameters used for an installation with full user interface
    Basic UI - command line parameters used for an installation which shows only a progress bar
    Silent (no UI) - command line parameters for an installation with no user interface
Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”