MS-Office components fail to register during installation of eDiscovery Platform 10.x

book

Article ID: 100050943

calendar_today

Updated On:

Description

Error Message

Build Failed with return code 1:
powershell.exe.\RegisterOfficeComponents.ps1 "********" | Out-File -FilePath .\RegisterOfficeComponents.txt

Cause

This is caused by the server having a policy restricting the running of Powershell Scripts.

Resolution

Do NOT click OK at this point as that will cause the installer to roll-back to the installation, but follow the below instructions to try and run the Powershell script when the installer is at this point.

Manually run the script attached to this article then continue with the installation:
1. Download the RegisterOfficeComponentsPrizm.TXT attached to this article.
2. Place it on the server where the installation is occurring.
3. Edit RegisterOfficeComponentsPrizm.TXT and change the following:
    a. $Password = 'ReplaceWithPrizmUserPassword'
         Replace ReplaceWithPrizmUserPassword with the password for the Prizm Admin Account.
    b. $Username = 'ReplaceWithDomain\ReplaceWithPrizmUserName'
        Replace ReplaceWithDomain\ReplaceWithPrizmUserName with the DOMAIN\Prizm Admin Account
    NOTE: In both lines above, keep the single quotes in place.
4. Save RegisterOfficeComponentsPrizm.TXT
5. Rename RegisterOfficeComponentsPrizm.TXT to RegisterOfficeComponentsPrizm.PS1
6. Open Powershell as Administrator.
7. Run this command:
    SET-EXECUTIONPOLICY BYPASS
8. Navigate to the folder containing RegisterOfficeComponentsPrizm.PS1
9. Run this command:
     .\RegisterOfficeComponentsPrizm.PS1
    NOTE: This will launch a window for each Office Product.  After closing each Office Product, continue with steps below.
10. Click OK to the error message from the install.
11. Click NO to Abort the Install.
12. Allow install to finish.
NOTE: If the install was cancelled prior to running the script, then simply run the installation of eDP again.

Issue/Introduction

During upgrade to eDiscovery Platform (eDP) 10.0 or a fresh install of eDP 10.0, the installer will fail while installing PrizmDocServer andwill present a message stating the following error:

Attachments

RegisterOfficeComponentsPrizm.TXT get_app