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. Qt installer framework: installer crashes when trying to use controlscript
Forum Updated to NodeBB v4.3 + New Features

Qt installer framework: installer crashes when trying to use controlscript

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 17 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.
  • O Offline
    O Offline
    OliverLong
    wrote last edited by
    #1

    I am working on the installer for my Qt program and am trying to use the controlscript feature to remove unnecessary pages from the installer and uninstaller. When I add the tag

        <ControlScript>scripts/install.qs</ControlScript>
    

    to my config.xml file, the binary creator throws no errors, but creates an installer that crashes on start. If I run the installer, a powershell window flashes, and disappears. This happens regardless of the contents of the script, or whether the script file even exists in the project. If I remove the ControlScript tag, the installer works as normal. What can I do to make the ControlScript tag work?

    jsulmJ 1 Reply Last reply
    0
    • O OliverLong

      I am working on the installer for my Qt program and am trying to use the controlscript feature to remove unnecessary pages from the installer and uninstaller. When I add the tag

          <ControlScript>scripts/install.qs</ControlScript>
      

      to my config.xml file, the binary creator throws no errors, but creates an installer that crashes on start. If I run the installer, a powershell window flashes, and disappears. This happens regardless of the contents of the script, or whether the script file even exists in the project. If I remove the ControlScript tag, the installer works as normal. What can I do to make the ControlScript tag work?

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote last edited by
      #2

      @OliverLong Start the installer from a terminal to see whether it prints any warnings/errors

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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