Monday 22 July 2013

Working with the error : "Cannot deploy InstalledPackage in package manifest with other types"

Have you ever come across with this error "Cannot deploy InstalledPackage in package manifest with other types" while deploying a package through Eclipse?  This blog deals with showcasing a workaround to remove this error and proceed with package deployment.

After every Salesforce Release, it is recommended to upgrade the Force.com IDE which we use for development/deployment on the Eclipse.

I recently upgraded to v.28 and get an error "cannot deploy installedpackage in package manifest with other types". The resulting error message does not appear helpful as there isn't any InstalledPackage entry within my package.xml file (see below).



Workaround

Installation of a previous version(here v27.0) of the Force.com IDE plug-in.

Firstly, you must remove the current version (here v28.0).

  • Go to the Eclipse menu Help --> About Eclipse and click the Installation Details button at the bottom left of the dialog box.
  • Select the Force.com IDE and click the Uninstall button and follow the instructions.


Secondly, install previous version of Force.com IDE:

  • Go to the Eclipse menu Help --> Install New Software...
  • Enter "http://www.adnsandbox.com/tools/ide/install/" in the Work With: box and it should return Force.com IDE. Select this option.
  • Be sure to uncheck the "Show only the latest versions of available software" in the bottom section of the dialog. This should present with a full list of all versions of the API available.
  • Select the previous version (here v27.0)

If you know some other way out, please do share here. Our Salesforce developers and deployers would be benefited. 

2 comments:

  1. are marde.. photo not working fine.. tani link thik karke photo paste kara.. awesome work keep going..

    ReplyDelete
  2. Editing package.xml is another option. See here:

    http://blog.enxoo.com/en/2013/07/cannot-deploy-installedpackage-in-package-manifest-with-any-other-types-resolution/

    ReplyDelete

Thank you for visiting. Your comments are highly appreciated.