Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Package deployer - Support multiple CRM versions

Posted on by

Hi,

I have a CRM solution that I currently export as a 8.0 solution. This solution is bundled in a .zip for the CRM package deployer for distribution on the MS AppSource.

I would like to add some functionalities introduced in, let's say, CRM 8.2 to my solution and enable them only when installed in CRM 8.2. In other words, when I import my solution:

  • In CRM 8.0, 8.2 functionalities are ignored.
  • In CRM 8.2, 8.2 functionalities are enabled.

Is it possible to either:

  • Bundle multiple solutions in my CRM package and only import those that are supported by the CRM instance where they are being imported?
  • Or have something in my solution definition that tells CRM to ignore the "8.2 only" nodes?
  • Anything else that would do the same thing?

I do not want to end up with 2 solutions on the app source, one for 8.0 and another for 8.2.

*This post is locked for comments

  • sbelzile Profile Picture
    sbelzile on at
    RE: Package deployer - Support multiple CRM versions

    > Why do you care about targeting 8.0 if you're submitting to AppSource?  Just make an 8.2 solution and you should be set.

    I had not seen my problem that way. Answer: It's not everybody that upgrades to new CRM versions right away. We have some On-Premises clients as well, so I don't want to only target the latest version.

    > That said, the Package Deployer howto says in your situation you need to make both solutions and then use the deployer tool to determine which to deploy: msdn.microsoft.com/.../dn688182.aspx.

    My first approach would be to have a base solution that can be imported in 8.0+ instances and another specificly for 8.2+ features.

    This link does not help me much: of course I read this. I was looking for something for some more precise help: the `configsolutionfile` does not have any options for my use case, I think I will have to code something to support this. How would you tell the package deployer to perform this task?

  • Suggested answer
    Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: Package deployer - Support multiple CRM versions

    why do you care about targeting 8.0 if you're submitting to AppSource?  Just make an 8.2 solution and you should be set.

    That said, the Package Deployer howto says in your situation you need to make both solutions and then use the deployer tool to determine which to deploy: msdn.microsoft.com/.../dn688182.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans