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. How to Remove Component Selection Page in Setup Program Created by QT Installer Framework
Forum Updated to NodeBB v4.3 + New Features

How to Remove Component Selection Page in Setup Program Created by QT Installer Framework

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 3 Posters 3.0k Views 3 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.
  • C Offline
    C Offline
    Crag_Hack
    wrote on last edited by Crag_Hack
    #1

    The title says it all... I'd like to remove the component selection page in my program installer since there's only one component. Also I'll need different executables for 32-bit and 64-bit windows form the same installer but I found that in an example so I think I can handle that on my own unless it's not possible...
    Thanks!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      See this example from the documentation. It shows how to automatically click "Next" button on a page from the installer - so roughly what you need.

      (Z(:^

      1 Reply Last reply
      1
      • C Offline
        C Offline
        Crag_Hack
        wrote on last edited by
        #3

        Thanks sierdzio. I actually found a way to do exactly what I wanted yesterday:
        add this to config.xml

        <ControlScript>controlscript.js</ControlScript>
        

        and this to controlscript.js

        function Controller()
        {
        installer.setDefaultPageVisible(QInstaller.ComponentSelection,0);
        }
        

        and the 32bit/64bit example is here:
        http://doc.qt.io/qtinstallerframework/qt-installer-framework-systeminfo-example.html

        S 1 Reply Last reply
        4
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Great, good to know and thanks for sharing :-)

          (Z(:^

          1 Reply Last reply
          0
          • C Crag_Hack

            Thanks sierdzio. I actually found a way to do exactly what I wanted yesterday:
            add this to config.xml

            <ControlScript>controlscript.js</ControlScript>
            

            and this to controlscript.js

            function Controller()
            {
            installer.setDefaultPageVisible(QInstaller.ComponentSelection,0);
            }
            

            and the 32bit/64bit example is here:
            http://doc.qt.io/qtinstallerframework/qt-installer-framework-systeminfo-example.html

            S Offline
            S Offline
            seyed
            wrote on last edited by
            #5

            @Crag_Hack that is the actual answer. Thanks

            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