function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SoundarSoundar 

Deploy managed package from sandbox to production

Hi Friends,

Is it possible to deploy managed package from sandbox to production. Kindly give me the accurate solution .

many Thanks in advance.

Regards,
Soundar Rajan P.
Best Answer chosen by Soundar
Prashanth SamudralaPrashanth Samudrala
The straight answer is NO. You will need to re-install the said Managed Package in Production and reconfigure it. 

If you are in a habit to use API for deployment, then you can create a package manifest to "install" the package in your destination org. Something like this, 
 
<?xml version="1.0" encoding="UTF-8"?>
  <Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
      <members>***MyNamespace***</members>
      <name>InstalledPackage</name>
     </types>
  </Package>

However, If you are using cool tool like AutoRABIT (http://www.autorabit.com) to manage your deployments, you can automate the installation of your Managed Packages while deploying to Production (or any org). This could be a selective deployment or a continous Integration. 

Regards,
Prashanth
 

All Answers

Prashanth SamudralaPrashanth Samudrala
The straight answer is NO. You will need to re-install the said Managed Package in Production and reconfigure it. 

If you are in a habit to use API for deployment, then you can create a package manifest to "install" the package in your destination org. Something like this, 
 
<?xml version="1.0" encoding="UTF-8"?>
  <Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
      <members>***MyNamespace***</members>
      <name>InstalledPackage</name>
     </types>
  </Package>

However, If you are using cool tool like AutoRABIT (http://www.autorabit.com) to manage your deployments, you can automate the installation of your Managed Packages while deploying to Production (or any org). This could be a selective deployment or a continous Integration. 

Regards,
Prashanth
 
This was selected as the best answer
SoundarSoundar
Hi Prashanth,

Thank You For Your Quick response and cleared about this Doubt.

Regads,
SOUNDAR RAJAN P
Tzemach Aronov 3Tzemach Aronov 3
@Prashanth Samudrala
Just to confirm, this is if the package belongs to you and you have all the data. This would not work if you try retrieving the managed package from one org and then deploying it to another.
Correct me if I'm wrong.
fran med monfran med mon
@Tzemach Aronov 3
I just try to retrieve Manage Packages from production to the scratch org and the installation was successfully.

Regards,
Fran Medina.