Custom type install for silent install - Advanced Installer Community

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!

Dashut
Posts: 142
Joined: Tue May 04, 2010 4:41 pm

Custom type install for silent install

Using AI 7.7:
Since I'm using "Features", then "typical install" will install the Features that I offered to be installed, and "complete install" will install everything (all the features).
So a custom install will give me the power to select certain features. So say I use this type of installation (custom).
Now when I upgrade (with UI), if I select the "custom install" I will see all those Features that I choose to install and those that not.
But if I try to upgrade _without_ UI, it will install the "typical install" which might turn on, and off some Features that I don't want.
I know that I can set the install level to 1 == typical or 4 == complete from the command line (as seen in one of the posts here): but I don't want either of these. I want to use "custom". I want to keep the selection I did before (first time installation), and the rest of the time when I install silently (== no UI), I want the installer to choose the Features I picked/choose when I did the first time Custom installation.

How can this be done?
Dashut.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Custom type install for silent install

Hi Dashut,

You can do the following:
- each of your features installs some registry value somewhere by which you can tell which feature has been installed.
- your upgraded package searches for these values and sets properties accordingly
- you can condition the installation of your features based on those properties.

Let me know if this works for you.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Dashut
Posts: 142
Joined: Tue May 04, 2010 4:41 pm

Re: Custom type install for silent install

You mean: for the Features And Components -> Feature properties -> Installation Behaviour -> Conditional install level ?
Meaning: to add a "Conditional install level " for the Feature?

Dashut.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Custom type install for silent install

Hello,

Indeed that's the way to condition the installation of a feature. If in doubt on how to proceed, you can search the forum as this matter has already been discussed in other threads.
Let me know if you encounter difficulties implementing the behavior.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”