I have created an Application in MAC OS. This application needs to be extracted before the first page of the dialog is displayed and be executed. I have done this part successfully. Keep in mind that the Applications file is detected as a folder so I have set it to use the unpackDirectory code instead of unpackFile. However when the installer is run as administrator it is not extracting the Application file correctly. The contents inside the Application file are missing. This works fine if the installer is not run as administrator. Also works fine when extracting actual folders with administrator. Only not working for .app file.
How to extract the file correctly while running as administrator?
Please sign in to leave a comment.