Skip to content

Uninstall

Mihail Yankov edited this page Apr 7, 2018 · 1 revision

Read this page in order to complete uninstall process.

After you uninstall the package from Manage NuGet packages, you need to follow these steps:

  • 1.Ensure in bin/Debug, bin/Release, bin/ (wherever your project compiles) directories the Sitefinity.LibraryItemsDownloader.dll file is removed.
    Proceed with one of the 2.a, 2.b, 2.c, 2.d - follow only one of them.

  • 2.a From backend Settings > Advanced > Libraries > Controls > (ImagesBackend/DocumentsBackend/VideosBackend) > Views > (Images/Documents/Videos)BackendList >

    • Navigate Toolbar > Sections > toolbar > items > MoreActionsWidget > MenuItems > and delete DownloadSelected(Images/Documents/Videos)
    • From Scripts Delete Sitefinity.LibraryItemsDownloader.... Delete it from the scripts list. You may receive Object reference not set to an instance of an object. error when click on the script, ignore it - it comes from sitefinity.
  • 2.b. From project If you doesn't have custom setting for libraries, delete these files:

    • LibrariesConfig.config
    • LibrariesConfig.contentViewControls.DocumentsBackend.views.DocumentsBackendList.config
    • LibrariesConfig.contentViewControls.ImagesBackend.views.ImagesBackendList.config
    • LibrariesConfig.contentViewControls.VideosBackend.views.VideosBackendList.config
  • 2.c. From project If you have already customized the libraries, then you should carefully delete this section from LibrariesConfig.config

    • <contentViewControls>
          <contentViewControl definitionName="ImagesBackend" config:flags="1">
              <views>
                  <config:lazy key="ImagesBackendList" configFile="LibrariesConfig.contentViewControls.ImagesBackend.views.ImagesBackendList.config" />
              </views>
          </contentViewControl>
          <contentViewControl definitionName="DocumentsBackend" config:flags="1">
              <views>
                  <config:lazy key="DocumentsBackendList" configFile="LibrariesConfig.contentViewControls.DocumentsBackend.views.DocumentsBackendList.config" />
              </views>
          </contentViewControl>
          <contentViewControl definitionName="VideosBackend" config:flags="1">
              <views>
                  <config:lazy key="VideosBackendList" configFile="LibrariesConfig.contentViewControls.VideosBackend.views.VideosBackendList.config" />
              </views>
          </contentViewControl>
      </contentViewControls>```
    • From back-end view configs (the config files with long names) delete
      • The following item from MenuItems under MoreActionsWidget
        <item commandName="DownloadSelectedDocuments" cssClass="sfDownloadSelectedDocuments sfDownloadItm" text="Download selected documents" wrapperTagId="Li" wrapperTagKey="Li" widgetType="Telerik.Sitefinity.Web.UI.Backend.Elements.Widgets.CommandWidget, Telerik.Sitefinity" name="DownloadSelectedDocuments" type:this="Telerik.Sitefinity.Web.UI.Backend.Elements.Config.CommandWidgetElement, Telerik.Sitefinity" /> 
      • Under scripts section
        <script loadMethodName="OnMasterViewLoadedCustom" scriptLocation="Sitefinity.LibraryItemsDownloader.LibraryItemsDownloadService.min.js, Sitefinity.LibraryItemsDownloader, Version=9.1.6100.0, Culture=neutral, PublicKeyToken=6644aec215c272ef" /> 
      • Do this for all back-end view config files.
  • 2.d. From Database: If you installed the wrong version (7.3.5600 for project with version 9.1.6100 or higher) you need to remove configurations manually from the database (Do a backup!!!)
    Check the table sf_xml_config_items
    The column path correspondents to the configuration filename
    The column dta is the content of the file.
    Now follow the one of the 2.b or 2.c.

Clone this wiki locally