Installation Options are not saved using Package Designer


Description

When generating packages using the Package Designer application, the Installation Options property value for package sources might be ignored when saving the package project file.

Solution 1

Manually set installation options in the saved XML project file using any text file editor.
The package project XML file is usually stored in the /Data/packages folder.
In this file, edit the following fragment as necessary:
<Options>
  <BehaviourOptions>
  <ItemMode>Undefined</ItemMode>  <-- possible values: Merge, Overwrite, Skip, Ask User
  <ItemMergeMode>Undefined</ItemMergeMode>  <-- possible values for Merge mode only: Append, Clear, Merge. Use Undefined for other modes (not merge)
  </BehaviourOptions>
</Options>

Solution 2

The fix for the Package Designer UI:
  1. Add the following string to the /sitecore/ui/usings section of the web.config:
    <using>Sitecore.Support.Shell.Applications.Install.Controls</using>
  2. Add the following string to the /sitecore/ui/references section of the web.config file:
    <reference>/bin/Sitecore.Support.341861.dll</reference>
  3. Put the Sitecore.Support.341861.dll into the /bin folder. 
  4. Put the BehaviourOptionEditor.xml file into the /sitecore/shell/Override folder.