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. QT Installer framework. Exclude components.
Forum Updated to NodeBB v4.3 + New Features

QT Installer framework. Exclude components.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
11 Posts 3 Posters 2.6k Views 2 Watching
  • 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.
  • D Offline
    D Offline
    datasoma
    wrote on 27 Dec 2018, 11:48 last edited by
    #1

    Hello, I use QT installer framework for multi-component installer creation. But i can't find any possibilities to make one component select to automatically deselect another component in Component Selection Page. I think this essential feature for any installer. However, i can't find anything similar in qt installer framework documentation or somewhere else.

    R 1 Reply Last reply 27 Dec 2018, 12:01
    0
    • D datasoma
      27 Dec 2018, 11:48

      Hello, I use QT installer framework for multi-component installer creation. But i can't find any possibilities to make one component select to automatically deselect another component in Component Selection Page. I think this essential feature for any installer. However, i can't find anything similar in qt installer framework documentation or somewhere else.

      R Offline
      R Offline
      Ratzz
      wrote on 27 Dec 2018, 12:01 last edited by Ratzz
      #2

      @datasoma
      Hi and welcome to forum.
      Did you mean this http://doc.qt.io/qtinstallerframework/qt-installer-framework-dependencies-example.html ?

      --Alles ist gut.

      D 1 Reply Last reply 27 Dec 2018, 12:52
      0
      • R Ratzz
        27 Dec 2018, 12:01

        @datasoma
        Hi and welcome to forum.
        Did you mean this http://doc.qt.io/qtinstallerframework/qt-installer-framework-dependencies-example.html ?

        D Offline
        D Offline
        datasoma
        wrote on 27 Dec 2018, 12:52 last edited by
        #3

        @Ratzz
        Thank you for answer. But, I'm not. I mean that if I have two components A and B and select A to install than after i select B A will be deselected automatically.

        R 1 Reply Last reply 27 Dec 2018, 17:33
        0
        • D datasoma
          27 Dec 2018, 12:52

          @Ratzz
          Thank you for answer. But, I'm not. I mean that if I have two components A and B and select A to install than after i select B A will be deselected automatically.

          R Offline
          R Offline
          Ratzz
          wrote on 27 Dec 2018, 17:33 last edited by
          #4

          @datasoma
          U can do the same with the logic applied with the example mentioned.

          --Alles ist gut.

          D 1 Reply Last reply 28 Dec 2018, 07:33
          0
          • R Ratzz
            27 Dec 2018, 17:33

            @datasoma
            U can do the same with the logic applied with the example mentioned.

            D Offline
            D Offline
            datasoma
            wrote on 28 Dec 2018, 07:33 last edited by
            #5

            @Ratzz
            Can you be more specific, please? The logic of example is totally different. It's about including components. I need exclude components. Not default value, not component install when it have auto-dependency or another have dependency. Not force installation. And framework doesn't tell sth about logical operations.
            If auto-dependency is about "We define an automatic dependency for Component D on Component A and Component B. Thus, if Component A and Component B are both marked for installation, Component D is automatically installed as well." Than what I mean is something like: We define an automatic (EXCLUDE) dependency for Component D on Component A OR Component B. Thus, if Component A OR Component B OR both are marked for installation, Component D is automatically NOT installed as well. And there are no any words about how to make it.

            R 1 Reply Last reply 28 Dec 2018, 08:45
            0
            • D datasoma
              28 Dec 2018, 07:33

              @Ratzz
              Can you be more specific, please? The logic of example is totally different. It's about including components. I need exclude components. Not default value, not component install when it have auto-dependency or another have dependency. Not force installation. And framework doesn't tell sth about logical operations.
              If auto-dependency is about "We define an automatic dependency for Component D on Component A and Component B. Thus, if Component A and Component B are both marked for installation, Component D is automatically installed as well." Than what I mean is something like: We define an automatic (EXCLUDE) dependency for Component D on Component A OR Component B. Thus, if Component A OR Component B OR both are marked for installation, Component D is automatically NOT installed as well. And there are no any words about how to make it.

              R Offline
              R Offline
              Ratzz
              wrote on 28 Dec 2018, 08:45 last edited by Ratzz
              #6

              @datasoma said in QT Installer framework. Exclude components.:

              If auto-dependency is about

              The AutoDependOn element in package component tells that

              .............................. If the component was already installed, it will be selected for uninstallation when at least one of the components from this list is also selected for uninstallation
              

              Lets say component A depends on B . Installing A must uninstall B .
              1) If B is not installed at all then direct installation of A.
              2)If B is already installed setting AutoDependOn to component B will uninstall B on installing A.
              Never tested though. I feel should work
              .

              --Alles ist gut.

              D 1 Reply Last reply 28 Dec 2018, 09:17
              0
              • R Ratzz
                28 Dec 2018, 08:45

                @datasoma said in QT Installer framework. Exclude components.:

                If auto-dependency is about

                The AutoDependOn element in package component tells that

                .............................. If the component was already installed, it will be selected for uninstallation when at least one of the components from this list is also selected for uninstallation
                

                Lets say component A depends on B . Installing A must uninstall B .
                1) If B is not installed at all then direct installation of A.
                2)If B is already installed setting AutoDependOn to component B will uninstall B on installing A.
                Never tested though. I feel should work
                .

                D Offline
                D Offline
                datasoma
                wrote on 28 Dec 2018, 09:17 last edited by
                #7

                @Ratzz
                Unfortunately not. The main sense is it component should be already installed. Moreover, it work when another component uninstalling too. But i don't wan't to uninstall anything. I want custom component selecting for installation. And after that installation go on.0_1545988633532_example.png

                R 1 Reply Last reply 28 Dec 2018, 09:50
                0
                • D datasoma
                  28 Dec 2018, 09:17

                  @Ratzz
                  Unfortunately not. The main sense is it component should be already installed. Moreover, it work when another component uninstalling too. But i don't wan't to uninstall anything. I want custom component selecting for installation. And after that installation go on.0_1545988633532_example.png

                  R Offline
                  R Offline
                  Ratzz
                  wrote on 28 Dec 2018, 09:50 last edited by
                  #8

                  @datasoma
                  tried a bit but could not find the way to achieve it.

                  --Alles ist gut.

                  D 1 Reply Last reply 28 Dec 2018, 09:55
                  0
                  • R Ratzz
                    28 Dec 2018, 09:50

                    @datasoma
                    tried a bit but could not find the way to achieve it.

                    D Offline
                    D Offline
                    datasoma
                    wrote on 28 Dec 2018, 09:55 last edited by
                    #9

                    @Ratzz
                    Same. Tried to do it with script, but can't find any useful methods of function execute when some checkbox checked. Unfortunately, don't know qt for make it myself.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 28 Dec 2018, 21:55 last edited by
                      #10

                      Hi,

                      I haven't used the Installer Framework yet but what you are describing is rather a radio button style of interaction like shown in the Dynamic Page Installer Example.

                      Hope it helps

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

                      D 1 Reply Last reply 29 Dec 2018, 08:37
                      1
                      • S SGaist
                        28 Dec 2018, 21:55

                        Hi,

                        I haven't used the Installer Framework yet but what you are describing is rather a radio button style of interaction like shown in the Dynamic Page Installer Example.

                        Hope it helps

                        D Offline
                        D Offline
                        datasoma
                        wrote on 29 Dec 2018, 08:37 last edited by
                        #11

                        @SGaist
                        Hello, thank you for your answer. But it's not. I have read all installer framework documentation and found nothing. And there is not a radio button, because it can be the third component C that haven't some connection with A and B. Moreover, it can be a set of components that have some subset F that should auto enable A or be enabled by A. And another subset G that can have elements from F, but enable B or be enabled by B. Auto-dependenecy in this case is simply remove all checkboxes(what a shame). Or some elements can be added dynamically to repository, it's online installer. I don't see any necessary of custom UI creation of page that already exist. What i want is some method to interact with checkboxes on Component Selection Page. I know that scripts should be helpful, but doesn't understand how to interact with checkboxes throw it. I try to find some signal but doesn't succeed. It seems that creation of my own online installer will be more quicker than understanding of qt.

                        P.S. Please don't send me Dependency Solving Example page, it's not what I needed. It can't work with subsets.
                        P.P.S. And I don't want duplicate components without greater need.

                        1 Reply Last reply
                        0

                        3/11

                        27 Dec 2018, 12:52

                        8 unread
                        • Login

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