Page 1 of 1
sysnative sandboxie problem
Posted: 30 Nov 2020 17:10
by swan_x
as described here:
https://superuser.com/questions/1057707 ... -sandboxie
i have burn shortcut to one app with sandboxie at my desktop, but when i move this shortcut to another folder and run it XY change destination parameter from C:\Program Files\Sandboxie to C:\Program Files (x86)\Sandboxie and this obviously no longer does...
same shortcut and method with default explorer work fine.
how to bypass this behavior?
Re: sysnative sandboxie problem
Posted: 01 Dec 2020 09:13
by swan_x
... and although manually change correct path in the destination field (C:\Program Files) each time run shortcut changes the path back to C:\Program Files (x86)....
it had already happened to me when i was trying to put a key in the registry and i had to create an association with the .reg files like this
*.reg>::run """%windir%\sysnative\cmd.exe"" /c regedit.exe /s ""<pfaitem>""", , 2, 0;msg "key added";
but this is a different case because it is a shortcut and not a file.... does anyone have any ideas about it??
Re: sysnative sandboxie problem
Posted: 01 Dec 2020 14:54
by admin
The shortcut is incorrectly defined. Because it assumes a 64-bit app reading it, it uses reader-sensitive environment variables. A mistake as you just experienced. Only the creator of the shortcut can fix this.
Re: sysnative sandboxie problem
Posted: 01 Dec 2020 17:16
by swan_x
the creator of this shortcut is sandboxie, not me.
as explained in the first post
https://superuser.com/questions/1057707 ... -sandboxie
and why work (after move shortcut to another folder) with win explorer but not with XY?
Re: sysnative sandboxie problem
Posted: 01 Dec 2020 18:01
by nas8e9
swan_x wrote: ↑01 Dec 2020 17:16
and why work (after move shortcut to another folder) with win explorer but not with XY?
The problem is a Windows compatibility feature in 64-bit Windows that redirects 32-bit programs to their own version of C:\Program Files, i.e. C:\Program Files (x86). Since Windows Explorer is a - very special - 64-bit app, it doesn't fall foul of this compatibility feature.
If possible, changing the first portion of the afflicted path to %ProgramW6432% instead of the hardcoded C:\Program Files, you could work around this?
Re: sysnative sandboxie problem
Posted: 01 Dec 2020 18:46
by swan_x
no, you cannot change the value in the target field. whatever value you enter is not accepted...
only win explorer don't change value, so it works...
when XY 64bit will it be available?
Re: sysnative sandboxie problem
Posted: 01 Dec 2020 18:49
by nas8e9
swan_x wrote: ↑01 Dec 2020 18:46
when XY 64bit will it be available?
It
won't, unfortunately: the conversion to .NET was cancelled for performance reasons.
Re: sysnative sandboxie problem
Posted: 01 Dec 2020 19:55
by swan_x
ok. thankfully there is a chance to have a contextual menu with right button and then you can start any file from here.
so, the shortcut is a relative problem...
Re: sysnative sandboxie problem
Posted: 01 Dec 2020 22:00
by swan_x
solved.
moved shortcut requires sandboxie into C:\Program Files (x86)\ to run command.
so, i have put (copied from original path C:\Program Files\Sandboxie) on C:\Program Files (x86)\Sandboxie only 2 files required run command: Start.exe and SbieDll.dll
with this trick i can move the shorcut where i want and everything works well !!
tanxs to everybody for your attention and your suggestion.