How to create Cameyo packages inside of Sandboxie | Programming Skillz | Forums

A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
How to create Cameyo packages inside of Sandboxie
They said it couldn't be done. "Creating Cameyo Packages inside of Sandboxie."
Topic Rating: +1 (1 votes) 
January 8, 2013
11:04 AM
Shawn
Novice
Forum Posts: 4
Member Since:
January 8, 2013
Offline
1
+1

Hello everyone,

                     I thought I might make you lose your week-end or make you all sleep deprived with this simple work around trick I found while testing the limits of 2 great softwares…

 

Cameyo Package Builder running in sandboxie and making the packages work outside of the sandbox afterwards!

 

Step 1. Download the latest build of Cameyo.

Step 2. Download the latest version of Sandboxie.

Step 3. Installl both of those softwares.

 

Step 4. Find the path information of where Cameyo has resided I’m currently using Windows XP but this method works as long as you get the right paths. (Most of the time you’ll find it by the VOS folder.

 

    – Mine is located at C:\Documents and Settings\<user profile>\Application Data\VOS\Cameyo\%Program Files%\Cameyo

                      – Inside this folder there is a file called Packager.xml we’ll get back to this file after we find out where Sandboxie is

                        Storing it’s temporary registry keys..

 

For finding the actual location right click on the sandbox icon that is located on the bottom right of your Taskbar (Looks like a pizza slice) Go to DefaultBox then use Run any program.

With this new pop-up window that is open (Leave it open for now) open Regedit (Now just open the keys don’t go deleting stuff xD) For me under xp it’s Start-Run : Regedit.

 

Open the Key called HKey_User then you should see something that says : “Sandbox_<user profile>_DefaultBox”

Write that down.

 

Now close Regedit and the run any program pop-up.

 

Now going back to the packager.xml file look for this section.

<KeysToAvoid>
  <Path name=”Registry\Machine\System\*\Control\ServiceCurrent” />
  <Path name=”Registry\Machine\System\*\Services\WinSock2″ />
 </KeysToAvoid>

 

Under   <Path name=”Registry\Machine\System\*\Services\WinSock2″ />
add a line >>>>  <Path name=”Registry\USER\Sandbox_<user profile>_DefaultBox” />

 

So you will get this instead

<KeysToAvoid>
  <Path name=”Registry\Machine\System\*\Control\ServiceCurrent” />
  <Path name=”Registry\Machine\System\*\Services\WinSock2″ />
  <Path name=”Registry\USER\Sandbox_<user profile>_DefaultBox” />
 </KeysToAvoid>

 

Save the file.

 

Now for the fun part right click on Packager.exe (The crate siymbol) and run in sandbox Default.

Be patient as it has to make a total copy of your registry as a temp file as sandboxie does not have it.

The good news is the line we added to the packager stops the endless loop which was the main issue for sandboxie failing.

 

Once it asks you to install an application take a program that you wish to make as a package (Forget softwares like GAOTD as the protective tool blocks sandboxie so anything that couldn’t run under sandbox is a lost cause)

 

Once installation is done click the button that says : “Installation Done”

Sandboxie will ask you to recover the file just choose where you want to save it.

Wait a few minutes and voila a Cameyo package that you can use outside of the sandbox just make sure to edit the package to make it properly isolated and your done.

 

The bonus feature when making the cameyo package this way is that nothing is stopping you of re-running that same package in a sanbox for double security

 

Also should you have many sandboxes that you wish to block just keep on adding them to the end of the packager.xml section as mentioned above.

 

Have fun and should you have any questions ask..

 

Sandboxie’s forum and Cameyo’s forum does not contain this information. You’ve heared it first here at DotTech.

 

 

January 8, 2013
5:04 PM
Ashraf
Mr. Boss
Forum Posts: 1800
Member Since:
October 22, 2008
Offline
2
0

Thanks for the guide Shawn!

January 9, 2013
9:17 AM
cameyo.com
Novice
Forum Posts: 2
Member Since:
January 9, 2013
Offline
3
0

Thank you Shawn, I enjoyed reading that.

When you write <user profile>, I suppose you mean: [percent character]UserProfile[percent character] ?

Perhaps I should add that by default to Cameyo’s Packager XML, what do you think?

 

Btw, do you know of Cameyo’s GhostCapture mode? Admitingly not as good as Sandboxie for running installations, but a sandbox too :)

 

Thanks for the interesting post.

cameyoco

January 9, 2013
11:21 AM
Shawn
Novice
Forum Posts: 4
Member Since:
January 8, 2013
Offline
4
0

@cameyo.com

 

Glad you enjoyed it.

For the user profile part I did not enter it as the [percent character]UserProfile[percent character] as the reason behind it some people may have a custom sandbox folder that is not under the actual username. As for the Ghost Feature I am aware of it, works well however using this method I was able to keep the intakes of the package to a minimum; but hey in my book whatever works and makes it easy for people to enjoy portable apps however I will definitely try your suggestion with the percentage userprofile and see what results I get differently as I’m always looking for the fastest shortest ways on getting stuff done.

 

P.S: Wasn’t sure that the registy section would accept wildcards and variables from the previous sections.

 

Take care and thanks for signing up to the forum for your comment and suggestions and thanks for your team for making such a great tool available.

 

Shawn

 

January 11, 2013
5:23 PM
cameyo.com
Novice
Forum Posts: 2
Member Since:
January 9, 2013
Offline
5
0

Sorry, I meant %Profile% (NOT %UserProfile%)

cameyo translates this variable into the profile’s dir (i.e C:\Users\[username] or 

C:\Documents and Settings\[username])

I'll be keeping an eye to see if there's more interesting posts that teach me how to better use my product :)
January 12, 2013
1:25 PM
Shawn
Novice
Forum Posts: 4
Member Since:
January 8, 2013
Offline
6
0

@Cameyoco

 

I’ll re-test all the steps with your new added infomation and modify my original post to match the new changes.

 

As you mentioned making better use of your product is the key.

I’ve read your forum and blogs and can’t wait for the new version that runs mostly in memory.

As for your program I am also a programmer but you would not ever see me build such a program, reason behind it too many people like me would try to over do it ;-)

 

So my hat’s to you…

 

P.S: Reason why this post got started was a while ago on Sandboxie and Dottech website there was a debate on your previous version on how to stop the endless loop. So it’s nice to have closure sometime eventhough some people would never find the use for it. For me with your tool I was able to make packages that I could re-instate or even make a better un-install of certain installed application. Even using your GhostCapture feature to see where programs we’re writing to be able to clean leftovers better. I’ve never used a software the way it was ment to be as I’m always looking for improvements that can make my life easier with less tools and with cameyo I’m able to do just that.

 

Shawn

January 20, 2013
12:11 PM
JMJ
Novice
Forum Posts: 9
Member Since:
January 11, 2011
Offline
7
0

Thanks for the thorough walk-thru.

Forum Timezone: America/Los_Angeles

Most Users Ever Online: wp_sferrorlog

Currently Online:
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

phoenix_rising: 899

karen: 878

Wheezer: 786

yourpalal: 647

PCbasics: 614

ebony: 549

Member Stats:

Guest Posters: 13

Members: 11354

Moderators: 0

Admins: 3

Forum Stats:

Groups: 3

Forums: 17

Topics: 3254

Posts: 18955

Newest Members: DorreianpON0, olvelotedd, sunandoghosh, juneliu, ahdii, isa

Administrators: Ashraf: 1800, Locutus: 1886, amnesia: 270

Comments