Unsolved `Not enough memory` error when extracting archive to mac /Library/Audio/Plug-Ins folder
-
Hi all,
I have a build that includes a standalone app and multiple audio plugins (Currently on OSX). So for installing the plugin components (name
MyPlugin.Component
) I add a installscript.qsfunction Component() { } Component.prototype.createOperationsForArchive = function(archive) { component.addOperation("Extract", archive, "/Library/Audio/Plug-Ins/Components/MyPlugin.Component") }
However it raised
not enough memory
err while extracting.But if I simply changed the path from
/Library/Audio/Plug-Ins/Components/MyPlugin.Component
to/Applications/MyPlugin.Component
, the installation worked.In
config.xml
I have theTargetDir
set to/Applications/MyStandalone
. for the standalone app component.Can you advice how I can install additional components to
/Library/Audio/Plug-Ins/
? -
For a bit more context, the package.xml of this component is:
<?xml version="1.0" encoding="UTF-8"?> <Package> <DisplayName>MyPlugin</DisplayName> <Description>MyPlugin Plug-in</Description> <Version>0.0.1</Version> <ReleaseDate></ReleaseDate> <Name>com.myorg.myplugin.au</Name> <Script>installscript.qs</Script> <ForcedInstallation>true</ForcedInstallation> <Default>true</Default> <RequiresAdminRights>true</RequiresAdminRights> </Package>
The
MyPlugin.Component
is in thedata
dir, It is about 8MBI wonder if the not enough memory is caused by incorrect archive. That somehow the 7z archive did just zip the file in data but something much bigger causing the not enough memory error.
But I don't really know how to verify this.