Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-2654

installer detects running processes that block update; overriding with setAllowedRunningProcesses did not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.3.0
    • Tools
    • None
    • Windows

      using setAllowedRunningProcesses when using commandline interface does not resolve the running processes check blocking updating the app while the app is running.  

       

      Added the following controlscript to the installer.

       

      function Controller()
      { 
      console.log("running installer commands controller") 
      console.log("before allowed running processes: " + installer.allowedRunningProcesses()) installer.setAllowedRunningProcesses(["process.exe","crash_handler.exe"]) 
      console.log("after allowed running processes: " + installer.allowedRunningProcesses()) 
      console.log("is updater: " + installer.isUpdater()) 
      console.log("is running: " + installer.isProcessRunning("process.exe")) 
      }
      

       

       

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            installerteam Installer Team
            rgilson Ron Gilson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes