My package is on a developer organization, it’s marked as managed, and the namespace is FBO. I’ve uploaded the package and I can install it successfully through the URL. Since I need to automate the installation, I’m using the metadata API.
When I install my managed package through the metadata API into other Salesforce instances, the deployment result is a success but it says that no components were installed, and no failures. My zip file has the folder “unpackaged” which contains the file “package.xml” and the folder “installedPackages”. That folder has “fbo.installedPackage” inside it.
Here are my file contents:
<?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>*</members> <name>InstalledPackage</name> </types> <version>52.0</version> </Package>
<?xml version="1.0" encoding="UTF-8"?> <InstalledPackage xmlns="http://soap.sforce.com/2006/04/metadata"> <versionNumber>1.0</versionNumber> <activateRSS>false</activateRSS> </InstalledPackage>
I’ve been beating my head against this and can’t find anyone else running into a similar issue. I can install other managed pacakges through my metadata client on the target org, just not the one I’m developing.
Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.