Hi,
I have a small problem with SandboxIE which prevents me from upgrading from version 2.64 which I am currently using.
I am running on a Win2k system, yes I know it's old but it's a PC from work and I cannot influence on the choice of OS.
Anyways, when upgrading from 2.64 (which runs without any problems) to 2.86 (and I've also tried the newest 3.0x version) I see two issues:
1. I get a message saying the registry hive could not be deleted whenever I end a sandboxed process. Not a big deal I suppose and the message can always be silenced as far as I can tell.
2. I play the game Warcraft III on this work PC so I prefer to run it sandboxed (automatically downloads updates from the internet, and in any case I don't want to leave traces of the game on the PC). Under version 2.64 it runs without any problems, but with ver 2.86 and later the game will not recognize that the original CD is in the drive and therefore refuse to start.
Is this a known issue? If you need more information then please also give me some clues on how to get it.
Thanks in advance!
Unable to detect CD in drive
Moderator: Barb@Invincea
-
- Posts: 2690
- Joined: Tue Dec 26, 2006 5:44 pm
- Location: West Florida
Yeah, 2.86 and especially 3.0 are much more strict than 2.64, so to get this working, what you'll need to do is 2 things:
1. Open the resource(s) to your cd drive.
2. (if your using 3.0) Find the classname of the the game your trying to run and allow the classname in the ini file.
For step 1 i can try and help you out, goto your ini file and add these:
OpenFilePath=\Device\CdRom*
OpenFilePath=\Device\Ide\*
OpenFilePath=\Device\Scsi\*
OpenFilePath=\Device\Atapi\*
Then reload your config.
Now for step 2 (assuming your running 3.0) you'll need to add the classname of the game to your ini file, soooo, to find the classname, (and this will sound silly) install autoit, why? because it contains a "window tool" which you'll need. So once you've installed autoit, open the autoit window tool and find the classname of your game, once you got it, goto your ini and add
OpenWindowClass=nameofthegamesclasshere
Now just reload your config, and then the game should be able to read the cd drive while sandboxed just fine.
1. Open the resource(s) to your cd drive.
2. (if your using 3.0) Find the classname of the the game your trying to run and allow the classname in the ini file.
For step 1 i can try and help you out, goto your ini file and add these:
OpenFilePath=\Device\CdRom*
OpenFilePath=\Device\Ide\*
OpenFilePath=\Device\Scsi\*
OpenFilePath=\Device\Atapi\*
Then reload your config.
Now for step 2 (assuming your running 3.0) you'll need to add the classname of the game to your ini file, soooo, to find the classname, (and this will sound silly) install autoit, why? because it contains a "window tool" which you'll need. So once you've installed autoit, open the autoit window tool and find the classname of your game, once you got it, goto your ini and add
OpenWindowClass=nameofthegamesclasshere
Now just reload your config, and then the game should be able to read the cd drive while sandboxed just fine.
Thanks for your prompt reply SnDPhoenix!
Unfortunately I haven't been able to make much progress however. Do I have to complete both step 1 and 2, or were they two different approaches to reach the same goal?
I tried the OpenFilePath approach (step 1) already without any luck with version 3.00 (latest download available). When it did not work I sat down to try and understand how the tracing worked, so I enabled tracing of all denied requests and checked the debug output. Here I see that there was a denied request to /Device/CdRom0 - which should fit quite nicely with the error message I get ("Warcraft III could not detect the Warcraft III CD in your CD drive", or something like that). This was logged as an F denial (FD), so I thought OpenFilePath would be the correct method to solve my problem. I added the following line to my SandBoxie.ini file to open up this denied request specifically:
OpenFilePath=\Device\CdRom0
Afterwards I reloaded the ini file again and tried once more to run my game.
Again the trace tells me that an F request to \Device\CdRom0 was denied. This surprised me and I'm clueless when it comes to how to proceed now.
Best regards
Happy
Unfortunately I haven't been able to make much progress however. Do I have to complete both step 1 and 2, or were they two different approaches to reach the same goal?
I tried the OpenFilePath approach (step 1) already without any luck with version 3.00 (latest download available). When it did not work I sat down to try and understand how the tracing worked, so I enabled tracing of all denied requests and checked the debug output. Here I see that there was a denied request to /Device/CdRom0 - which should fit quite nicely with the error message I get ("Warcraft III could not detect the Warcraft III CD in your CD drive", or something like that). This was logged as an F denial (FD), so I thought OpenFilePath would be the correct method to solve my problem. I added the following line to my SandBoxie.ini file to open up this denied request specifically:
OpenFilePath=\Device\CdRom0
Afterwards I reloaded the ini file again and tried once more to run my game.
Again the trace tells me that an F request to \Device\CdRom0 was denied. This surprised me and I'm clueless when it comes to how to proceed now.
Best regards
Happy
Additional information
By the way, I am able to install the program from the CD sandboxed. Executing it after it is installed however will give the message that it cannot locate the CD in the drive.
You implied the game is installed sandboxed, not merely running sandboxed. If that is the case, you will need to use OpenPipePath rather than OpenFilePath, for the setting to apply.Happy wrote:Again the trace tells me that an F request to \Device\CdRom0 was denied. This surprised me and I'm clueless when it comes to how to proceed now.
tzuk
OpenPipePath
Mucho gracias, seems to work well when I use OpenPipePath. I guess I should sit down and try once more how all this works in Sandboxie - I already did try, but even though I don't consider myself stupid when it comes to stuff like this I must admit that I don't fully understand yet.
Anyways, thanks a lot for the help and once again a huge thank you to tzuk for this excellent program.
Anyways, thanks a lot for the help and once again a huge thank you to tzuk for this excellent program.
Who is online
Users browsing this forum: No registered users and 1 guest