1

Is there a way to install the .update package automatically via command line / powershell?

The way that I know is to install it via /sitecore/admin/UpdateInstallationWizard.aspx. I'm looking for a way so that no manual interaction is necessary in order to update our servers since we have quite a few of them.

Note: Due to security concerns we are not allowed to use SPE.

1
  • You can use C# code as well, the code can be gleaned from Sitecore.Update.dll and also updateinstallationwizard.aspx. For command line I believe there was a option available with Sitecore Courier
    – Abhay Dhar
    Commented Aug 18, 2020 at 16:37

2 Answers 2

1

Using the below PowerShell command you can install update packages, Sitecore packages, courier package:

Install-UpdatePackage [-Path] [[-RollbackPackagePath] ] -UpgradeAction <Preview | Upgrade> -InstallMode <Install | Update>

Reference: https://doc.sitecorepowershell.com/appendix/packaging/install-updatepackage

2
  • Thanks for your answer. Unfortunately we are not allowed to use the SPE due to security concerns of the customer. Is there a way without SPE?
    – user1129
    Commented Aug 20, 2020 at 8:21
  • C# .exe with code taken from Sitecore Courier(Install Update packages)
    – Abhay Dhar
    Commented Aug 20, 2020 at 9:01
1

TDS Package deployer auto deploys update packages.

https://github.com/HedgehogDevelopment/SitecorePackageDeployer/releases

https://www.teamdevelopmentforsitecore.com/Blog/sitecore-package-deployer

1
  • Not supported for Sitecore 10.
    – Justin
    Commented Feb 8, 2023 at 15:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.