Tuesday, April 6, 2010

SharePoint 2010 RC Unattended Installation

First of all you have to extract the installation file. In this case i used the following script to install 14.0.4730.1010_OfficeServer_none_ship_x64_en-us.exe.

14.0.4730.1010_OfficeServer_none_ship_x64_en-us.exe file /extract:C:\SP2010Install

After this it is necessary to create a config.xml file describing the binary installation process

Psconfig.xml

<Configuration>
<Package Id="sts">
<Setting Id="LAUNCHEDFROMSETUPSTS" Value="Yes"/>
</Package>
<Package Id="spswfe">
<Setting Id="SETUPCALLED" Value="1"/>
</Package>
<Logging Type="verbose" Path="%temp%" Template="SharePoint Server Setup(*).log"/>
<PIDKEY Value="PRODUCT KEY" />
<Display Level="none" CompletionNotice="no" />
<Setting Id="SERVERROLE" Value="APPLICATION"/>
<Setting Id="USINGUIINSTALLMODE" Value="0"/>
<Setting Id="SETUP_REBOOT" Value="Never" />
<Setting Id="SETUPTYPE" Value="CLEAN_INSTALL"/>
</Configuration>

With this xml file and a small powershell script it is possible to complety install SharePoint 2010 without manual interaction

SP2010install.ps1:

#Execute setup.exe with a xml to install SharePoint
& 'C:\SP2010Install\setup.exe' '/config' 'C:\2010CMD\spconfig.xml' | out-null
#Include the SharePoint cmdlets
Add-PsSnapin Microsoft.SharePoint.PowerShell
#Variables
$database = "MOSS_Config_Farm"
$admindatabase = "MOSS_Content_CentralAdministration"
$sqlserver = "SA_MOSS"
$passphrase = (ConvertTo-SecureString "Passphrase111" -AsPlainText -force)
$username = "alegri\srvadmin"
$password = (ConvertTo-SecureString "password" -AsPlainText -force)
#Disable loopback check
New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword
#Create the credentials
$credentials = New-Object System.Management.Automation.PsCredential $username,$password
#Execute the config wizard
New-SPConfigurationDatabase -DatabaseName $database –AdministrationContentDatabaseName $admindatabase -DatabaseServer $sqlserver -Passphrase $passphrase -FarmCredentials $credentials
#Provision a Central Administration Site
New-SPCentralAdministration -Port 12000 -WindowsAuthProvider "NTLM"
#Install help files
Install-SPHelpCollection –All
Install-SPApplicationContent
#Secure Resources
Initialize-SPResourceSecurity
#Install all exiting features
Install-SPFeature –AllExistingFeatures
#Provision services
Install-SPService

For some help how to use pwershell please refer to

http://www.microsoft.com/downloads/details.aspx?FamilyID=045f7af5-b226-4a05-8ace-4e17cfdef856&displaylang=en

If you did no sign your powershell script you can check the execution policy with

Get-ExecutionPolicy

To run unsigned scripts activate the command

Set-ExecutionPolicy Unrestricted

With Get-Help About_signing you can get on overview of the different execution policy settings

I used SQL 2008. In the installation process i got the following error message

New-SPConfigurationDatabase : SQL server at SA_MOSS has an unsupported version

10.0.2531.0. Please refer to "http://go.microsoft.com/fwlink/?LinkId=165761" for information on the minimum required SQL Server versions and how to download them.

At line:1 char:28

+ New-SPConfigurationDatabase <<<< -DatabaseName $sp_databasename -DatabaseServer $sp_databaseserver -Passphrase $sp_passphrase -FarmCredentials $sp_credentials

+ CategoryInfo : InvalidData: (Microsoft.Share...urationDatabase: SPCmdletNewSPConfigurationDatabase) [New-SPConfigurationDatabase], SPException

+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPConfigurationDatabase

A roll-up hotfix must be installed:

http://support.microsoft.com/kb/970315/

If you want to reinstall SharePoint (Trial) and get the following error message:

"Microsoft Office Server Trial Edition may not be installed on a server with licensed Microsoft Office Server products. Remove existing Microsoft Office Server products and re-run setup".

You have to delete the following registry keys:

HKLM\Software\Microsoft\Shared Tools\Web Server Extensions\14.0

HKLM\Software\Microsoft\Office Server

Friday, April 2, 2010

SharePoint 2010 Feature List

DisplayName Id Scope
AccSrvApplication 1cc4b32c-299b-41aa-9770-67715ea05f25 Farm
AccSrvMSysAso 29ea7495-fca1-4dc6-8ac1-500c247a036e Web
AccSrvRestrictedList a4d4ee2c-a6cb-4191-ab0a-21bb5bde92fb Web
AccSrvShell bcf89eb7-bca1-4468-bdb4-ca27f61a2292 Web
AccSrvSolutionGallery 744b5fd3-3b09-4da6-9bd1-de18315b045d Site
AccSrvSolutionGalleryStapler d5ff2d2c-8571-4c3c-87bc-779111979811 Farm
AccSrvUserTemplate 1a8251a0-47ab-453d-95d4-07d7ca4f8166 Web
AccSrvUSysAppLog 28101b19-b896-44f4-9264-db028f307a62 Web
AddDashboard d250636f-0a26-4019-8425-a5232d592c09 Web
AdminReportCore b8f36433-367d-49f3-ae11-f7d76b51d251 Site
AdminReportCorePushdown 55312854-855b-4088-b09d-c5efe0fbf9d2 Farm
AssetLibrary 4bcccd62-dcaf-46dc-a7d4-e38277ef33f4 Site
BaseSite b21b090c-c796-4b0f-ac0f-7ef1659c20ae Site
BaseSiteStapling 97a2485f-ef4b-401f-9167-fa4fe177c6f6 Farm
BaseWeb 99fe402e-89a0-45aa-9163-85342e865dc8 Web
BaseWebApplication 4f56f9fa-51a0-420c-b707-63ecbb494db1 WebApp
BDR 3f59333f-4ce1-406d-8a97-9ecb0ff0337f Web
BICenterDashboardsLib f979e4dc-1852-4f26-ab92-d1b2a190afc9 Web
BICenterDataconnectionsLib 26676156-91a0-49f7-87aa-37b1d5f0c4d0 Web
BICenterSampleData 3992d4ab-fa9e-4791-9158-5ee32178e88a Web
BizAppsCTypes 43f41342-1a37-4372-8ca0-b44d881e4434 Site
BizAppsFields 5a979115-6b71-45a5-9881-cdc872051a69 Site
BizAppsListTemplates 065c78be-5231-477e-a972-14177cc5b3c7 Web
BizAppsSiteTemplates 4248e21f-a816-4c88-8cab-79d82201da7b Site
BulkWorkflow aeef8777-70c0-429f-8a13-f12db47a6d47 Farm
BulkWorkflowTimerJob d992aeca-3802-483a-ab40-6c9376300b61 WebApp
ContentTypeHub 9a447926-5937-44cb-857a-d3829301c73b Site
ContentTypePublish dd903064-c9d8-4718-b4e7-8ab9bd039fff Web
ContentTypeSyndication 34339dc9-dec4-4256-b44a-b30ff2991a64 WebApp
DataConnectionLibrary 00bfea71-dbd7-4f72-b8cb-da7ac0440130 Web
DataConnectionLibraryStapling cdfa39c6-6413-4508-bccf-bf30368472b3 Farm
DeploymentLinks ca2543e6-29a1-40c1-bba9-bd8510a4c17b Web
DMContentTypeSettings 1ec2c859-e9cb-4d79-9b2b-ea8df09ede22 Farm
DocId b50e3104-6812-424f-a011-cc90e6327318 Site
DocumentManagement 3a4ce811-6fe0-4e97-a6ae-675470282cf2 WebApp
DocumentRouting 7ad5272a-2694-4349-953e-ea5ef290e97c Web
DocumentRoutingResources 0c8a9a47-22a9-4798-82f1-00e62a96006e Site
DocumentSet 3bae86a2-776d-499d-9db8-fa4cdc7884f8 Site
EMailRouting d44a1358-e800-47e8-8180-adf2d0f77543 Web
EnhancedHtmlEditing 81ebc0d6-8fb2-4e3f-b2f8-062640037398 Farm
EnhancedTheming 068bc832-4951-11dc-8314-0800200c9a66 Site
EnterpriseWiki 76d688ad-c16e-4cec-9b71-7b7f0d79b9cd Web
EnterpriseWikiLayouts a942a218-fa43-4d11-9d85-c01e3e3a37cb Site
ExcelServer e4e6a041-bc5b-45cb-beab-885a27079f74 Farm
ExcelServerDeactivateProgra... 7c939ea0-196e-4759-ad06-8bc2a64ed4e5 Site
ExcelServerSite 3cb475e7-4e87-45eb-a1f3-db96ad7cf313 Site
ExcelServerWebApplication e15ed6d2-4af1-4361-89d3-2acf8cd485de WebApp
ExcelServerWebPart 4c42ab64-55af-4c7c-986a-ac216a6e0c0e Site
ExcelServerWebPartStapler c6ac73de-1936-47a4-bdff-19a6fc3ba490 Farm
ExpirationWorkflow c85e5759-f323-4efb-b548-443d2216efb5 Site
FastCentralAdminHelpCollection 38969baa-3590-4635-81a4-2049d982adfa Site
FastEndUserHelpCollection 6e8f2b8d-d765-4e69-84ea-5702574c11d6 Site
FastFarmFeatureActivation d2d98dc8-c7e9-46ec-80a5-b38f039c16be Farm
FeaturePushdown 0125140f-7123-4657-b70a-db9aa1f209e5 Farm
GlobalWebParts 319d8f70-eb3a-4b44-9c79-2087a87799d6 Farm
Hold 9e56487c-795a-4077-9425-54a1ecb84282 Web
InPlaceRecords da2e115b-07e4-49d9-bb2c-35e93bb9fca9 Site
ipfsAdminLinks a10b6aa4-135d-4598-88d1-8d4ff5691d13 Farm
IPFSAdminWeb 750b8e49-5213-4816-9fa2-082900c0201a Web
IPFSSiteFeatures c88c4ff1-dbf5-4649-ad9f-c6c426ebcbf5 Site
IPFSTenantFormsConfig 15845762-4ec4-4606-8993-1c0512a98680 Web
IPFSTenantWebProxyConfig 3c577815-7658-4d4f-a347-cfbb370700a7 Web
IPFSWebFeatures a0e5a010-1329-49d4-9e09-f280cdbed37d Web
LegacyDocumentLibrary 6e53dd27-98f2-4ae5-85a0-e9a8ef4aa6df Web
LegacyWorkflows c845ed8d-9ce5-448c-bd3e-ea71350ce45b Site
ListTargeting fc33ba3b-7919-4d7e-b791-c6aeccf8f851 Farm
LocalSiteDirectoryControl 14aafd3a-fcb9-4bb7-9ad7-d8e36b663bbd Site
LocalSiteDirectoryMetaData 8f15b342-80b1-4508-8641-0751e2b55ca6 Web
LocalSiteDirectorySettingsLink e978b1a6-8de7-49d0-8600-09a250354e14 Site
LocationBasedPolicy 063c26fa-3ccc-4180-8a84-b6f98e991df3 Site
ManageUserProfileServiceApp... c59dbaa9-fa01-495d-aaa3-3c02cc2ee8ff Farm
MasterSiteDirectoryControl 8a663fe0-9d9c-45c7-8297-66365ad50427 Farm
MetaDataNav 7201d6a4-a5d3-49a1-8c19-19c4bac6e668 Web
MobileEwaFarm 5a020a4f-c449-4a65-b07d-f2cc2d8778dd Farm
MobileExcelWebAccess e995e28b-9ba8-4668-9933-cf5c146d7a9f Site
MossChart 875d1044-c0cf-4244-8865-d2a0039c2a49 Site
MySite 69cc9662-d373-47fc-9449-f18d11ff732c Farm
MySiteBlog 863da2ac-3873-4930-8498-752886210911 Site
MySiteCleanup 0faf7d1b-95b1-4053-b4e2-19fd5c9bbc88 Farm
MySiteHost 49571cd1-b6a1-43a3-bf75-955acc79c8d8 Site
MySiteHostPictureLibrary 5ede0a86-c772-4f1d-a120-72e734b3400c Web
MySiteLayouts 6928b0e5-5707-46a1-ae16-d6e52522d52b Site
MySiteNavigation 6adff05c-d581-4c05-a6b9-920f15ec6fd9 Web
MySitePersonalSite f661430e-c155-438e-a7c6-c68648f1b119 Site
MySiteQuickLaunch 034947cc-c424-47cd-a8d1-6014f0e36925 Web
Navigation 89e0306d-453b-4ec5-8d68-42067cdbf98e Site
NavigationProperties 541f5f57-c847-4e16-b59a-b31e90e6f9ea Web
ObaProfilePages 683df0c0-20b7-4852-87a3-378945158fab Web
ObaProfilePagesTenantStapling 90c6c1e5-3719-4c52-9f36-34a97df596f7 Farm
ObaSimpleSolution d250636f-0a26-4019-8425-a5232d592c01 Web
ObaStaple f9cb1a2a-d285-465a-a160-7e3e95af1fdd Farm
OffWFCommon c9c9515d-e4e2-4001-9050-74f980f93160 Site
OrganizationsClaimHierarchy... 9b0293a7-8942-46b0-8b78-49d29a9edd53 Farm
OSearchBasicFeature bc29e863-ae07-4674-bd83-2c6d0aa5623f WebApp
OSearchEnhancedFeature 4750c984-7721-4feb-be61-c660c6190d43 WebApp
OSearchHealthReports e792e296-5d7f-47c7-9dfa-52eae2104c3b Site
OSearchHealthReportsPushdown 09fe98f3-3324-4747-97e5-916a28a0c6c0 Farm
OSearchPortalAdminLinks edf48246-e4ee-4638-9eed-ef3d0aee7597 Farm
OsrvLinks 068f8656-bea6-4d60-a5fa-7f077f8f5c20 Web
OssNavigation 10bdac29-a21a-47d9-9dff-90c7cae1301e Web
OSSSearchEndUserHelpFeature 03b0a3dc-93dd-4c68-943e-7ec56e65ed4d Site
OSSSearchSearchCenterUrlFea... 7acfcb9d-8e8f-4979-af7e-8aed7e95245e Web
OSSSearchSearchCenterUrlSit... 7ac8cc56-d28e-41f5-ad04-d95109eb987a Site
PageConverters 14173c38-5e2d-4887-8134-60f9df889bad WebApp
PersonalizationSite ed5e77f7-c7b1-4961-a659-0de93080fa36 Web
PortalLayouts 5f3b0127-2f1d-4cfd-8dd2-85ad1fb00bfc Site
PPSDatasourceLib 5d220570-df17-405e-b42d-994237d60ebf Web
PPSMonDatasourceCtype 05891451-f0c4-4d4e-81b1-0dabd840bad4 Site
PPSSiteCollectionMaster a1cb5b7f-e5e9-421b-915f-bf519b0760ef Site
PPSSiteMaster 0b07a7f4-8bb8-4ec0-a31b-115732b9584d Web
PPSSiteStapling 8472208f-5a01-4683-8119-3cea50bea072 Farm
PPSWebParts ee9dbf20-1758-401e-a169-7db0a6bbccb2 Site
PPSWorkspaceCtype f45834c7-54f6-48db-b7e4-a35fa470fc9b Site
PPSWorkspaceList 481333e1-a246-4d89-afab-d18c6fe344ce Web
PremiumSite 8581a8a7-cf16-4770-ac54-260265ddb0b2 Site
PremiumSiteStapling a573867a-37ca-49dc-86b0-7d033a7ed2c8 Farm
PremiumWeb 0806d127-06e6-447a-980e-2e90b03101b8 Web
PremiumWebApplication 0ea1c3b6-6ac0-44aa-9f3f-05e8dbe6d70b  
ProfileSynch af847aa9-beb6-41d4-8306-78e41af9ce25 Farm
Publishing 22a9ef51-737b-4ff2-9346-694633fe4416 Web
PublishingLayouts d3f51be2-38a8-4e44-ba84-940d35be1566 Site
PublishingPrerequisites a392da98-270b-4e85-9769-04c0fde267aa Site
PublishingResources aebc918d-b20f-4a11-a1db-9ed84d79c87e Site
PublishingSite f6924d36-2fa8-4f0b-b16d-06b7250180fa Site
PublishingStapling 001f4bd7-746d-403b-aa09-a6cc43de7942 Farm
PublishingTimerJobs 20477d83-8bdb-414e-964b-080637f7d99b WebApp
PublishingWeb 94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb Web
Ratings 915c240e-a6cc-49b8-8b2c-0bff8b553ed3 Site
RecordResources 5bccb9a4-b903-4fd1-8620-b795fa33c9ba Site
RecordsCenter e0a45587-1069-46bd-bf05-8c8db8620b08 Web
RecordsManagement 6d127338-5e7d-4391-8f62-a11e43b1d404 Farm
RedirectPageContentTypeBinding 306936fd-9806-4478-80d1-7e397bfa6474 Web
RelatedLinksScopeSettingsLink e8734bb6-be8e-48a1-b036-5a40ff0b8a81 Web
ReportCenterSampleData c5d947d6-b0a2-4e07-9929-8e54f5a9fff9 Web
Reporting 7094bd89-2cfe-490a-8c7e-fbace37b4a34 Site
ReportListTemplate 2510d73f-7109-4ccc-8a1c-314894deeb3a Web
ReviewPublishingSPD a44d2aa3-affc-4d58-8db4-f4a3af053188 Site
ReviewPublishingSPD1033 19f5f68e-1b92-4a02-b04d-61810ead0409 Site
ReviewWorkflows 02464c6a-9d07-4f30-ba04-e9035cf54392 Site
ReviewWorkflowsSPD b5934f65-a844-4e67-82e5-92f66aafe912 Site
ReviewWorkflowsSPD1033 3bc0c1e1-b7d5-4e82-afd7-9f7e59b60409 Site
SearchAdminWebParts c65861fa-b025-4634-ab26-22a23e49808f Web
SearchAndProcess 1dbf6063-d809-45ea-9203-d3ba4a64f86d WebApp
SearchExtensions 5eac763d-fbf5-4d6f-a76b-eded7dd7b0a5 Site
SearchServerWizardFeature e09cefae-2ada-4a1d-aee6-8a8398215905 Site
SearchWebParts eaf6a128-0482-4f71-9a2f-b1c650680e77 Site
SignaturesWorkflow 6c09612b-46af-4b2f-8dfc-59185c962a29 Site
SignaturesWorkflowSPD c4773de6-ba70-4583-b751-2a7b1dc67e3a Site
SignaturesWorkflowSPD1033 a42f749f-8633-48b7-9b22-403b40190409 Site
SitesList a311bf68-c990-4da3-89b3-88989a3d7721 Web
SkuUpgradeLinks 937f97e9-d7b4-473d-af17-b03951b2c66b Farm
SlideLibrary 0be49fe9-9bc9-409d-abf9-702753bd878d Web
SlideLibraryActivation 65d96c6b-649a-4169-bf1d-b96505c60375 Farm
SocialRibbonControl 756d8a58-4e24-4288-b981-65dc93f9c4e5 Farm
SpellChecking 612d671e-f53d-4701-96da-c3a4ee00fdc5 Farm
SPSDisco 713a65a1-2bc7-4e62-9446-1d0b56a8bf7f Farm
SPSearchFeature 2ac1da39-c101-475c-8601-122bc36e3d67 WebApp
SRPProfileAdmin c43a587e-195b-4d29-aba8-ebb22b48eb1a Farm
SSSvcAdmin 35f680d4-b0de-4818-8373-ee0fca092526 Web
StapledWorkflows ee21b29b-b0d0-42c6-baff-c97fd91786e6 Farm
TaxonomyFeatureStapler 415780bf-f710-4e2c-b7b0-b463c7992ef0 Farm
TaxonomyFieldAdded 73ef14b1-13a9-416b-a9b5-ececa2b0604c Site
TaxonomyTenantAdmin 7d12c4c3-2321-42e8-8fb6-5295a849ed08 Web
TaxonomyTenantAdminStapler 8fb893d6-93ee-4763-a046-54f9e640368d Farm
TaxonomyTimerJobs 48ac883d-e32e-4fd6-8499-3408add91b53 WebApp
TemplateDiscovery ff48f7e6-2fa1-428d-9a15-ab154762043d Farm
TenantAdminBDC 0a0b2e8f-e48e-4367-923b-33bb86c1b398 Web
TenantAdminBDCStapling b5d169c9-12db-4084-b68d-eef9273bd898 Farm
TenantAdminDeploymentLinks 99f380b4-e1aa-4db0-92a4-32b15e35b317 Web
TenantAdminLinks 98311581-29c5-40e8-9347-bd5732f0cb3e Web
TenantAdminSecureStore b738400a-f08a-443d-96fa-a852d0356bba Web
TenantAdminSecureStoreStapling 6361e2a8-3bc4-4ca4-abbb-3dfbb727acd7 Farm
TenantProfileAdmin 32ff5455-8967-469a-b486-f8eaf0d902f9 Web
TenantProfileAdminStapling 3d4ea296-0b35-4a08-b2bf-f0a8cabd1d7f Farm
TranslationWorkflow c6561405-ea03-40a9-a57f-f25472942a22 Site
TransMgmtFunc 82e2ea42-39e2-4b27-8631-ed54c1cfc491 Farm
TransMgmtLib 29d85c25-170c-4df9-a641-12db0b9d4130 Web
UpgradeOnlyFile 2fa4db13-4109-4a1d-b47c-c7991d4cc934 Web
UserMigrator f0deabbb-b0f6-46ba-8e16-ff3b44461aeb Farm
V2VPublishedLinks f63b7696-9afc-4e51-9dfd-3111015e9a60 Site
V2VPublishingLayouts 2fbbe552-72ac-11dc-8314-0800200c9a66 Site
ViewFormPagesLockDown 7c637b23-06c4-472d-9a9a-7c175762c5c4 Site
VisioProcessRepository 7e0aabee-b92b-4368-8742-21ab16453d01 Web
VisioProcessRepositoryFeatu... 7e0aabee-b92b-4368-8742-21ab16453d00 Farm
VisioProcessRepositoryUs 7e0aabee-b92b-4368-8742-21ab16453d02 Web
VisioServer 5fe8e789-d1b7-44b3-b634-419c531cfdca Farm
VisioWebAccess 9fec40ea-a949-407d-be09-6cba26470a0c Site
WACentralAdminCustomReports 3ce24023-95a1-4778-85b0-8e9b2bcacc80 Site
WACentralAdminReports 786eaa5b-85d7-4ea0-8998-0b62c8befd94 Site
WACustomReports af6d9aec-7c38-4dda-997f-cc1ddbb87c92 Site
WAEnterpriseFeatureStapler c0c2628d-0f59-4873-9cba-100dad2313cb Farm
WAFeatureStapler 9d46d0d4-af7b-4f2e-8f84-9466ab25766c Farm
WAMaster c04234f4-13b8-4462-9108-b4f5159beae6 Site
WAReports 2acf27a5-f703-4277-9f5d-24d70110b18b Site
WAWebApp 9bf095db-11a4-4568-b92e-e23db80a8777 WebApp
WAWhatsPopularWebPart 8e947bf0-fe40-4dff-be3d-a8b88112ade6 Site
WebPartAdderGroups 2ed1c45e-a73b-4779-ae81-1524e4de467a Site
Workflows 0af5989a-3aea-4519-8ab0-85d91abe39ff Site