Qt Installer How to open custom file with custom application after install?

  • Hello!

    I tried to run script after install but unsuccesfully. Here is a sample code:

    function Component()
        installer.installationFinished.connect(this, Component.prototype.installationFinishedScript);
    Component.prototype.installationFinishedScript = function()
        component.addOperation("Execute", "\"%SYSTEMDRIVE%\\Program Files\\Git\\bin\\sh.exe\""+installer.value("TargetDir")+"/app_name/post_install.sh")

    How to run some script after installation?

  • Moderators

    You have no space between sh.exe and your target dir.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.