17 votes
Accepted

How to convert a Sitecore package into a WDP package?

Prerequisites Download the AzureToolkit from Sitecore. Powershell 4.x or newer ($PSVersionTable.PSVersion to check your current version) Download and install MSDeploy. SQL Server (The express version ...
  • 2,261
16 votes
Accepted

What are the differences between update and zip packages

Internal File Structure A big difference is the internal structure of the .update package file. If you open up an update package file you will see the following folder structure: A standard .zip ...
  • 19.3k
14 votes
Accepted

Importing packages from Sitecore through Code

Here is a nice blog post from Akshay Sura describing how to export and import packages: http://www.webdatasource.com/2011/08/exporting-and-importing-packages-from-sitecore-through-code-using-sitecore-...
12 votes

Publishing without SQL

Ok. Well. Would definitely be possible to set something up with Unicorn for this - albeit it a highly unusual configuration. Steps I would take would look something like this: Set up Unicorn on the ...
  • 24.7k
12 votes

How to take the only latest version of items as package

Yes you can but not with 1 click. It will require some manual work but if your tree is not too big then it would be fine. Open the Package Designer. Add the items you want (Add Items statically) ...
11 votes
Accepted

Package Designer shows blank modal window when clicking "Generate ZIP"

When you get seemingly odd behavior like this, it's always a good idea to check the Network tab in Chrome Dev Tools (or Firebug in Firefox or whatever it's called in IE/Edge). When you click the "...
  • 2,986
10 votes
Accepted

Sitecore Rocks Package Installation Error - "Could not find configuration node: databases/database[@id='live']"

As Geoff already pointed out; the package seems to contain content for a database called "live". You can see (and remove, if you want) this by opening the package file. I'm using WinRAR for this ...
  • 24.7k
10 votes

Update web.config configuration in a Sitecore module

If you are making Web.config changes (which would be required for adding an HTTP handler), I would say that this is not something that should be just "installed" on your servers. You want to maintain ...
10 votes

What is the most efficient & fastest way to speed up the installation of packages with thousands of items?

To pull content from a PROD instance back to a QA instance I would highly recommend using Sitecore Sidekick - Content Migrator This tool uses Rainbow Serialization under the hood to quickly migrate ...
  • 19.3k
10 votes
Accepted

Config patch/hack to temporarily disable index update

You could create a patch file that sets all the indexes strategies to manual, that would effectively disable any automated updates that might happen as a result of installing a package or other ...
  • 19.3k
9 votes

What is difference between Adding Item statically and Dynamically while creating sitecore package?

Based on the Sitecore documentation: You should use static sources when you want to include all the items or files that are stored under a specific node or folder in the content tree or if you ...
8 votes

Importing packages from Sitecore through Code

Your question did not specify which language the code needed to be written in, so here is an example in PowerShell. PS master:\> Install-Package -Path YourPackageName.zip -InstallMode Merge -...
  • 17.2k
8 votes
Accepted

How to install multiple Sitecore packages at once?

You could use Powershell (Sitecore Powershell Extensions). https://doc.sitecorepowershell.com/appendix/packaging/install-package Install-Package [[-Path] ] [-InstallMode ] [-MergeMode ] [-...
  • 19.5k
7 votes

What is difference between Adding Item statically and Dynamically while creating sitecore package?

Adding to what Tamás answered Static items: is a flat list of items that you want to add to a package. This is useful if you want to move items x, y and z from environment A to B. Dynamic items: you ...
  • 5,648
6 votes

What is the most efficient & fastest way to speed up the installation of packages with thousands of items?

Make a copy of databases you need to port items from and restore them on your QA instance. You will lose time only for transferring the database from one server to another. I did it many times and ...
6 votes
Accepted

How to increase request timeout for rocks connection?

You can find the connection xml under C:\Users\Administrator\AppData\Local\Sitecore\Sitecore.Rocks.VisualStudio\Connections Open the xml file and edit the timeout attributes as needed. <binding ...
  • 794
6 votes
Accepted

Update web.config configuration in a Sitecore module

Ignoring my NuGet approach above; the only obvious option you have available is a lesser-known feature in Sitecore packages called "poststep". Essentially you can instruct Sitecore to execute some ...
  • 24.7k
6 votes

Error installing a content package on a fresh install of Sitecore 8.1 Update 3

This is due to the Sitecore.Analytics.config. In the config file, you have the handler <handler type="Sitecore.Analytics.Data.Items.ItemEventHandler, Sitecore.Analytics" method="OnItemSaved"/> ...
5 votes
Accepted

GetBrowserClassString() Throws Error when installing a package in SXP8.1U3

Given this works for you on other environments with (presumably) the same code, the problem is most likely somewhere in the databases or files not in version control (including tokenized files). ...
  • 2,986
5 votes

Publishing without SQL

You might take a look at the new Vault product from XCentium. They do some really interesting things with moving content between environments using Git. Not sure whether your network restrictions ...
5 votes
Accepted

How to install zip file package from Installation Wizard using Powershell DSC?

You can install packages via DSC - but I don't think automating the UI is the right way to go about it. When I worked through this issue I dealt with it by creating an endpoint that DSC can push the ...
  • 837
5 votes
Accepted

Role will not be installed as it already exists

If you added/changed/removed item access for a role, you don't need to package that role and install it in the other environment. Role is not changed. The only thing you have to do is to add the item ...
5 votes
Accepted

Delete corrupted items after import

As @Mark Cassidy pointed out in his comment. The best remedy in this situation is DbBrowser. Log in to your authoring instance as an admin. Navigate to /sitecore/admin/dbbrowser.aspx From there, ...
  • 4,781
5 votes

How do I include Sitecore Support packages in my deployment pipeline?

Is this the recommended way to include Support Packages and have them available for an easy deploy? The answer to your question will depend on your development environment and team setting. Below ...
  • 327
5 votes
Accepted

Error while creating a WDP package using AzureToolkit

So yeah, my DacFX was installed properly, but... The only thing that I missed is that SQL Server itself is a prerequisite as well. Since I'm working in a VM which doesn't host any Sitecore instance (...
  • 2,261
4 votes
Accepted

Detecting when an item being saved is during package installation

If you only want to run your custom logic when the user saves an item from within the Sitecore client, you could use a saveUI pipeline processor instead. This would eliminate the need to check for ...
  • 3,273
4 votes

Detecting when an item being saved is during package installation

You can achieve this with Sitecore.Context.Job.Name During installation it will return: "Install" During normal item saving action Sitecore.Context.Jobproperty will be null
4 votes

Publishing without SQL

Creating a secure VPN to the CD environment, possibly temporarily for the publish operation would seem like a straightforward way of fulfilling the brief without engineering something new. Obviously ...
4 votes
Accepted

Sitecore Package Created on One Version and Imported to a Different Version

If you are talking about following templates (not any custom that I am not aware of): Dictionary folder: {267D9AC7-5D85-4E9D-AF89-99AB296CC218} Dictionary entry: {6D1CD897-1936-4A3A-A511-...
4 votes
Accepted

Restrict access to the Package Installation Wizard

You can adjust the security rights In the core database item: /sitecore/content/Documents and settings/All users/Start menu/Right/Development Tools/Install Package default: read right for ...
  • 1,145

Only top scored, non community-wiki answers of a minimum length are eligible