Reinstall GetOffice App


  1. Posts : 1,524
    Win10 Pro
       #1

    Reinstall GetOffice App


    The GetOffice app has been unsuccessfully trying to update since 3/16 so I was able to uninstall it using powershell. and now I'm trying to reinstall and register it using the PowerShell command:

    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftOfficeHub*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

    But I get an error that makes no sense to me. Can anyone tell where I've gone wrong?
    Reinstall GetOffice App-capture99.jpg
      My Computers


  2. Posts : 17,838
    Windows 10
       #2

    SoFine409 said:
    The GetOffice app has been unsuccessfully trying to update since 3/16 so I was able to uninstall it using powershell. and now I'm trying to reinstall and register it using the PowerShell command:

    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftOfficeHub*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

    But I get an error that makes no sense to me. Can anyone tell where I've gone wrong?
    Reinstall GetOffice App-capture99.jpg
    Perhaps it's in your Apps Library in the Store, you could download it there.

    Reinstall GetOffice App-000085.png
      My Computer


  3. Posts : 1,524
    Win10 Pro
    Thread Starter
       #3

    Edwin said:
    Perhaps it's in your Apps Library in the Store, you could download it there.

    Reinstall GetOffice App-000085.png
    When I went to my Apps Library, I noticed that the GetOffice apps successfully updated a few minutes ago so I assume that when I uninstalled it using PowerShell a little bit ago a fresh reinstall was triggered. I wasn't sure if that would happen or not but know I know that since its a default app it will be reinstalled nearly as soon as you uninstall it. FYI, I was trying to fix a series of 14 unsuccessful updates since 3/16 and I reasoned that an uninstall followed by a reinstall would do the trick. Looks like I succeeded with the help of MS in spite of myself!

    Thank you for the speedy help Edwin.
      My Computers


  4. Posts : 1,471
    Win10 Home x64 - 1809
       #4

    PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *MicrosoftOfficeHub*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
    I believe that command was meant to be run in a Command Prompt window.

    To run in PowerShell, its just this.
    $manifest = Get-AppxPackage *MicrosoftOfficeHub*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest
      My Computers


  5. Posts : 1,524
    Win10 Pro
    Thread Starter
       #5

    Eagle51 said:
    I believe that command was meant to be run in a Command Prompt window.

    To run in PowerShell, its just this.
    $manifest = Get-AppxPackage *MicrosoftOfficeHub*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest
    Thanks Eagle. Good to know. I got the command from one of Brinks Tuts and a thought it said to run it in powershell. Glad it sorted itself sorted out but I am curious what crapped out the GetOffice App in the first place. It get stranger all the time. God help us when the creators update comes out, holy crap. Not looking forward to that.
    Bob
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:50.
Find Us




Windows 10 Forums