Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Installer Framework - Installing updates?
QtWS25 Last Chance

Installer Framework - Installing updates?

Scheduled Pinned Locked Moved Qt Creator and other tools
9 Posts 2 Posters 2.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aknudsen
    wrote on last edited by
    #1

    On Windows (7), how is the end user supposed to install updates with an Installer Framework-created online installer? In my experience, an installer will always try to install from scratch. I have to launch the uninstaller to update an installation...

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      In your Qt directory, on Posix-like systems: ~/Qt/, run MaintenanceTool. First it will ask to update tools. Do that, then it will relaunch, select what you want to update.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aknudsen
        wrote on last edited by
        #3

        I forgot to mention this is on Windows.
        [quote author="Socapex" date="1418854922"]In your Qt directory, on Posix-like systems: ~/Qt/, run MaintenanceTool. First it will ask to update tools. Do that, then it will relaunch, select what you want to update.[/quote]

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Find MaintenanceTool.exe, in your Qt directory. If you don't know where it is, I recommend a powerful tool called google ;)

          1 Reply Last reply
          0
          • A Offline
            A Offline
            aknudsen
            wrote on last edited by
            #5

            But Qt isn't installed on the end user's machine, do you also expect an end user to follow this type of routine?? Doesn't sound right to me.
            [quote author="Socapex" date="1418856838"]Find MaintenanceTool.exe, in your Qt directory. If you don't know where it is, I recommend a powerful tool called google ;)[/quote]

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              Oh wait, you are talking about shipping application? Well then ignore my posts. You will want to update your build with the new framework then ship that. Maybe you use a dll on windows, you will have to ship a new dll. Or if you are statically linking, then the update will contain the new framework.

              Sorry I misunderstood your question!

              1 Reply Last reply
              0
              • A Offline
                A Offline
                aknudsen
                wrote on last edited by
                #7

                I'm not sure you understand what I'm asking. An end user is able to install an update, but not by executing the installer itself. One has to launch the uninstaller, which is kind of weird.
                [quote author="Socapex" date="1418858554"]Oh wait, you are talking about shipping application? Well then ignore my posts. You will want to update your build with the new framework then ship that. Maybe you use a dll on windows, you will have to ship a new dll. Or if you are statically linking, then the update will contain the new framework.

                Sorry I misunderstood your question![/quote]

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  I don't think I understand what you mean either ^_^

                  Are your users installing Qt themselves? Can you give an example of what is going on from a user perspective?

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    aknudsen
                    wrote on last edited by
                    #9

                    The scenario is:

                    1. An end user installs my application with an online installer, created by Installer Framework.
                    2. An update is published.
                    3. How should the end user install the update?

                    The problem at 3. is that if the end user launches the installer, it doesn't allow for updating the existing installation, it'll just try to install another instance. You have to launch the installer actually, in order to be able to update the installation to the new version.

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved