Community Forums
Results 1 to 4 of 4

Thread: upgrades using four version fields

  1. #1
    Join Date
    Nov 2004
    Posts
    59

    upgrades using four version fields

    Hi,
    Is there a way to do major or minor upgrades using four version fields (xxx.xxx.xxx.xxx) and not three?

  2. #2
    Join Date
    Oct 2001
    Location
    Germany
    Posts
    1,540
    For a Major Upgrade the MSI engine will only compare the first three fields. If you need to check the fourth filed you would have to use a custom launcher or a custom action to do this.
    A Minor Update in genreal doesn't check the ProductVersion at all, except if it's a patch and you defined a version relationship.
    Note that in all cases the file overwrite rules will always check all four fields of the version information of each file. The three filed limit only applies to the ProductVersion property.
    Stefan Krüger
    InstallSite.org
    Please post your questions in the forum

  3. #3
    Join Date
    Nov 2004
    Posts
    59
    Thanks for the fast reply.
    Do you think that there is a way to have a productVersion with four version fields (to be displayed anywhere) and a custom action will compare the fourth field for the major upgrade?
    How can I use a custom action to check the fourth version field?

  4. #4
    Join Date
    Oct 2001
    Location
    Germany
    Posts
    1,540
    You would have to create a custom action that reads the full ProductVersion from the old setup (as identified by the result from processing the Upgrade table) and compare it to your current ProductVersion.
    Stefan Krüger
    InstallSite.org
    Please post your questions in the forum

Posting Permissions

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