Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing MSI fails due to a directory creation? #219

Closed
nedsociety opened this issue Dec 10, 2020 · 3 comments
Closed

Installing MSI fails due to a directory creation? #219

nedsociety opened this issue Dec 10, 2020 · 3 comments
Labels
fixed in next build Fixed in the next Sandboxie version Workaround Temporary or alternative solution

Comments

@nedsociety
Copy link

Driver version 5.45.0

It seems that MSI installer fails to create C:\Config.Msi\ inside the sandbox. This results in installation failures, for example Python.

Repro steps

Got Python x86 webinstaller (https://www.python.org/ftp/python/3.9.1/python-3.9.1-webinstall.exe) then ran it inside DefaultBox:

image

Here's the logs:

Python 3.9.1 (32-bit)_20201210190017_000_core_JustForMe.log
Python 3.9.1 (32-bit)_20201210190017.log

The suspected line for failure was (core_JustForMe.log, line 309):

MSI (s) (BC:60) [19:00:25:066]: Create folder failed: C:\Config.Msi\

This makes no sense because the account had every rights -- It was an admin account and the installer was under UAC elevation. Trying to manually create that folder within the sandboxed explorer worked smoothly.

So I actually tried to create that folder (C:\Config.Msi\) inside the sandbox and then ran the Python installer. Then the installation worked without failure.

@DavidXanatos
Copy link
Member

thanks for the great report will check it out shortly and try to include a fix in the upcoming build

@DavidXanatos DavidXanatos added under investigation Workaround Temporary or alternative solution and removed to investigate labels Jan 4, 2021
@DavidXanatos
Copy link
Member

mmh... indeed what a strange bug, in my case msi always failed on the first run and succeededes on the second, or when i create the folder by hand it works right away, as expected.
This issue was introduced with windows 20H2 on 2004 it does not happen.
I'll look into fixing that asap...

thank you for the great bug report :D

@DavidXanatos DavidXanatos added fixed in next build Fixed in the next Sandboxie version and removed under investigation labels Jan 5, 2021
@nedsociety
Copy link
Author

nedsociety commented Jan 6, 2021

This issue was introduced with windows 20H2 on 2004 it does not happen.

Mine is still 1909 so I'm not entirely sure if it is a regression on 20H2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next build Fixed in the next Sandboxie version Workaround Temporary or alternative solution
Projects
None yet
Development

No branches or pull requests

2 participants