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.
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: