This is an interesting one, I would like to migrate the exact same Installed package from one Salesforce instance to another. I can't simply install this package because the original provider is defunct and installation from app exchange is not viable.

Is there a way to extract the installed package from one Salesforce instance to another using an IDE tool like Eclipse?



If you know three key pieces of information, and if the app isn't deleted, you can still reinstall it. This assumes it is a "managed package". You will need the "namespace", the "version", and the "password", if any.

First, create a folder on your desktop. Inside of this folder, create another folder called installedPackages. Note the capitalization. Inside the first folder you created, create a package.xml. Inside the second folder, create a file called namespace.installedPackage, where namespace is the package to install.

Inside of the package.xml file, place the following text:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">

Inside of the namespace.installedPackage file, place the following text:

<?xml version="1.0" encoding="UTF-8"?>
<InstalledPackage xmlns="http://soap.sforce.com/2006/04/metadata">

Where X.YZ is the version of the package to install. Omit the password line if it is not required.

Here's what your file structure should look like:

    │   package.xml

This is for the Field_Trip package that you can install from the AppExchange, but any app that you know the name, version, and optional password for you can deploy in this manner.

Once you have all these details, you can zip it up and deploy it using DX or the Workbench, or you may be able to do this from the Force.com IDE.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.