共用方式為


Uninstall or delete a solution

 

Applies To: Dynamics CRM 2013

You delete managed and unmanaged solutions in the same way, but the resulting actions are very different. Deleting a managed solution will uninstall the managed solution.

In This Topic

Delete a solution

Access the solutions list with a URL

Delete a solution

Depending on the type of solution that you want to delete, you’ll see one of the following Confirm Deletion messages:

  • Managed solution
    “You are deleting a managed solution. The solution and all its components will be deleted. This action cannot be undone. This solution might take several minutes to uninstall. You cannot cancel the uninstallation after it starts. Do you want to continue?”

  • Unmanaged solution
    “You are deleting an unmanaged solution. The solution will be deleted but components that are contained in this solution will not be deleted. This action cannot be undone. Do you want to continue?”

To delete a solution programmatically use the IOrganizationService.Delete method. More information: Delete a solution

Uninstall a managed solution

Deleting a managed solution will uninstall the solution. All the solution components defined in it are deleted.

Important

When you uninstall a managed solution, the following data is lost: data stored in custom entities that are part of the solution and data stored in custom attributes on system entities that are part of the solution.

Delete an unmanaged solution

An unmanaged solution is a group of solution components. Deleting the solution deletes a single solution record in the database. Solution components are not affected by the solution being deleted, they remain in the system.

Access the solutions list with a URL

If you need to navigate directly to the solutions list you can use the following URL:

<organization root url>/tools/Solution/home_solution.aspx?etn=solution

See Also

Package and distribute extensions using solutions
Delete a solution
Introduction to solutions
Plan for solution development
Dependency tracking for solution components
Create a managed solution
Export an unmanaged solution
Import an unmanaged solution
Create a managed solution
Create solutions that support multiple languages
Install a managed solution