locked
How to determine the currently installed rollup number programmatically? RRS feed

  • Question

  • Is it possible to find out in code wich rollup number is currently installed in crm 2011? The Version number may be something like this: 5.0.9690.3448

    Can I get the rollup number out of this cryptic version? A simple list will not work for me because I need the solution to work with future rollups as well.

    Thanks for all hints!
    Thomas


    Thomas Flückiger Flückiger Informatik http://www.f-in.ch

    Monday, September 30, 2013 7:31 AM

Answers

All replies

  • Hi,

    Please refer the below blog written by Jamie Miley.

    http://mileyja.blogspot.in/2011/06/get-version-number-of-microsoft.html

    Thanks!

    Monday, September 30, 2013 8:05 AM
  • Thank you. That gives me a version number like 5.0.9690.3448 but not the respective rollup...

    Thomas Flückiger Flückiger Informatik http://www.f-in.ch

    Monday, September 30, 2013 8:08 AM
  • Thank you. That gives me a version number like 5.0.9690.3448 but not the respective rollup...

    Thomas Flückiger Flückiger Informatik http://www.f-in.ch


    According to page http://support.microsoft.com/kb/2555051 5.0.9690.3448 refers to Update Rollup 13 for Microsoft Dynamics CRM 2011.
    • Proposed as answer by crm-user-crm Monday, September 30, 2013 8:18 AM
    • Unproposed as answer by Flück Monday, September 30, 2013 7:55 PM
    Monday, September 30, 2013 8:17 AM
  • Hi,

    I don't think You will get the Names Like Rollup 11 Or Rollup 12 etc.

    Programmatically I don't think any other way of achieving this. If you want it dynamic you can create any entity like CRM Rollup version with two fields like Rollup Version and Rollup name. In this entity you can configure records with Version number and Rollup name.

    http://social.technet.microsoft.com/wiki/contents/articles/8062.crm-2011-build-and-version-numbers-for-update-rollups.aspx

    Once you will get the version programmatically you can retrieve the CRM Rollup version record where version =retrieved version.

    Thanks!

    • Marked as answer by Flück Monday, September 30, 2013 7:55 PM
    Monday, September 30, 2013 9:12 AM
  • I'm afraid you're right. I can only achieve this, by using a list. Thanks a lot.

    Thomas Flückiger Flückiger Informatik http://www.f-in.ch

    Monday, September 30, 2013 7:54 PM