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: run application after installation
Forum Updated to NodeBB v4.3 + New Features

Qt Installer Framework: run application after installation

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 2.8k Views 1 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.
  • W Offline
    W Offline
    WoJo
    wrote on last edited by
    #1

    I use the Qt Installer Framework to create a installer for a program, after the Installation, I want to launch the application. Here is the problem, in the config.xml file, I added

    @<RunProgram>myApp</RunProgram>@

    This does not work, I can start applications in the system path (such as notepad in windows), but not my installed program. I tried

    @<RunProgram>@TargetDir@/myApp</RunProgram>@

    this works if the user don't changes the default installation path. Is there a way to use not the default installation path I set with <TargetDir></TargetDir> but the final installation path?

    another problem, the "Run Application" entry does not only appear after the installation, it also appears after the uninstall. After the uninstall, it sould not try to launch the removed program.

    according to "this":https://qt.gitorious.org/installer-framework/installer-framework/source/f65954d9033cbd1d342ecb6c202920a0df992dc7:tests/auto/installer/settings/data/full_config.xml my first version sould work

    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