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

How to extract on the Desktop on Mac?



  • I would to extract the archive on the Desktop on Mac cuz the software cannott extract on @ApplicationsDir@ because the software doesnt have the admin rights to modify the ApplicationsDir 's files during the software execution.

    I write the following code :

    Component.prototype.createOperationsForArchive = function(archive)
    {
       conponent.addOperation("Extract", archive, "@DesktopDir@");
    }
    

    And I have this error :

    Error during installation process (com.mycompany.software) : Error while extracting 'installer://com.mycompany.software/0.0.8mysoftware.7z': Internal code : E_FAIL

    Does someone know how to fix this bug?


Log in to reply