Could not invoke program

Leithal

New member
I've got Chrome on my D: Drive with all my other apps that one day I might need to install. I've got Sandboxie 1.15.9 up and running, and it's integrated into Explorer.

When I try to right-click and run in a sandbox I get the "Could not invoke program" message. As you can see the application is there and shows in explorer.

Ideas?
 

Attachments

  • D#__Reinstall_SoftwarePCChrome_-_File_Explorer.2025.04.13.09.39.39.638.jpg
    D#__Reinstall_SoftwarePCChrome_-_File_Explorer.2025.04.13.09.39.39.638.jpg
    38.9 KB · Views: 4
I've got Chrome on my D: Drive with all my other apps that one day I might need to install. I've got Sandboxie 1.15.9 up and running, and it's integrated into Explorer.

When I try to right-click and run in a sandbox I get the "Could not invoke program" message. As you can see the application is there and shows in explorer.

Ideas?
Just to clarify, I'm trying to install Chrome into a Chrome Sandbox.
 
It was security hardened with data protection. I also tried creating a standard sandbox, and get a startup error 0x012524 if I do that.
 
data protection

For boxes with data protection, you need to enable read access to the location of files. e.g.

NormalFilePath=C:\Downloads\

or

NormalFilePath=*.pdf

In Sandboxie-Plus (SandMan.exe) this can be set in the Sandbox Options > Resource Access > [Files]
The access type is "Normal", which is the default outside the data protection type boxes.

Here is the documentation for it.
 
OK, I created a regular Sandbox, I called it Torn, I want to limit the scripts for add-ins to this instance of Chrome.

I've got the install for chrome in my downloads, and added the install file, and the Sandboxie Torn folder (the latter I would imagine is unnecessary).

I'm getting the error in the graphic.

Googling it - I find that one site says this is a hardware error and the poster redirects the original poster to Windows Support.

I enabled hardware access in the sandbox, with the same results.

Ideas? Or should I just move on from Chrome?
 

Attachments

  • Could_not_invoke_program__Xanasoft_Forum_-_Vivaldi.2025.04.14.17.53.53.432.jpg
    Could_not_invoke_program__Xanasoft_Forum_-_Vivaldi.2025.04.14.17.53.53.432.jpg
    203 KB · Views: 2
If you use a standard box type, you don't need to open a resource, unless you want something to write to the real location.

It appears that Chrome is already installed in the system, and the installer might fail for that reason. To avoid the error, you can try adding:
Code:
WriteFilePath=C:\Users\YOURUERNAME\AppData\Local\Google\
WriteFilePath=C:\Program Files\Google\
to the INI section of the sandbox you have created for Google Chrome

The above assumes that the paths are still the same, otherwise you need to replace them with the paths where the profile and the binaries are stored.
 
Ahhh... got you, thanks! I played around and got Opera working, so it appears that my Sandboxie is working correctly. But, I'll give this a try as well, I'd like to see how it plays out.
 
So I...
Renamed my Torn Sandbox to Torn Opera
Then duplicated it.
Renamed the new one to Torn Chrome

Went and edited the ini in the Torn Chrome sandbox - below.
Had the same error code on installing Chrome.
I did validate that both of the WriteFilePath path's exist on my system.

I thought it was interesting that the OpenFilePath refers to D:\Sandboxie\Torn. I renamed both of the sandboxes, and there are two folders in D:\Sandboxie\ - Torn_Chrome and Torn_Opera. While the D:\Sandboxie\Torn does not. But even so the Opera instance works.




Enabled=y
BlockNetworkFiles=y
RecoverFolder=%Desktop%
RecoverFolder=%Personal%
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
BorderColor=#02f6f6,ttl
Template=AutoRecoverIgnore
Template=LingerPrograms
Template=BlockPorts
Template=qWave
Template=FileCopy
Template=SkipHook
Template=OpenBluetooth
ConfigLevel=10
UseFileDeleteV2=y
UseRegDeleteV2=y
AutoRecover=y
OpenFilePath=D:\Downloads\ChromeSetup.exe
OpenFilePath=D:\Sandboxie\Torn\
WriteFilePath=C:\Users\leith\AppData\Local\Google\
WriteFilePath=C:\Program Files\Google\
 
Back
Top