Use default installation profile?

November 12Hits:0

Advertisement

I've written a custom installation profile. When running install.php for the first time to install it, I have to select the installation profile I want to use. I then select mine and run the install profile, no problem. However, my client wants to be able to use the profile I put together as the default installation profile and skip that first step entirely (selecting an install profile). How can this be accomplished? Simply setting it as the default selected profile is not enough.

Answers

This part of your original question isn't quite clear:

Simply setting it as the default selected profile is not enough.

However, all you have to do is to add exclusive = TRUE in the .info file of your installation profile.
This will automatically select your installation profile, and the user will proceed to the language selection screen.

Note 1: the setting above will be ignored if there are 2 or more installation profiles marked as exclusive. This might happen only if you downloaded another installation profile and are keeping it in the /profiles folder (e.g. Commerce Kickstart).

Related Articles

I've written a custom installation profile. When running install.php for the first time to install it, I have to select the installation profile I want to use. I then select mine and run the install profile, no problem. However, my client wants to be

Is there a way to remove the core installation profiles that come with drupal without the need of hacking core? i.e. is there a hook that can run to alter this list? The reason why this is required is that we are making a custom install profile for u

I want to specify my custom installation profile as default one, like acquia profile in acquia drupal. For example when installing acquia drupal, acquia profile will be selected by default thus choose profile and language will be skipped. Now I need

In a installation profile, how do I fill values for Set up database step programmatically and hide it so user doesn't need to fill the form? How to do the above action for the Select language step? --------------Solutions------------- You wanted an e

I'm creating an installation profile for my current company internal project. During the installation process, one of the custom modules crashes during init(), since it tries to use one global variable defined on settings.php (that's current default

I need to amend the default user account during deployment of Windows 7. Having read the following MS article: http://support.microsoft.com/kb/973289 I have a few questions. The article suggests that the amendments must be made under the built in loc

Creating an installation profile for a french site. I have hit a brick wall trying to have the profile install fr language translations. I have tried adding this to my profile as this comment http://drupal.org/node/1297438#comment-6308144 // Add fren

I have tried a few different approaches to load a translation file (.po) from an installation profile. The build is pretty close to being typical: a make file downloads core, custom profile and application theme/modules. Then drush --site-install --p

Well i've tried the following code to insert an attribute to the user-account link on installation profile.It works for all other menu items (Home[]), except the user-account link, probably due to the reason it is rebuilt again. <?php $path = 'user';

I am trying to generate nodes in my installation profile. The weird thing is that everything works except the body. First here is the code I use: $date = new DateTime(); $node = new stdClass(); $node->type = 'article'; $node->status = 1; $node->u

We are building a Drupal distribution / installation profile similar to CiviCRM Starter Kit. This will install Drupal 7 and CiviCRM 4.3 while installing the distribution. We want to add some CiviCRM Extensions like "Extended Reports for CiviCRM"

I am using Installation Profiles to automate the process of installing Drupal 7 websites I would like to create a user via the installation profile and assign it a username, password and email address, plus give it a role (This will be a special admi

I am currenty working on a custom installation profile that enables modules, performs some db queries and so forth. It also sets my default theme and admin_theme... Nothing too special ;-) I have 2 db_update queries as well, located in my .install fi

Another drush make / Installation Profile question, that I haven't seen addressed in any of the others. I have a file called starter.make. It downloads (from Bitbucket) a custom Installation Profile I've written. This part works fine. I've now added

I'm using the default installation of symfony2. The application is incredibly simple but this thing keeps on adding a footer to responses, it makes 0 sense to me as to why. base.html.twig: {# app/Resources/views/base.html.twig #} <!DOCTYPE html> &lt

I would like to create a network Default User account for Windows 7 only. This is on a Windows 2003 domain with servers from Windows 2000 to 2008 R2 and Windows XP on workstation side. We're about to do a full migration to Windows 7 and I'd like to s

I am having some trouble with Windows 7 64-bit and changing the default installation folder. I like to have a partition only for the OS. I think it is a good practice and that's always been recommended to me by various people. So, I normally have a C

I have a .NET web application that users will be running on their own servers. The installer I am writing will provide the user with a default installation directory. My question is what is the optimal default directory for installing a third party w

I have a running apache2 server on my computer. As I do not use it as a server, can I remove it safely (to save RAM, boot-up time, etc.) or is it still useful (like part of Ubuntu default installation)? --------------Solutions------------- Apache is