0

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
    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? Aug 20, 2020 at 8:21
  • C# .exe with code taken from Sitecore Courier(Install Update packages)
    – Abhay Dhar
    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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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