Bundle installer - silent mode - Advanced Installer Community
kog
Posts: 10
Joined: Thu Apr 03, 2014 8:30 am

Bundle installer - silent mode

1st I would like to commend your support team in public. I wish there were more tech support services like you (responsive, helpful,..) out there.

I have a bundle installer which includes some 3rd party sw as well as our own sw packages. It works fine in UI mode but somehow I am struggling to get it working in silent mode.

The sw packages are defined as feature based prerequisites like this (example):

Requirements > Prerequisites > Packages > Feature-based
|
|- Adobe Reader
|- JRE
|- MCR
|- VS redist
|- own sw package #1
|- own sw package #2
|- own sw package #3

For each of the above mentioned sw packages I have provided the Silent parameters (under Install Command Lines) but somehow this does not work. I have defined the bundle installer to Run as Administrator. Are this parameters called upon the Main Setup File? What if there is a completely different setup file needed for silent installation of individual sw package? For example: the MCR sw package has two setup files. One is the main setup file, the other is in a subfolder relative to the main setup file. How do I go about that?

Thank you for prompt help,
Gorazd
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Bundle installer - silent mode

Hello,

Thank you for your positive words.
For each of the above mentioned sw packages I have provided the Silent parameters (under Install Command Lines) but somehow this does not work. I have defined the bundle installer to Run as Administrator. Are this parameters called upon the Main Setup File?
In order to silently install your prerequisite packages you should add accordingly the silent command line parameters in the "Install Command Lines" fields. However, please keep in mind that on below Enterprise project types only the "Full UI" install command line can be used and the prerequisite will be installed only if the main package is run with full UI. All other command line fields will be ignored and the prerequisite will not be installed if the main package is installed with silent or basic UI.
What if there is a completely different setup file needed for silent installation of individual sw package? For example: the MCR sw package has two setup files. One is the main setup file, the other is in a subfolder relative to the main setup file. How do I go about that?
I'm not sure I fully understand your scenario. If the prerequisite main setup file needs to be placed alongside a folder containing another prerequisite files, then you can add the prerequisite using the "Use files from disk" option and, then you can add the prerequisite required subfolder in the "Additional Files" section.

If the prerequisite have two different setup (non-dependent), e.g. setupUI used for UI installation and setupSilent used for silent install, then you can add both setups as feature-based prerequisites. Next you can go in "Organization" page, select your setupUI feature and add the following install-time condition (using the "Add install-time conditions" hyperlink):
  • Not installed if: UILevel = 2
Lastly, select the setupSilent feature and add the following install-time condition:
  • Not installed if: UILevel = 5
In this way the setupSilent will be installed when the main package will run silently, otherwise will be installed the setupUI. Please take a look on the "UILevel property" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”