5 Replies Latest reply on Nov 15, 2017 1:40 AM by kautuksahni

    Install a package in package manger programatically


      Hi All,


      Can anybody tell me how to install a package in crx/packmgr programatically.

      Hower i am able to create,build,upload programatically.

      I am using org.apache.jackrabbit.vault API(JcrPackageManager (Apache Jackrabbit FileVault 3.1.42 API) ) for creating, building and uploading.


      The following is the code for uploading the package,


      PackagingService.getPackageManager(session).upload(initialFile, true, true, "afro") ;





      Pavan Bukka