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. QT Installer framework: Change location of QT created files
Forum Updated to NodeBB v4.3 + New Features

QT Installer framework: Change location of QT created files

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 485 Views 2 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.
  • A Offline
    A Offline
    Azrael3000
    wrote on last edited by
    #1

    Dear all,

    I'm currently writing an installer and everything is working great so far. Now my package comes already with bin, lib etc. directories, so I could just install it for example at /usr

    However, the framework also creates several files itself like components.xml, InstallationLog.txt, etc. So obviously I would not want to to have them at /usr but my own dedicated directory. Is there any setting that I'm missing to place these somewhere else? Alternatively I could of course move them at the end of the installation (if that works for the log file for example).

    Or is this a wrong approach all together and instead I should be installing to /opt (or wherever the user likes) and then offering the option to symlink the necessary files to /usr (which I don't think is very nice).

    Thanks in advance,
    Arno

    1 Reply Last reply
    0
    • I Offline
      I Offline
      iieklund
      wrote on last edited by
      #2

      Hi,

      The IFW writes all files relative to the given base installation directory.

      One option might be that in the component's installscript.qs you move the files to desired destination directory.
      Note that here you need to take care of elevated permissions if needed and also implement the "undo" operation so that
      when you uninstall (MaintenanceTool(.exe)/Uninstaller(.exe)) the packages it knows what to uninstall.

      To make IFW natively support installing packages with absolute paths please open a Jira ticket/suggestion, I think it might make sense in such cases.

      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