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
jayesh pagarejayesh pagare 

what will happen with the installed manage packages if we downgrade our SF unlimited edition to enterprise edition? Should we need to reinstall?

NagendraNagendra (Salesforce Developers) 
Hi Jayesh,

When subscribing to Salesforce.com, Environment licenses (i.e. Editions) can change, but they can only go up in Edition, not down. So for example in the case of Sales Cloud  you can start with Group Edition, upgrade to Professional Edition, upgrade to Enterprise Edition and finally upgrade to Performance Edition. You cannot go the opposite way. So once you reach Enterprise Edition, you can only upgrade to Performance Edition and not downgrade to Professional or Group Edition.

If at all you want to downgrade the workaround is to export all data in CSV files, subscribe to the new edition of Salesforce.com, import the data from CSV files and cancel current edition license. Depending on the complexity of the application and the amount of data – this can take substantial time and effort.

Coming to your query You need to first understand the difference and use case of packaging code.

Unmanaged packages:

Unmanaged packages are typically used to distribute open-source projects or application templates to provide developers with the basic building blocks for an application. Unmanaged packages should not be used to migrate components from a sandbox to production organization. Instead, use Change Sets.

Managed packages:

Managed Packages are typically used by Salesforce partners to distribute and sell applications to customers. These packages must be created from a Developer Edition organization. Once Managed package is created it goes through Salesforce security review process and after that we can list that on App exchange.

So if you want to move code from one org to another org. You should use unmanaged package or eclipse or ant migration tool and if it is Sandbox to PROD deployment you can use changeset as well.

For more information on this check here: Please mark this thread as solved if the information helps.

Best Regards,
Nagendra.P