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 - Additional operations not executed
Forum Update on Monday, May 27th 2025

Qt Installer Framework - Additional operations not executed

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 1 Posters 322 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.
  • D Offline
    D Offline
    DalGav
    wrote on 16 Aug 2022, 14:58 last edited by
    #1

    Hi,

    I added operations from the "component.xml" configuration file :

    <Operations>
        <Operation name="Mkdir">
             <Argument>@TargetDir@/Folder1</Argument>
        </Operation>
        <Operation name="Mkdir">
            <Argument>@TargetDir@/Folder2</Argument>
        </Operation>
    </Operations>
    

    This does not work. However, if I add those operations in the control script :

    component.addOperation("Mkdir", "@TargetDir@/Folder1");
    component.addOperation("Mkdir", "@TargetDir@/Folder2");
    

    This works fine.

    This is a simple example with the "Mkdir" operation. I can observe the same behavior for other operations (e.g. Extract, CreateShortcut, ...)
    What did I miss ?

    Qt 5.15.2
    Qt Installer framework 4.0
    Windows 10

    Many thanks in advance for your support.
    Best regards

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DalGav
      wrote on 16 Aug 2022, 15:08 last edited by
      #2

      Additional info : the installation log does not report any error. The additional operations are not mentioned at all.

      1 Reply Last reply
      0

      1/2

      16 Aug 2022, 14:58

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved