Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4707

Msi installer should allow multiple installations of same version

Details

    Description

      The Windows .msi installer should allow multiple installations of same version.

      For instance, if you install one 5.5 (or 5.2, or whatever), instance via the .msi installer, you cannot then install a second instance of the same version with the msi, as it will only allow you to "repair" or configure your existing instance.

      You can, say install a 32-bit version of 5.2 and then a 64-bit version of 5.2, but it should allow for 2+ 64-bit versions if I so desire.

      Many thanks.

      Attachments

        Activity

          wlad Vladislav Vaintroub added a comment - - edited

          Chris,this can't be easily fixed. While there is something that is called "multi-instance support" in MSI itself, the tools support is weak, and one needs to put some bootstrapper exe on top of the MSI.

          if you replace upgrade with another instance, then how you upgrade ?

          You can definitely have multiple services in a single installation, and this is what mysql_install_db.exe does. Why would you like to have multiple instances of older and newer exes.

          If you're wondering why 32 and 64 bit versions are installable on the same machine, it is because I gave them different GUIDs. Which means, technically they are treated as different products.

          wlad Vladislav Vaintroub added a comment - - edited Chris,this can't be easily fixed. While there is something that is called "multi-instance support" in MSI itself, the tools support is weak, and one needs to put some bootstrapper exe on top of the MSI. if you replace upgrade with another instance, then how you upgrade ? You can definitely have multiple services in a single installation, and this is what mysql_install_db.exe does. Why would you like to have multiple instances of older and newer exes. If you're wondering why 32 and 64 bit versions are installable on the same machine, it is because I gave them different GUIDs. Which means, technically they are treated as different products.
          ccalender Chris Calender (Inactive) added a comment - - edited

          > Why would you like to have multiple instances of older and newer exes.

          I only do this because I test so many different versions, and like to have at least one of every version installed. And in this case, I was just trying to compare 2 of the same major version, but differing minor versions (and I was being lazy by trying to use the installer for both instances - as I generally run no-install versions for such tests).

          I see your points though. I thought if perhaps it was very simple, then it might be worth adding (if it was a single check), but since not, it really doesn't make sense to implement this. Further, I can't really envision many, if any, aside from Support Engineer-types who use Windows ever wanting this - which I'm gonna go out on a limb and say is a small number.

          Feel free to close this off.

          ccalender Chris Calender (Inactive) added a comment - - edited > Why would you like to have multiple instances of older and newer exes. I only do this because I test so many different versions, and like to have at least one of every version installed. And in this case, I was just trying to compare 2 of the same major version, but differing minor versions (and I was being lazy by trying to use the installer for both instances - as I generally run no-install versions for such tests). I see your points though. I thought if perhaps it was very simple, then it might be worth adding (if it was a single check), but since not, it really doesn't make sense to implement this. Further, I can't really envision many, if any, aside from Support Engineer-types who use Windows ever wanting this - which I'm gonna go out on a limb and say is a small number. Feel free to close this off.

          People

            Unassigned Unassigned
            ccalender Chris Calender (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.