OLD JauntePE tutorial

Discuss anything related to JauntePE, the utlimate utility to help you tame non-portable applications. Share your experience about the apps that work with JauntePE, and the apps that don't.
Post Reply
Message
Author
User avatar
Firewrath
Posts: 321
Joined: Mon Aug 28, 2006 2:36 pm

OLD JauntePE tutorial

#1 Post by Firewrath »

Ok, like the title says, this is the Old JPE tutorial i dug out of redllars first JPE thread,
(which is now up to almost 79,000 views, O_O)

you dont need this if you have my JPE documentation pack i did a while back, ...and sorely need to update, -_-
redllar has it hosted:
redllar wrote: It's also here if you don't want to use one of those wonky sites.
i made VERY minor changes, like just a word or two and spelling mistakes, so, like i said, your not missing anything, :P


Anyways, here it is:


So, First you take the app you wanna make portable, lets go with uhh,
OpenedFilesView
ok, i know, you guys are going to be like:
"Wait a minute! thats already portable or else it wouldnt be listed on the site, you moron!"
and then ...well, id say somethings and you would and itd all get removed by an admin,
(i mean, really, have you Seen how mean Fluff gets? ;)
Plus, it even says its 'emergency use' kinda thing and not 100% portable, so Ha! :P)

so, lets skip that and just have you trust me, ok?
plus, OFV has an odd detail with JPE and i can get that out there for you guys, ^-^

Anyways, we have our program, we unzip the program and throw it somewhere on a USB stick, or the 'C:\' drive,
...why?
because i dont want to get into a lot of excludes just yet,

Now we open the main JPE program, now, you can run OFV through the launcher and findout how it works, or the discovery mode, eitherway will give you a lot of info to work with, and you might want to do it if your going to make a lot of portable apps,
but i dont, and im not saying you shouldnt, im just lazy, :P

so instead we go right for the Wizard and hit 'Build Portable'
(im doing this as i go, just to be 100% ^-^)

we hit select and find our OFV folder, and grab the OFV.exe,
then we hit 'next'
and we want allll our poor lonely files in the OFV folder,
(you know, so theyre not lonely anymore,)
so we hit 'next' again, ...and again,

then it pops up asking what we want to do with the registry,
ok, well, we wanna make this portable, AND go easy on our USB stick,
so we tell it to redirect the registry, the Top button of the middle two,
and at the bottom he check 'Keep portable registry in memory' ONLY, nothing else,.....

Then we hit 'next' again,

ok,
this part is going to get tricky later on, but for now,
we Dont want to redirect Any files, OFV deletes the file it uses Right after it uses it, so unless it crashes in the middle of a Refresh, your good,

so we just hit 'next' ...again,

the next three options are All user preference,
i use the USB icon so im sure of what exe im hitting when im in a hurry,
and im not worryed about space enough that i stuff anything into the exe,

(i actually run my USB a totally different way but putting that here would just add to the confusion ive already caused, :P)

So, we're done, or we think we are anyways,
(we close the main JPE program now, and from HERE on, when i say JPE, i mean the new OFV portable exe, ...again, *lazy* :))

...but wait, its not working, wth,

well, it doesnt copy the dll files you need to run the app,
(last i knew it was somewhere on the 'To Do' list, but yeah,....)

Alright, we go into the JPE directory, copy the 'jauntePE.dll' and the 'madCHook.dll' to the OFV folder,

And, we are do___waitwaitwait, its still not working, what gives?
...well, Honestly, i havnt a fricken Clue, but redllar did and told me how to fix this, Yay him! ^-^

we need to make a ini file in the OFV directory,
now, normally its damn hard to get the right file names for this stuff,
but if youve ran it once, and it made a registry file, its easy,

copy the registry name till after the '_'

in this case "OpenedFilesView_"
(we will use this later, but for now, keep it somewhere,)

now, open notepad (or whatever you use),
and put this in it:

Code: Select all

[Registry]
Use=1
Data=.\Registry\OpenedFilesView_registry.reg

[Filesystem]
Use=0

[RegistryExclude]
1=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet
heres what i know about all this:

[Registry] tells JPE 'this is where All the registry info is going to be, and where we look for that info'

Use= is an on or off switch "0" is 'off' and "1" is 'on'
when used under the registry/filesystem tags, and is set to "1"
its telling it:
"Yes, we are going to redirect the registry/filesystem."

when its set to "0" its telling it:
"No. Your not allowed to redirect the registry/filesystem."

[Filesystem] tells JPE 'this is where All the filesystem info is going to be, and where we look for that info'

ok, and now for the odd one on the list, and WHY OFV wont work yet,

[RegistryExclude] kinda explains itself,
its saying "Even if we are told to redirect the registry, ignore that and dont redirect the following registry keys."

in this case:
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet"
Which, for some reason, that i dont know, is why OFV wont work,
i have No clue as to what this key actually does, and why its messing with OFV, but it is,
so, you Have to add this key to the excludes to get OFV to work,
i dont know if that goes for all monitoring programs or what, but, if i found one wasnt work right, its the first key id try,

and, yes, your going: "Ok, so whats the deal with the '1=' ?!"
geez, let me get to it, >.<

anyways, the registy excludes have to be added in a list:
1=
2=
3=

and so on,
Filesystem excludes use a list also, but need to be done differently,
ill get to those some other time, if you guys Really need them,
i mean, its 1:30am, (ok, 1:28am) dont get pushy, eh? :P

now, anyone about to tell me i skipped one,
Shush, it was important stuff first, :P

Data= tells JPE where you want your registry files, for that non-cluttered look, (i bugged redllar for MONTHS to get this, ;))
in this case its saying to store the registry file here:
"\Registry\OpenedFilesView_registry.reg"
the little "." tells it its starting in the same directory as the program,
so, granted you have to Make the folders first, this lets you give a directory based off where JPE is running from, to the folder you want the registry in, this Also works for the filesystem, (but OFV isnt redirecting one, so we're not going to use it, :P)

Anyways, we make a folder in the OFV directory called 'Registry',
the 'OpenedFilesView_registry.reg' file will now be stored there,

also, you can name 'Registry' whatever you want, as long as it matches whats in that line,

OK,
Now we're going to use that name from WAY up there,
save the file as "OpenedFilesView_jauntePE.ini"
(for you notepad people, make sure you change the "Save as type:" from '.txt' to 'All Files', this is Important,
if you dont it wont save the .ini right and it Wont Work,
(IE: itll save it as "OpenedFilesView_jauntePE.ini.txt" and that is Wrong. ok? :P)

the ini with "jauntePE" in the name, is Actually telling the new OFV app to override the default settings that are in the program with the ones from the .ini,

NOW, we are Done! Yay!
checkitcheckitcheckit,
it works? right?
Woooooo!

...if it doesnt work, ___.....
well, id get introuble for saying that,
Leave me questions and ill try to help, as best i can and with what little i know here,
*whew*
Last edited by Firewrath on Sun Aug 19, 2007 12:11 am, edited 3 times in total.

User avatar
Firewrath
Posts: 321
Joined: Mon Aug 28, 2006 2:36 pm

#2 Post by Firewrath »

portable-freak also made a guide for using JPE,
since it never hurts to over-explain some things, ...and to keep things fair, :P
Here it is, without portable-freak's permission, ...again, ;)

portable-freak wrote: This is basically what I do:

01. Install your application the usual way --> Folder named "App1"
02. I'd copy folder "App1" to the desktop.
03. Launch JauntePE.exe
04. Click on "Build Portable"
05. Select "App1.exe" located in folder "App1" on the desktop + next
06. Select folder "App1" on the desktop for the portable executable + next
07. Select folder "App1" on the desktop for JauntePE runtime files + next
08. Select both "Application registry modifications are redirected into a portable registry" and "Keep portable registry in memory" + next
09. Select "Application special directory file system modifications are redirected into a portable file system" + next
10. Select "Use the application's executable's icon" + next
11. Select "Require ....." + next
12. Select "Require ....." + next
13. Finish.
14. Now, you've got "App1_portable.exe" in folder "App1" on the desktop with all other files.
15. Copy both "jauntePE.dll" and "madCHook.dll" to folder "App1" on the desktop.

Launch the portable application using "App1_portable.exe"

Since Firewrath is mentioning an ini file:

1. I'd create 2 empty folders called "Registry" and "File System" inside folder "App1" on the desktop.
2. Create an empty *.txt file and name it "App1_jauntePE.ini" and enter the following:

Code: Select all

[Registry]
Use=1
Data=.\Registry\App1_registry.reg

[Filesystem]
Use=1
Data=.\File System\
Now, feel free to correct me if I am doing anything wrong lads ;)

Post Reply