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

Qt IFW silentUpdate fails in Windows when the application is running

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 3.0.1
    • General
    • None

    Description

      t IFW silentUpdate fails in Windows 7 when the application is already running with the error

      {{Unable to update components. Please stop these processes.. }}

      Updating from GUI of the maintenancetool will be successful even when the application is running.

      Apparently the silentUpdate mode misses something that the GUI mode has.

       

       
      IFW Version Info
      {{IFW Version: 3.0.1, built with Qt 5.9.0. Build date: Sep 14 2017 Installer Framework SHA1: a1f5686 }}
      The problem is reproducible in every way possible.

      I have uploaded the sample which can be downloaded from https://files.fm/u/wqrrppkk

      Steps to reproduce the bug

      • Create an online only installer
      • Create the repository (of packages) accessible from localhost
      • Install
      • Run the installed app.exe and leave it running. The titlebar will display "Version 1"
      • Create the repository (of packages_update) accessible from localhost
      • When app.exe is running, run maintainancetool -v --silentUpdate

      Result
      {{Unable to update components. Please stop these processes.. <path>/app.exe }}
      Proper Working from the GUI mode

      • Do all the above steps except running the maintainancetool -v --silentUpdate
      • Instead run the maintainancetool.exe manually by double clicking from the Explorer
      • Install the updates when app.exe is already running.

      Result
      The update is successful even when app.exe is running without affecting it ( like in linux). Newer instances of app.exe will run the newly installed update showing "Version 2" in the title-bar. This is the intended result.

      Somehow the "maintainancetool -v --silentUpdate" fails to deliver what the GUI mode delivers.

       

       

       

      Attachments

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

        Activity

          People

            kamartti Katja Marttila
            elendilm Muhammed Muneer
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes