Home
%3CLINGO-SUB%20id%3D%22lingo-sub-593854%22%20slang%3D%22en-US%22%3EPhases%20of%20Exchange%202007%20setup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-593854%22%20slang%3D%22en-US%22%3E%3CP%3E%3C%2FP%3E%3CP%3EStarting%20off%20a%20series%20of%20posts%20dealing%20with%20Exchange%202007%20setup%2C%20we%20wanted%20to%20talk%20about%20setup%20phases%20and%20what%20they%20do.%3C%2FP%3E%3CP%3E%3CB%3E%3CI%3E%3C%2FI%3E%3C%2FB%3E%3C%2FP%3E%3CP%3E%3CB%3E%3CI%3ESetup%20BootStrap%20process%20%3C%2FI%3E%3C%2FB%3E%3CB%3E%3CI%3E%3C%2FI%3E%3C%2FB%3E%3C%2FP%3E%3CP%3ESetup.exe%20is%20a%20wrapper%20for%20additional%20executables%20and%20libraries.%20Setup.exe%20calls%20in%20to%20the%20boot%20strapper%20process%20which%20consists%20of%20a%20core%20set%20of%20software%20prerequisites%20including%3A%3CUL%3E%20%3CLI%3EMicrosoft%20Management%20Console%203.0%3C%2FLI%3E%20%3CLI%3EMicrosoft%20Windows%20PowerShell%3C%2FLI%3E%20%3CLI%3EMicrosoft%20.NET%20Framework%202.0%3C%2FLI%3E%3C%2FUL%3E%20%3C%2FP%3E%3CP%3EThe%20start%20page%20(also%20sometimes%20internally%20referred%20to%20as%20the%20%22Canopener%22)%2C%20presents%20links%20to%20the%20Exchange%20Server%20Deployment%20guide%20as%20well%20as%20links%20to%20the%20dependency%20applications%20needed%20to%20run%20Exchange%20Server%202007.%3C%2FP%3E%3CP%3ESetup%20will%20not%20proceed%20from%20this%20page%20until%20all%20dependency%20applications%20have%20been%20installed.%20When%20a%20component%20is%20installed%20correctly%2C%20the%20item%20will%20be%20%22grayed%22%20out%2C%20as%20shown%20below.%20Once%20all%20dependencies%20are%20installed%20the%20Exchange%20installation%20can%20proceed.%3C%2FP%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2Fthemes%2Fexchange%2Fimages%2F438226_E2007SetupPhases1.jpg%22%20original-url%3D%22%2Fthemes%2Fexchange%2Fimages%2F438226_E2007SetupPhases1.jpg%22%20%2F%3E%3C%2FP%3E%3CP%3E%3CA%3E%3C%2FA%3E%3CB%3E%3CI%3EFile%20copy%20phase%3C%2FI%3E%3C%2FB%3E%3CI%3E%3C%2FI%3E%3COL%3E%20%3CLI%3EThe%20core%20installation%20files%20are%20copied%20from%20the%20source%20media%20into%20'%25%20TEMP%20%25%5CExchangeServerSetup%5C'%20directory.%3C%2FLI%3E%20%3CLI%3EThe%20BPA%20XML%20file%20set%20is%20copied%20into%20a%20culture-specific%20subfolder%20such%20as%20'en'.%3C%2FLI%3E%3C%2FOL%3E%20%3C%2FP%3E%3CP%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20If%20Setup%20is%20running%20from%20a%20local%20source%20(i.e.%20the%20DVD%20or%20a%20local%20copy)%20then%20this%20file%20copy%20process%20is%20skipped.%20The%20only%20exception%20is%20if%20there%20are%20.msp%20or%20.exe%20files%20in%20the%20Updates%20directory%2C%20in%20which%20case%20Setup%20will%20copy%20to%20a%20Temp%20directory%20as%20described.%3C%2FP%3E%20%3CP%3E%3CA%3E%3C%2FA%3E%3CSTRONG%3E%3CI%3ESetup%20wizard%3C%2FI%3E%3CI%3E%3C%2FI%3E%3C%2FSTRONG%3E%3C%2FP%3E%20%3CP%3EAfter%20the%20file%20copy%20process%20is%20complete%20the%20setup%20GUI%20wizard%20starts%20(ExSetupUI.exe)%20as%20pictured%20below%3A%3C%2FP%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2Fthemes%2Fexchange%2Fimages%2F438227_E2007SetupPhases2.jpg%22%20original-url%3D%22%2Fthemes%2Fexchange%2Fimages%2F438227_E2007SetupPhases2.jpg%22%20%2F%3E%3C%2FP%3E%3CP%3E%3CB%3EReadiness%20check%3C%2FB%3E%3C%2FP%3E%3CP%3EUpon%20selecting%20server%20roles%2C%20setup%20will%20proceed%20to%20make%20readiness%20checks.%20These%20checks%20are%20based%20on%20the%20required%20configuration%20for%20common%20components%20and%20specific%20configurations%20for%20server%20roles.%20This%20process%20is%20handled%20by%20the%20Exchange%20Best%20Practices%20Analyzer%20engine.%3C%2FP%3E%3CP%3ESetup%20uses%20the%20task%20called%20%3CB%3Etest-setuphealth%3C%2FB%3E%20to%20begin%20the%20readiness%20checks.%20This%20cmdlet%20calls%20BPA%20into%20action.%20The%20intended%20server%20role%2C%20type%20of%20scan%20and%20installation%20phase%20is%20passed%20into%20the%20cmdlet%20as%20parameters%20as%20follows%3A%3C%2FP%3E%3CBLOCKQUOTE%3E%20%3CP%3E%3CB%3ETest-SetupHealth%20-Roles%20%3CROLE%3E%5B%2C%3CROLE%3E%5D%20-ScanType%20%3CSCAN%3E%20-Server%20%3CLOCALSERVERNAME%3E%3C%2FLOCALSERVERNAME%3E%3C%2FSCAN%3E%3C%2FROLE%3E%3C%2FROLE%3E%3C%2FB%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%20%3CP%3EFor%20example%2C%20to%20install%20the%20mailbox%20role%2C%20setup%20will%20call%3A%3C%2FP%3E%3CBLOCKQUOTE%3E%20%3CP%3E%3C%2FP%3E%3CP%3E%3CB%3ETest-SetupHealth%20-Roles%20Organization%20-ScanType%20PrecheckInstall%20-Server%20SERVERA%3C%2FB%3E%3C%2FP%3E%20%3CP%3E%3CB%3ETest-SetupHealth%20-Roles%20Mailbox%20-ScanType%20PrecheckInstall%20-Server%20SERVERA%3C%2FB%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%20%3CP%3EExchange%202007%20also%20uses%20the%20ExBPA%20engine%20to%20perform%20prerequisite%20checks%20for%20Exchange%20Setup.%20Located%20in%20the%20C%3A%5CExchangeSetupLogs%20folder%20is%20a%20subfolder%20called%20PreReqs.%20This%20folder%20contains%20the%20prerequisite%20XML%20output%20from%20each%20setup%20run.%20These%20output%20files%20are%20similar%20to%20ExBPA%20output%20XML%20files%20found%20in%20%25APPDATA%25%5CMicrosoft%5CExBPA.%3C%2FP%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2Fthemes%2Fexchange%2Fimages%2F438228_E2007SetupPhases3.jpg%22%20original-url%3D%22%2Fthemes%2Fexchange%2Fimages%2F438228_E2007SetupPhases3.jpg%22%20%2F%3E%3C%2FP%3E%3CP%3EOnce%20set%20up%20has%20passed%20the%20readiness%20check%20phase%20setup%20will%20delete%20the%20temporary%20files%20used%20for%20setup%20and%20move%20to%20the%20core%20setup%20or%20installation%20phase.%3C%2FP%3E%3CP%3EThe%20following%20diagram%20summarizes%20the%20setup%20phases%3A%3C%2FP%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2Fthemes%2Fexchange%2Fimages%2F438229_E2007SetupPhases4.jpg%22%20original-url%3D%22%2Fthemes%2Fexchange%2Fimages%2F438229_E2007SetupPhases4.jpg%22%20%2F%3E%3C%2FP%3E%3CP%3E%3CA%3E%3C%2FA%3EWe%20will%20continue%20this%20series%20with%20a%20look%20into%20different%20logs%20that%20setup%20creates%20and%20how%20to%20use%20them%20when%20troubleshooting%20problems.%3C%2FP%3E%3CP%3E-%20%3CA%20href%3D%22http%3A%2F%2Fmsexchangeteam.com%2Farchive%2F2007%2F04%2F23%2F438148.aspx%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EJon%20Bradley%3C%2FA%3E%2C%20%3CA%20href%3D%22http%3A%2F%2Fmsexchangeteam.com%2Farchive%2F2006%2F02%2F21%2F420125.aspx%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ENagesh%20Mahadev%3C%2FA%3E%2C%20also%20thanks%20to%20%3CA%20href%3D%22http%3A%2F%2Fmsexchangeteam.com%2Farchive%2F2006%2F05%2F30%2F427827.aspx%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EMalvin%20M.%20Seale%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E

Starting off a series of posts dealing with Exchange 2007 setup, we wanted to talk about setup phases and what they do.

Setup BootStrap process

Setup.exe is a wrapper for additional executables and libraries. Setup.exe calls in to the boot strapper process which consists of a core set of software prerequisites including:

  • Microsoft Management Console 3.0
  • Microsoft Windows PowerShell
  • Microsoft .NET Framework 2.0

The start page (also sometimes internally referred to as the "Canopener"), presents links to the Exchange Server Deployment guide as well as links to the dependency applications needed to run Exchange Server 2007.

Setup will not proceed from this page until all dependency applications have been installed. When a component is installed correctly, the item will be "grayed" out, as shown below. Once all dependencies are installed the Exchange installation can proceed.

File copy phase

  1. The core installation files are copied from the source media into '% TEMP %\ExchangeServerSetup\' directory.
  2. The BPA XML file set is copied into a culture-specific subfolder such as 'en'.

Note: If Setup is running from a local source (i.e. the DVD or a local copy) then this file copy process is skipped. The only exception is if there are .msp or .exe files in the Updates directory, in which case Setup will copy to a Temp directory as described.

Setup wizard

After the file copy process is complete the setup GUI wizard starts (ExSetupUI.exe) as pictured below:

Readiness check

Upon selecting server roles, setup will proceed to make readiness checks. These checks are based on the required configuration for common components and specific configurations for server roles. This process is handled by the Exchange Best Practices Analyzer engine.

Setup uses the task called test-setuphealth to begin the readiness checks. This cmdlet calls BPA into action. The intended server role, type of scan and installation phase is passed into the cmdlet as parameters as follows:

Test-SetupHealth -Roles <role>[,<role>] -ScanType <scan> -Server <localservername>

For example, to install the mailbox role, setup will call:

Test-SetupHealth -Roles Organization -ScanType PrecheckInstall -Server SERVERA

Test-SetupHealth -Roles Mailbox -ScanType PrecheckInstall -Server SERVERA

Exchange 2007 also uses the ExBPA engine to perform prerequisite checks for Exchange Setup. Located in the C:\ExchangeSetupLogs folder is a subfolder called PreReqs. This folder contains the prerequisite XML output from each setup run. These output files are similar to ExBPA output XML files found in %APPDATA%\Microsoft\ExBPA.

Once set up has passed the readiness check phase setup will delete the temporary files used for setup and move to the core setup or installation phase.

The following diagram summarizes the setup phases:

We will continue this series with a look into different logs that setup creates and how to use them when troubleshooting problems.

- Jon Bradley, Nagesh Mahadev, also thanks to Malvin M. Seale

7 Comments
Not applicable
I have to say that the Exchange team really seems to have some of the best focus on technology accessibility.  Excellent technical converage on the blog, kept up to date with multiple team participants, exchange tips in the powershell, very useful helps for every exchange command in the EMS.

This is the gold standard that the rest of the product teams need to be paying attention to for Longhorn, ISA, etc.
Not applicable
what exactly is happening during the "Organization Preparation" part of setup?  I pass all the readiness check just fine, but once it starts org prep i get "active directory operation failed on dc1.domain.local.  The object 'CN=Public Folders,CN=All Address Lists,CN=Address Lists Container,CN=DOMAIN,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local" already exists.

The object exists."

Why does setup attempt to do org prep again even though I already have a functioning exchange 2007 server?
Not applicable
Pesos, I am suspecting the purported search for the public folder was changed from the default.

Go to CN= Configuration | CN=Microsoft Exchange | CN= Your Org | CN= Address Lists Container | CN = All Address Lists. On the right you should see CN=Public Folders.

Take a look at the purported search property on the public folders address list. It should look like (& (mailnickname=*) (| (objectCategory=publicFolder) )). If its anything different you might run into this error.
Not applicable
pesos,

In addition to what Nagesh said - here is what happens during the stage of preparation of your AD, just as a reference:

http://technet.microsoft.com/en-us/library/bb125224.aspx
Not applicable
I am having a closely related issue...

Active Directory operation failed on dc1.mycorp.com. The object
'CN=Default Global Address List,CN=All Global Address Lists,CN=Address Lists Co
ntainer,CN=domain,CN=Microsoft Exchange,CN=Services,CN=Configurati
on,DC=healthforcepartners,DC=com' already exists.
Not applicable
I was trying to add the ClientAccess role to Exchange 2007. However, got the following error. Anyone knows how to change the mode of IIS from 32-bit to 64 bit?

Thanks


D:Exchange2007>Setup.com /role:ClientAccess /Mode:install

Welcome to Microsoft Exchange Server 2007 Unattended Setup

Preparing Exchange Setup

The following server roles will be installed
   Client Access Role

Performing Microsoft Exchange Server Prerequisite Check

   Client Access Role Checks        ......................... FAILED
    The Microsoft Internet Information Service is in 32-bit mode and this is a
64-bit computer. The mode must be changed before Setup can continue.


The Exchange Server setup operation did not complete. Visit http://support.micro
soft.com and enter the Error ID to find more information.

Exchange Server setup encountered an error.

D:Exchange2007>
Not applicable
I am having athis problem
The Exchange organization name is invalid. Message: '{335A1087-5131-4D45-BE3E-3C6C7F76F5EC} is not a valid value for Organization Name. The value must not contain any of '~', '`', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '_', '+', '=', '{', '}', '[', ']', '|', '', ':', ';', '"', ''', '<', '>', ',', '.', '?', '/'.'
How do I correct this ?