a sandboxie goal: sandboxed audio plugins used by unsandboxed audio applications

sandb0xie

Member
Hello wonderful Sandboxie community,

There is a use case that would be very helpful for audio producers, if it is possible with Sandboxie-Plus.

Background

Audio DAWs and processing applications ("hosts") use plugins, often of the formats VST2 (*.dll), VST3 (*.vst3) and AAX (*.aaxplugin). The "standard locations" on Windows to place 64-bit plugins of these types are:

C:\Program Files\Common Files\VST2 (this can vary)
C:\Program Files\Common Files\VST3
C:\Program Files\Common Files\Avid\Audio\Plug-Ins

Some plugins only require the use of the .dll, .vst3, or .aaxplugin files themselves and can be installed manually to the above directories, but many audio plugins are dependent on numerous other resources. Some developers of these more complicated audio plugins only offer .exe/.msi installers, which write to the registry and install numerous files/folders in other locations.

A challenge for audio producers is that they may have hundreds, or even thousands, of these plugin tools, and in the event of a system failure or migration, manually reinstalling all the plugins is an enormous time waste. If the plugins could be installed and used in Sandboxie-Plus boxes, a recovery could be as simple as transferring the boxes to a new system.

For the plugins that only rely on the plugin files themselves, the process is simple:
1. Install the plugins to Sandboxie-Plus box(es)
2. In the local machine's VST2/VST3/AAX directories, create symlink(s) to the box folder(s) containing the plugins.
3. An unsandboxed audio host can now use the sandboxed plugins.

This is tested and works fabulously. However, when the plugins require registry changes and the use of files/folders in locations other than the above "standard locations", problems abound.

For example, some plugins use skins and processing library assets which may normally exist anywhere on the system drive, and these assets can be successfully installed within sandbox user and drive directories. But an unsandboxed audio host application (running from C:\Program Files\Ableton, let's say) will look for those files within the expected system directories (C:\Program Files, C:\Users, etc.) instead of the sandbox box locations. Therefore, use of such plugins reliant on additional assets will result in spectacular failures and crashes.

Inquiry

Is there a configuration of a Sandboxie-Plus box which, in cases like this where an unsandboxed audio host application is utilizing a sandboxed plugin, the unsandboxed audio host will be forced to basically "see and respect" the sandboxie virtual environment and redirect to the additional sandboxed files relevant to the sandboxed plugin?

To put this another way for clarity: If the audio host were also installed in the same sandbox as the plugin, everything would just work, because the audio host is constrained to the same virtual registry/directories as the plugin. They both would use the same Program Files and User folders, etc. so the host is expecting the same locations as the plugin. But when the audio host is moved outside the sandbox environment, then it looks to the system directories by default, which results in failure of the sandboxed plugins.

Thank you for any tips and insight that may be provided.
 
Last edited:
Hello,

here is a question that deals with the portability of such plugins. It does not appear to be your use case and it does not have a reply from the developer, but maybe it is still helpful to you.

Is there a configuration of a Sandboxie-Plus box which, in cases like this where an unsandboxed audio host application is utilizing a sandboxed plugin, the unsandboxed audio host will be forced to basically "see and respect" the sandboxie virtual environment and redirect to the additional sandboxed files relevant to the sandboxed plugin?

In my mind, that is only possible if the application is running under Sandboxie's control, but then it would not be unsandboxed anymore. There might be ways to have a sandboxed application, that was installed to the host, look for files in another sandbox, but I am not sure, how that would work when it needs to write to the same registry. Offhub, or David might be more helpful.
 
@bastik-1001 - thank you, and yes, Sorrow-Scarlet on github was after the same goal.

If Sandboxie-Plus could solve this problem for audio producers, it would open a substantial worldwide market as the de facto solution for this huge problem audio pros have. Every studio knows the absolute waste of time involved in manual reinstallation of tools every time the host system must change.

The issue is basically:
1. Most commercial audio tools' installation process requires using an installer (not portable) which involves user input and takes non-trivial time to execute.
2. The installers often place files all over the system and write to registry.
3. After installing hundreds or thousands of such tools, if a system crashes or must be replaced, the studio must go through the entire process again.

Of course, it's possible to use system backups to mitigate the need for repeat installs, but there are many times when even the backed-up system needs to be refreshed or updated in a way that requires reinstallation of tools. An alternate portable or modular (containerized) approach is much needed and welcomed.

A tool like Sandboxie that can solve this problem easily and efficiently, and marketed as such, would instantly have a global customer base in the pro audio community.

Maybe there could be a specialized version of Sandboxie-Plus called "PortableSound" or similar which is tuned to this goal. Less tweaky and more plug-and-play.
 
Last edited:
Back
Top