A follow up. It seems permissions are set when the installer is finished. But that will not help me in restoring a database from a temporary folder.
When the SQL database script is executed permissions are not set and thus it's unable to restore the database from the temporary file.
FOLLOW US
Get the latest news in Application Packaging