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. How to Quit the Qt Installer Framework
Qt 6.11 is out! See what's new in the release blog

How to Quit the Qt Installer Framework

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 464 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.
  • T Offline
    T Offline
    twohobos
    wrote on last edited by
    #1

    I have an installer written with QTIFW, it has a custom dynamic page that asks the user for a key, and verifies that it's valid. If invalid, installation is prevented.

    I want to do a similar thing, but for an unattended/CLI install. e.g.

    myinstaller.exe --accept-licenses install Key=<InstallKey>
    

    How can I gracefully exit the installer using a component or controller script? The only way I've found to do this is by throwing an exception in function Component()

    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