Results 1 to 2 of 2

Thread: How to split [ProductVersion]

  1. #1
    Join Date
    Sep 2004
    Location
    Horsham, England
    Posts
    80

    How to split [ProductVersion]

    Hi all,

    Im trying to enter just the AA.BB part of my products version number into the registry and was wondering how to go about it?

    Can I reference the Major and Minor part of [ProductVersion] or would it be a case of splitting [ProductVersion]?

    Thanks
    Steve

  2. #2
    Join Date
    Oct 2001
    Location
    Here and there
    Posts
    16,233
    After installation you can call MsiGetProductInfo with the INSTALLPROPERTY_VERSIONMINOR and INSTALLPROPERTY_VERSIONMAJOR constants; but during installation I think you'll just have to split ProductVersion.
    Robert Dickau - This and That - Flexera Software

    Want help? See Windows Installer white papers, training courses, newsletters, HelpNet, forum search, Knowledge Base, ...
    Want more help?
    See our InstallTalk blog.
    Want even more help? See our relatively new Advanced Windows Installer (MSI) training course.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •