Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Update an installation with an offline installer setup of Qt installer framework

Update an installation with an offline installer setup of Qt installer framework

Scheduled Pinned Locked Moved Installation and Deployment
qt ifw 2.0installer frameoffline install
10 Posts 4 Posters 8.4k 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.
  • K Offline
    K Offline
    koahnig
    wrote on 6 Jul 2015, 19:16 last edited by
    #1

    I am using Qt installer framework for deploying my applications to another computer. Because of a domain issue I cannot switch to an online installer, but have to stay with an offline installer.

    The question is how to do an update with an offline installer without performing a complete unstalling process?
    What would be the best way to do?
    At the moment I am not storing the repository with my installation.

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    1
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 6 Jul 2015, 22:42 last edited by
      #2

      Hi,

      Would installing in another folder be an option ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 1 Reply Last reply 7 Jul 2015, 07:00
      -1
      • S SGaist
        6 Jul 2015, 22:42

        Hi,

        Would installing in another folder be an option ?

        K Offline
        K Offline
        koahnig
        wrote on 7 Jul 2015, 07:00 last edited by
        #3

        @SGaist
        A bit awkward isn't it?

        Everybody expects basically to start simply an installer and get guided through the process. That is certainly possible with a new folder, but user defined links are missing and ini-files stored alongside with the old exes.
        The user defined are staying at least intact for the total removal and reinstallation, but the inis are gone.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 7 Jul 2015, 07:32 last edited by
          #4

          Sorry, I misunderstood your situation. IIRC, the offline doesn't provide such granularity but doesn't the MaintenanceTool allow to clean things a bit before installing the new version ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          K 1 Reply Last reply 7 Jul 2015, 07:58
          0
          • S SGaist
            7 Jul 2015, 07:32

            Sorry, I misunderstood your situation. IIRC, the offline doesn't provide such granularity but doesn't the MaintenanceTool allow to clean things a bit before installing the new version ?

            K Offline
            K Offline
            koahnig
            wrote on 7 Jul 2015, 07:58 last edited by
            #5

            @SGaist
            I have to call the previous maintenance tool with the option to remove the installation. This clears all including the ini-files there.
            Then I have to start the new installer, which does install the maintenance tool again and certainly also all apps.

            So you have to start two exes for updating. On one side all inis are gone, which is certainly not appreciated. Also you might remove and reinstall 90 % or whatever what is already there. This doesn't look really professional.

            The maintenance tool has also an entry for updating, but than you have to provide a new repository. However, it is not clear to me how to provide an offline repository. Maybe I am missing the right idea, but solution I came with so far do not look professional either.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 7 Jul 2015, 08:01 last edited by
              #6

              I agree, the current updating workflow with the offline installer isn't ideal at all, that's why I work as much as possible with the online version when not building Qt myself.

              There might be some Jira task related to that but I haven't checked yet

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              K 1 Reply Last reply 7 Jul 2015, 08:04
              0
              • S SGaist
                7 Jul 2015, 08:01

                I agree, the current updating workflow with the offline installer isn't ideal at all, that's why I work as much as possible with the online version when not building Qt myself.

                There might be some Jira task related to that but I haven't checked yet

                K Offline
                K Offline
                koahnig
                wrote on 7 Jul 2015, 08:04 last edited by
                #7

                @SGaist
                Thanks for replies.

                At least I know that I did not miss the most obvious ;)

                Vote the answer(s) that helped you to solve your issue(s)

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  Mostafa88
                  wrote on 26 Jun 2017, 11:58 last edited by
                  #8

                  You shuold make an offline installer and also an online installer. to use opdate component in maintenacetool of offline installerto do an update check, call your maintenacetool.exe with --addRepository <URL> --updater , so your can do an update check for your offline installer too.

                  Changing one parameter cannot fix totallity of system. Do small move at once.

                  K 1 Reply Last reply 26 Jun 2017, 12:47
                  1
                  • M Mostafa88
                    26 Jun 2017, 11:58

                    You shuold make an offline installer and also an online installer. to use opdate component in maintenacetool of offline installerto do an update check, call your maintenacetool.exe with --addRepository <URL> --updater , so your can do an update check for your offline installer too.

                    K Offline
                    K Offline
                    koahnig
                    wrote on 26 Jun 2017, 12:47 last edited by
                    #9

                    @Mostafa88

                    Thanks for your suggestion.

                    In the eman time I have found out that there was a problem with creation of online and offline installer at once. Therefore, I had opted for using only the offline installer.

                    Vote the answer(s) that helped you to solve your issue(s)

                    1 Reply Last reply
                    0
                    • koronaboraK Offline
                      koronaboraK Offline
                      koronabora
                      wrote on 4 Jul 2017, 16:43 last edited by
                      #10

                      Add this repo into MaintenceTool:

                      http://download.qt.io/online/qtsdkrepository/windows_x86/root/qt/

                      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