This is third in the series – MOSS Scripted Installation.

Before we proceed with the installation, let’s understand the core file to configure for unattended (scripted) installations.

That file is the config.xml .

This installation is in single server mode (basic).

Understanding config.xml

SharePoint Server 2007 includes different Config.xml files for different types of configurations. Each Config.xml file is located in the following folder of the SharePoint Server 2007 installation source, depending on the edition of SharePoint Server 2007 that you have:

•x86\Files\SetupFolderName

•x64\Files\SetupFolderName

The biggest difference between Windows SharePoint Services and Microsoft Office SharePoint Server 2007 config.xml is the package id.

Have a peek inside WSS config.xml and then in MOSS config.xml.

You will notice this difference as under

WSS SetupSilent config.xml

<Configuration>
<Package Id=”sts”>
<Setting Id=”REBOOT” Value=”ReallySuppress”/>
<Setting Id=”SETUPTYPE” Value=”CLEAN_INSTALL”/>
</Package>

<Logging Type=”verbose” Path=”%temp%” Template=”Microsoft Windows SharePoint Services 3.0 Setup(*).log”/>
<Setting Id=”SERVERROLE” Value=”SINGLESERVER”/>
<Setting Id=”UsingUIInstallMode” Value=”0″/>
<Display Level=”none” CompletionNotice=”no” />
</Configuration>

MOSS SetupSilent config.xml

<Configuration>
<Package Id=”sts”>
<Setting Id=”LAUNCHEDFROMSETUPSTS” Value=”Yes”/>
<Setting Id=”REBOOT” Value=”ReallySuppress”/>
<Setting Id=”SETUPTYPE” Value=”CLEAN_INSTALL”/>
</Package>

<Package Id=”spswfe”>
<Setting Id=”SETUPCALLED” Value=”1″/>
<Setting Id=”REBOOT” Value=”ReallySuppress”/>
<Setting Id=”OFFICESERVERPREMIUM” Value=”1″ />
</Package>

<Logging Type=”verbose” Path=”%temp%” Template=”Office Server Setup(*).log”/>
<Display Level=”none” CompletionNotice=”no” />
<PIDKEY Value=”Enter PID Key Here” />
<Setting Id=”SERVERROLE” Value=”SINGLESERVER”/>
<Setting Id=”USINGUIINSTALLMODE” Value=”0″/>
</Configuration>

Since we have not made any changes to the MOSS config.xml, it will also run the SharePoint Configuration Wizard, since

<Display Level=”none” CompletionNotice=”no” />

If you change this to basic, SharePoint Configuration Wizard won’t run.

If you change this to full, it’s as good as you installing this manually :-), so keep it to none.

Next in line – script to install MOSS with SQL Express.

%d bloggers like this: