title: How to create a new Introduction Page with Qt installer
body: <p>I am trying to create an Introduction Page different from the preexisting one that Qt installer provides. </p>
  
  <p>I created an ui file, disabled the Introduction page visibility in the control script and in the installscript constructor i created a new page and the reset the visibility to true.
  I followed the documentation, to the best of my ability and applied the insctructions this thread provided: <a href="https://stackoverflow.com/questions/49938162/qt-installer-framework-add-new-wizard-page-before-introduction-page">QT Installer Framework: Add new wizard page before Introduction page</a>
  The installer works but starts with the Target Directory Page straight away.</p>
  
  <pre><code>//controllerscript.qs
  
  function Controller()
  {
      installer.setDefaultPageVisible(QInstaller.Introduction, 0);
      installer.setDefaultPageVisible(QInstaller.ComponentSelection, 0);
      installer.setDefaultPageVisible(QInstaller.StartMenuSelection, 0);
  }
  
  //installscript.qs
  
  function Component()
  {
      installer.addWizardPage(component, "PreIntroPage", QInstaller.Introduction);
      if (installer.addWizardPage(component, "PreIntroPage", QInstaller.Introduction)) {
          var widget =gui.pageWidgetByObjectName("DynamicPreIntroPage");
          if (widget != null) {
               ...
          }
      }
  }
  </code></pre>
  
  <p>The ui file's name is 'preintropage.ui' and i added it to the package.xml.
  The controllerscript is in the config.xml.
  This is supposed to create a new page before the introduction Page.
  Since i wanted to redesign the preexisting Introduction Page, add a picture(not only the logo), the callbackfunction, which worked, was not enough.</p>
  
  <p>Is there something wrong with what I did? and is there another way to customize the Intro Page that is not limited to the text shown.</p>
  
  <p>I am using the Qt installer Framework 3.1.0.</p>