Month: July 2010

  • Windows Server Features or Role Services required by this product are not enabled

     

    When you install Office Web Apps on windows 7 that has Sharepoint 2010, you will see following error message

    Setup is unable to proceed due to the following error(s):
    Windows Server Features or Role Services required by this product are not enabled.
    For a complete list, refer to the link below. For the list of pre-requisites needed to install the product please refer to:
    http://go.microsoft.com/fwlink/?LinkId=106209
    Correct the issue(s) listed above and re-run setup.
    You can install all required prerequisites for this product by selecting the ‘Install software prerequisites’ option in the splash screen. See Help for more information.

    Solution

    This is because Office Web Apps can only be installed on a server operation system.  Office Web Apps can only be installed on Windows 2008 Server x64 SP2 or R2 now. Also keep in mind Office Web App can only be installed after SharePoint Foundation 2010 or SharePoint server 2010 is installed.

  • Install PowerShell From Command Line

    To install PowerShell on Windows Server 2008 R2 or Hyper-V Server 2008 R2, following features needs to be installed.

    1. NetFx2-ServerCore
    2. NetFx3-ServerCore
    3. MicrosoftWindowsPowerShell

    Because Powershell is built on DotNet framework, DotNet 2.0 and 3.5  has to be installed prior to PowerShell installation.

    To install PowerShell from command line, run following from elevated command prompt

    DISM.exe /online /enable-feature /featurename:NetFx2-ServerCore DISM.exe /online /enable-feature /featurename:NetFx3-ServerCore DISM.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell

    Or run following command if it’s an 64bit machine

    DISM.exe /online /enable-feature /featurename:NetFx2-ServerCore-WOW64 
    DISM.exe /online /enable-feature /featurename:NetFx3-ServerCore-WOW64 
    DISM.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell-WOW64 

  • Enable DotNet 3.5 from command line

    To enable DotNet 3.5 from command line, run following from elevated command prompt

    dism.exe /online /enable-feature /featurename:NetFx3