Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt IFW - Operation (exe) not executed



  • Hi, I'm trying to add one operation to execute an exe file (after copy and create the instalation dir), but it doesn't do anything, if I check the returns function it's true, in a log file there isn't nothing about error or something like that.
    I used:
    @
    component.addOperation("Execute", "@TargetDir@\somedir\my.exe", "param1 ", "param2");
    @
    and even I tried with
    @
    component.addElevatedOperation("Execute", "@TargetDir@\somedir\my.exe", "param1 ", "param2");
    @

    I call them , when the installation is Finished, 'cause a I need TargetDir and others vars.
    I'm running on Windows 8 64 bits, tried with QtIFW 1.3 and 1.4.

    Any help, if something is missing or wrong? or is there another way to accomplish this?
    Thx.


Log in to reply