sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.45k stars 1.5k forks source link

mpz.exe causing SBIE2205 Service not implemented: ConsoleInit (C00000D4) #822

Open instantsc opened 3 years ago

instantsc commented 3 years ago

Describe the bug Installation of a game (FitGirl repack, Europa Universalis 1.31) fails. First, a bunch of warnings "mpz.exe (): SBIE2205 Service not implemented: ConsoleInit (C00000D4)" are created, then the installer fails with "unarc.dll returned an error code: -2" (which may or may not be a consequence of mpz.exe failing before)

To Reproduce Steps to reproduce the behavior:

  1. Run the installer inside Sandboxie (0.7.4, latest at the time of writing)
  2. Observe errors and subsequent failure

Expected behavior No errors, or at least a successful install

Screenshots image

System details and installed software (please provide the following information):

Additional context Setting OpenWinClass=# and unchecking everything related to windows and window classes didn't help.

Sandboxie configuration

Enabled=y
ConfigLevel=8
AutoRecover=n
BlockNetworkFiles=y
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#00ffff,off,6
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=Chrome_Phishing_DirectAccess
Template=Firefox_Phishing_DirectAccess
Template=AutoRecoverIgnore
BoxNameTitle=-
BlockNetParam=y
DropAdminRights=y
FakeAdminRights=y
ClosePrintSpooler=y
OpenPrintSpooler=n
AllowSpoolerPrintToFile=n
CopyLimitKb=81920
PromptForFileMigration=y
CopyLimitSilent=n
NeverDelete=n
AutoDelete=n
AllowRawDiskRead=n
NotifyDirectDiskAccess=n
PromptForInternetAccess=y
NotifyInternetAccessDenied=y
ClosedFilePath=!<InternetAccess>,InternetAccessDevices
ProcessGroup=<StartRunAccess>,
ProcessGroup=<ChromePrograms>,vivaldi.exe,opera.exe,msedge.exe,Maxthon.exe,iron.exe,dragon.exe,chrome.exe,browser.exe,brave.exe
ProcessGroup=<FirefoxPrograms>,waterfox.exe,seamonkey.exe,palemoon.exe,firefox.exe
OpenFilePath=C:\games
OpenWinClass=#
PreferExternalManifest=y
UseSbieWndStation=y
BlockPassword=n
mpheath commented 3 years ago

ERROR: unsupported compression method

This error could be the result of a corrupted bin file. Consider the unrecognizable data as unsupported compression method, as it may not be able to uncompress corrupted data.

The FitGirl author may have included a bin file checker with the installer. If not done yet, suggest checking the bin files to validate and kindly report back the result is OK or not OK.

alasalto commented 3 years ago

Try this: In windows, add your local temp folder to direct access for all programs running in that specific sandbox under 'Resource access' option. Then run the installer under sandboxie coverage again and see if it works for you.

instantsc commented 3 years ago

suggest checking the bin files

Files were ok in this instance.

add your local temp folder to direct access for all programs running in that specific sandbox under 'Resource access' option.

This one, combined with letting the installer access the install directory directly, helped. The ConsoleInit warnings still appear, but the install completes. Thank you!

I still only consider this a workaround, and unless it's a 'wontfix', would love a solution that doesn't require exposing a common system folder (most installers love writing something there) to every sandboxed program with these problems.

DavidXanatos commented 3 years ago

which temp folder did you open "C:\Users[user]\AppData\Local\Temp" this one or the one under C:\windows\temp

instantsc commented 3 years ago

It was the user one