Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QtIFw: updateFinished does not called
Forum Updated to NodeBB v4.3 + New Features

QtIFw: updateFinished does not called

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 636 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.
  • S Offline
    S Offline
    Schenk
    wrote on last edited by
    #1

    Hi,

    can anybody tell me how to use the installer signal updateFinished()?
    My procedure is:

    • Install component with version 1.0
    • make an online repo with version 2.0
    • copy the entire repo into the local repository folder of the installation
    • do the update via maintenance.exe

    BUT the updateFinished() mtheod is never called.

    The following snippet does not work:

    function Component()
    {	
    	installer.installationFinished.connect(this, Component.prototype.deleteTempFiles); // works
    	installer.updateFinished.connect(this, Component.prototype.onupdateFinished); // does not work	
    }
    
    Component.prototype.onupdateFinished = function() {
    	Console.log("############## asssasasasaskbdfjkldbf");
    }
    
    Component.prototype.deleteTempFiles = function(){
    	var dir = installer.value("TargetDir");		
            /* [...] */
    }
    

    What i am doing wrong?

    Thank you for your help in advance.

    RatzzR 1 Reply Last reply
    0
    • S Schenk

      Hi,

      can anybody tell me how to use the installer signal updateFinished()?
      My procedure is:

      • Install component with version 1.0
      • make an online repo with version 2.0
      • copy the entire repo into the local repository folder of the installation
      • do the update via maintenance.exe

      BUT the updateFinished() mtheod is never called.

      The following snippet does not work:

      function Component()
      {	
      	installer.installationFinished.connect(this, Component.prototype.deleteTempFiles); // works
      	installer.updateFinished.connect(this, Component.prototype.onupdateFinished); // does not work	
      }
      
      Component.prototype.onupdateFinished = function() {
      	Console.log("############## asssasasasaskbdfjkldbf");
      }
      
      Component.prototype.deleteTempFiles = function(){
      	var dir = installer.value("TargetDir");		
              /* [...] */
      }
      

      What i am doing wrong?

      Thank you for your help in advance.

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @Schenk said in QtIFw: updateFinished does not called:

      BUT the updateFinished() mtheod is never called.

      How do you know its never called?

      @Schenk said in QtIFw: updateFinished does not called:

      Console.log("############## asssasasasaskbdfjkldbf");

      Where is the log printed?

      --Alles ist gut.

      S 1 Reply Last reply
      0
      • RatzzR Ratzz

        @Schenk said in QtIFw: updateFinished does not called:

        BUT the updateFinished() mtheod is never called.

        How do you know its never called?

        @Schenk said in QtIFw: updateFinished does not called:

        Console.log("############## asssasasasaskbdfjkldbf");

        Where is the log printed?

        S Offline
        S Offline
        Schenk
        wrote on last edited by
        #3

        @Ratzz

        @Ratzz said in QtIFw: updateFinished does not called:

        @Schenk said in QtIFw: updateFinished does not called:

        BUT the updateFinished() mtheod is never called.

        How do you know its never called?

        There is more code than in this example and so i know it, because nothing happens.

        @Schenk said in QtIFw: updateFinished does not called:

        Console.log("############## asssasasasaskbdfjkldbf");

        Where is the log printed?

        It should be in the log file and i think in the console.

        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