This commit is contained in:
parent
bfb5c94720
commit
f9f7a2de6f
|
@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
- Note: when the volume later gets a drive letter the data under \drive\{guid} will be ignored!
|
||||
- fixed right click a sandbox shortcut - click run unsandboxed in order to open the file without sandbox [#3528](https://github.com/sandboxie-plus/Sandboxie/issues/3528)
|
||||
- Note: for the fix to take full effect the shell integration need to be re applied
|
||||
- fixed Error Status: 0x0000065b (Function Failed During Execution) [#3504](https://github.com/sandboxie-plus/Sandboxie/issues/3504)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -225,6 +225,12 @@ MSG_HEADER *MountManager::CreateHandler(MSG_HEADER *msg)
|
|||
|
||||
std::wstring ImageFile = GetImageFileName(req->file_root);
|
||||
|
||||
std::wstring RootPath(req->file_root, wcsrchr(req->file_root, L'\\'));
|
||||
HANDLE handle = OpenOrCreateNtFolder(RootPath.c_str());
|
||||
if (!handle)
|
||||
return SHORT_REPLY(ERROR_PATH_NOT_FOUND);
|
||||
CloseHandle(handle);
|
||||
|
||||
std::shared_ptr<BOX_MOUNT> pMount = MountImDisk(ImageFile, req->password, req->image_size, session_id);
|
||||
if(!pMount)
|
||||
return SHORT_REPLY(ERROR_FUNCTION_FAILED);
|
||||
|
|
|
@ -44,6 +44,7 @@ signals:
|
|||
|
||||
protected:
|
||||
friend class CSandBoxPlus;
|
||||
friend class CNewBoxWizard;
|
||||
|
||||
virtual CSandBox* NewSandBox(const QString& BoxName, class CSbieAPI* pAPI);
|
||||
virtual CBoxedProcess* NewBoxedProcess(quint32 ProcessId, class CSandBox* pBox);
|
||||
|
|
|
@ -128,8 +128,10 @@ SB_STATUS CNewBoxWizard::TryToCreateBox()
|
|||
|
||||
|
||||
QString Location = field("boxLocation").toString();
|
||||
if (!Location.isEmpty())
|
||||
if (!Location.isEmpty()) {
|
||||
pBox->SetText("FileRootPath", Location);
|
||||
theAPI->UpdateBoxPaths(pBox.data());
|
||||
}
|
||||
|
||||
if (field("boxVersion").toInt() == 1) {
|
||||
pBox->SetBool("UseFileDeleteV2", true);
|
||||
|
|
Loading…
Reference in New Issue