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 setAllowedRunningProcesses seems not working on maintenance tool
QtWS25 Last Chance

QT Installer Framework setAllowedRunningProcesses seems not working on maintenance tool

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 267 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.
  • K Offline
    K Offline
    korn33v
    wrote on last edited by
    #1

    Good day everyone.
    I'm adding few services in my IFW script to be ignored on maintenance

    function Component()
    {
    component.loaded.connect(installerLoaded);
    installer.setAllowedRunningProcesses([process1, process2]);
    }

    And they are successfully added, installer.allowedRunningProcesses() return them both. But if after installation i call maintenance tool via CLI with purge or update, it says that these processes still interfere uninstallation, and "please stop them". Am i using it wrong or what?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      t1v ron
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • T Offline
        T Offline
        t1v ron
        wrote on last edited by t1v ron
        #3

        I stumbled upon the solution, I had to use the full path + filename + extension to match the processes detected in maintenancetool 4.3.0+

        function Controller()
        {
        console.log("configuring allowedRunningProcesses")
        var installationPath = installer.value("InstallerDirPath")
        installer.setAllowedRunningProcesses([installationPath + "/process1.exe",installationPath + "/process2.exe"])
        }

        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