You are here

Magical Jellybean Keyfinder Portable 2.0.1 Development Test 5 *OUTDATED*

135 posts / 0 new
Last post
BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Magical Jellybean Keyfinder Portable 2.0.1 Development Test 5 *OUTDATED*

New topic HERE

Name: Keyfinder
Category: Utilities
Description: The Magical Jelly Bean Keyfinder is a utility that retrieves your Product Key (cd key) used to install windows from your registry. It has the options to copy the key to clipboard, save it to a text file, or print it for safekeeping. It works on Windows 95, 98, ME, 2000, XP, Server 2003, Windows Vista, Office XP, Office 2003, and Office 2007. Keyfinder became open source under GPL on March 26th. ZachHudock's modded version of keyfinder has been used for Development test 5.

Download Keyfinder Portable 2.0.1 (Final-Modded) Development Test 5
[MD5:18a75959b5d85177b4b9716d59fe266e | 580 Kb Download | 1.22 Mb Extracted]

For those that are intrested in the mod:
Download Keyfinder Modded 2.0.1
[Zip Archive | 450 Kb Download | 936 Kb Extracted]

From ZachHudock:This modification to the Keyfinder base application now saves the registry settings in HKCU instead of HKLM. It also adds a .manifest file so the app can use styled buttons to match the current Windows theme, instead of being stuck in Win2000 style. Full source code is included.
The source is also included in Keyfinder portable.

Release Notes:

Development Test 5

  • The font registry settings are now in the launcher
  • For those that prefer the original (non modded) version of Keyfinder, Development Test 4 is avlailable Here

Things to do:

  • fix issues with saving font settings
ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
I know how to fix it...the

I know how to fix it...the thought just currently left my mind. I'll post back in 5 minutes after I look at your source again.

Edit:

Change your CheckRunning: section to this

	CheckRunning:
		Sleep 1000
		FindProcDLL::FindProc "${DEFAULTEXE}"                  
		StrCmp $R0 "1" CheckRunning
		Goto TheEnd

I can make a new Icon for you as well. Expect it ready some time this weekend, possibly later tonight.

Edit2: I'll test the PAF-conformedness this evening as well and report back on that.

The developer formerly known as ZGitRDun8705

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
No No

Edit2: I'll test the PAF-conformedness this evening as well and report back on that.

I will. Smile

  • You should be copying the .cfg file back and forth to Data\settings.
  • You're missing a help.html file. Copy a generic one from something like Jooleem.
  • If you don't need that .cfg file by default, remove it, but if it is needed, keep it in App\DefaultData\settings and have it copied to Data\settings on first run if it doesn't exist (most of the launchers do this).
  • In appinfo.ini, change the Publisher to Magical Jellybean Software & PortableApps.com
  • Change the website to PortableApps.com/DevelopmentTest (or /Keyfinder)
  • The Start line in appinfo.ini should be KeyfinderPortable.exe.
  • Using something like IcoFX, open the original program exe and make the icon only have 48, 32 and 16 bit sizes in both 256 and 8 bit formats.
  • Add Other\Source\AppSource.txt from another app. (Task Coach, say)
  • Put the Readme back in Other\Source.

  • Put the INI back in Other\Source....
  • Change your copyright in the source to be:

    Copyright (C) 2008 Brian All

    Below Johns, and put a space between that and the website which needs to be changed as I said for the AppInfo.ini.

  • The VER variable is for the launcher, not the app, which is at like 1.5.7.0 ish.
  • In the CompanyName, removed (Your Name).
  • Change the LegalCopyright to PortableApps.com & Contributers.
  • Change the 100 on line 168 (splash line) to 0.
  • Remove the appicon.ico from Other\Source and change the line in the source back to the line for the MUI_ICON.
  • That's all I found. Get those updated and it should be almost perfect. Nicely done.

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
New beta

The VER variable is for the launcher, not the app, which is at like 1.5.7.0 ish.
I am using the 2.0 beta 5 version as a base app, the old 1.5 version is not OSS.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
VER is the LAUNCHER version,

VER is the LAUNCHER version, not the base app version. John's launchers are at version 1.5.5.0 or something like that.

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Oh!

Oops, sorry, the stable version of keyfinder is 1.5.7.0ish too, and I mixed them up. I'll fix it now.

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Thanks Zach

I was going to add the Keyfinder source code, but It appears that Magical Jelly Bean hasn't released it for download yet.

PS- I dropped a note for you on the test release page, you can add this there whenever you get a chance.

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Don't Modify App Source

Don't ever modify the base application source, it should almost never be needed. That way it's easier to provide updates, and it's the same as a local install. The launcher can handle most everything you need.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
He didnt say anything about

He didnt say anything about modifying their source....he said he was going to add the source to the package....

The developer formerly known as ZGitRDun8705

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Oh

My mistake. I just read your code and then he said he was going to add their source code, I thought he said add it.

Anyway, Brian, although it's small, you can just host the source on my server and we'll host it on PortableApps.com when it's released.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Should I use b23 or Brian

Should I use b23 or Brian All for your name in the table?

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Zach: go with Brian23

Brian23 is better.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
done

done

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Err...

you mixed up Keyfinder and Juice.. Smile

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
umm...check again, i did no

umm...check again, i did no such thing Wink

The developer formerly known as ZGitRDun8705

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Haha

Lmao.

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Patrick:

the .cfg file is needed to add the ability to retrieve additional software keys from software other than Microsoft.
I don't think it is mandatory, but it is a useful addition.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
he never said get rid of it,

he never said get rid of it, he said the launcher should move it back and forth between the app dir and /Data/settings on each launch and exit.

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
he said this:

If you don't need that .cfg file by default, remove it,
but I'm going to move it back & forth anyway.

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Keyword: If

The keyword is IF. Some apps create there settings file automaticially. So, if it does create that file each time run, you don't need to keep it in App\DefaultData\settings, if it doesn't you will have to copy it from there on first run, and then copy it back and forth from the ProgramDirectory to the SettingsDirectory.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
that file isnt actually a

that file isnt actually a settings file, it's a list of all of the locations in the registry that different applications store their product keys in.

The developer formerly known as ZGitRDun8705

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Yea

I saw that shortly after. So Brian, I apologize, extensions are decieving. If there's updates made to that file regularely, then copy it to data. If not, keeping it in the program directory is fine.

Edit: After a look, I see users can modify the file from the program, so it's best to copy it back and forth.

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
wow

you surprise me... this was requested this morning and you already release it...

And you release one and a half hour ago and already have a lot of feedback...

Great!

Pretty good job... I'm going to check your app in a minute... Wink

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Thanks!

It was pretty easy though... Wink
It is basically portable as it is, I just made it PAF compliant.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
I found that if you change

I found that if you change the display fonts for the app, it does leave a registry key behind in

HKLM\SOFTWARE\Magical Jelly Bean Software\Keyfinder

Check out the 7-zip launcher for handling reg keys.

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
great

I'll fix this.
Actually, you need special user rights for the HKLM key.
Eraser portable is a better example for this.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Right. Sorry, it didnt

Right. Sorry, it didnt register that it was an HKLM key lol.

The developer formerly known as ZGitRDun8705

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
THis is Awesome

Dude, thanks a bunch. I just got home. i was waiting for this all day. you rock. i geuss i will let you know when a new version may come out since he wont finish.

if you dont mind, i will work on the cfg file to search for new keys.

Stephen A. Warren

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
NP

Thanks. Check out Dev test 2, I just released it.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Hey Brian, I finished that

Hey Brian, I finished that new icon for you. here's a PNG preview of it.

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Great! Thanks!

That is 10x better than the default one! Amazing!
Too late for Dev test 2 though...
I'll include it in the next release as I said below.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
The original had high-res

The original had high-res versions available in the original exe, so i extracted those and created a new appicon.ico for you. I also created an appicon.ico with my icon.

Download below (right-click, then choose Save As):

With original icon

With my icon

The developer formerly known as ZGitRDun8705

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
nice icon

i never though this would have happened since i posted the program info this morning.

I will post an updated cfg in a few minutes

Stephen A. Warren

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Development Test 2 Released

Alright! Biggrin Keyfinder Portable has been updated!
Included Updates:

  • copying the .cfg file back and forth to Data\settings
  • Added a help.html file.
  • Updated copurights, websites, etc in launcher and ini as reccomended by Patrick
  • Added readme, license, appsource.txt
  • Fixed bug causing the app to open after exit as reccomended by Zach

The icon fix is set for the next release, as is the fix for the registry key found by Zach.

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
heres the link

i didnt know where to upload it so i put it on rapidshare

http://rapidshare.com/files/104931700/keyfinder.cfg.html

let me know if you need any thing else

Stephen A. Warren

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Thanks

I'll see if I can get it DT3.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Dev Test 2 is missing the

Dev Test 2 is missing the .cfg file.

Your KeyfinderPortable.ini should look like this:

[KeyfinderPortable]
KeyfinderDirectory=App\Keyfinder
SettingsDirectory=Data\settings
KeyfinderExecutable=keyfinder.exe
AdditionalParameters=
DisableSplashScreen=false

# The above options are explained in the included readme.txt
# This INI file is an example only and is not used unless it is placed as described in the included readme.txt

it looks like you used the ini from FirefoxPortable for that...

You used a somewhat non-standard way of moving the file. I made the necessary changes to the launcher for the file move stuff, and will post an updated .nsi file shortly. This is still your project, and i don't expect to be mentioned in the source, i just wanted to set it up so its similar to all the other launchers out there.

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
oops..

I thought it was in there...
You're right about the .ini file.
I'll be back tomorrow to fix this up.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Heres the nsi

here's the updated nsi script, to properly handle moving the file. Good job on getting this going

The developer formerly known as ZGitRDun8705

John T. Haller
John T. Haller's picture
Offline
Last seen: 8 hours 22 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Hmmm...

I'm not so sure about this one. While I can understand running this on your own PC to recover your own key... I can't really think of a legitimate reason for having this portable. I can think of illegitimate ones, though.

Sometimes, the impossible can become possible, if you're awesome!

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
computer tech, IT admin

a legitimate reason is if you're a computer tech or an IT admin

John T. Haller
John T. Haller's picture
Offline
Last seen: 8 hours 22 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Install

In which case, you could install it locally since you don't care about the Windows install you're about to overwrite with a reinstall.

Sometimes, the impossible can become possible, if you're awesome!

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
it also shows other keys

it also shows other keys like office, so you wouldn't necessarily restore windows after. it's just a handy tool that you don't have to install (not that you had to install the original version anyways). plus it just shows a key; it's not like he released ophcrack portable or anything.

digitxp
digitxp's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2007-11-03 18:33
Not

Popular enough
Use Produkey, already portable

Insert original signature here with Greasemonkey Script.

Travis Carrico
Offline
Last seen: 16 years 1 week ago
Developer
Joined: 2006-10-22 00:30
yes it is

it is popular. i've used it before and i think both it and produkey are already portable. this one is just one exe file.

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
yeah...

I knew there was going to be debate on this when I posted it...
It is basically portable already, only an exe and cfg file. It does leave some stuff in the registry, as Zach mentioned above, and I thought I would make it paf compliant.
It is quite a popular and useful app. John is right about possible illigitmate usage, but keep in mind the sole, legitimate purpose of the program: to find a product key that has been lost, or for IT administration, etc. If you went around to peoples houses to repair their windows installation for them, or if you have multiple PCs at your house, this would be a useful tool.

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
It works for me but not many people do....

It works for me but not many people do what i do. I am the Administrator for my schools E.A.S.T. Lab and we have shadows(admin trainees) who lose our key all the time. Produkey never worked on our computers. besides our lab has 35 pc's so it is perfect for us when we need to wipe a pc.

Stephen A. Warren

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
it really is a good tool for

it really is a good tool for an admin, or if you custom-built a PC so it doesnt have a Windows license key on the side of it and you can't find the paper that came with the OS, or if you lost the key for some other app that you have installed.

The developer formerly known as ZGitRDun8705

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
Ok, so i tested it....

I tested it and it doesnt work at all. All i can get is my serial key for my pc. But when i run the original without the .paf extension, i can get my information, my pc serial and my ZoneAlarm product key. Im not sure what happened but i geuss it has something to do with the programming.

Stephen A. Warren

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
it's because he left the

it's because he left the .cfg file out of Dev Test 2

The developer formerly known as ZGitRDun8705

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
ahhh

I was wondering why i wasnt seeing it.

Stephen A. Warren

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
let me know if you need any

let me know if you need any more info

Stephen A. Warren

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Sorry about that...

I had put the cfg file in Data\settings, and was moving it around. I'll fix this very soon.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Since the app is no longer

Since the app is no longer being developed, I've been playing around with it's source a little bit, and I was very easily able to change where the app stores it's registry settings for the font.

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
whaduya mean no longer developed?

I'm still working on it, my internet access was cut of temporarily for the last few days! I'm working on it, and I'm almost done dev test 3.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
I meant the base

I meant the base application, not your portable version lol. If you are interested, I successfully recompiled the base app to save it's settings in HCKU instead of HKLM.

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
?

Did you say you changed the base app's source to alter where it stores the registry settings? It would be great if I could get this for the launcher, it would make things simpler. I was having some trouble with the launcher script, but I seem to have got it, and I'm almost finished.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
I did modify the base app's

I did modify the base app's source to alter where the reg settings are saved. I don't have enough delphi knowledge to get it to store them in an ini or anything, but i was able to get it to save to HKCU instead of HKLM, so you won't have to worry about admin access then. I'll send the files along later tonight when I'm on my own PC.

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Development Test 2.1 released

see release notes for more info...
I am getting errors with the compiler. More info later..

LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 10 months ago
Developer
Joined: 2007-09-11 12:24
Check download please, can't

Check download please, can't get it to download.

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Fixed

the installer will still say 2.1 though.

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
2.1 = 3

Oops! i couldn't edit my comment, but the thread was updated to read dev test 3. The installer will still read 2.1 though, so keep in mind that for now, 2.1 = 3.

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
No Small Increments

This is a general note to everyone posting development tests. Just move development tests up in numerical order, there's no reason to put a version number (2.1) as it makes it more confusing, and it's a 'Test', so there's no reason to have test and a tenth as it's read. Blum

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
sorry

i'll change it. diddn't know.

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
: )

It's all good. Smile

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Altered version of base app

Zach, f you can please post your altered version of Keyfinder here, I will use it in the next release, as it is somewhat easier to deal with HKCU than HKLM. I tried adding the key in HKLM to the launcher, but I kept getting errors and could not get the compiler to finish. I'll start form scratch for Dev test 4. I had to remove the cfg settings part of the launcher because it was causing errors too. I will try to fix this problem before the end of the week.
Any other recommendations would be great.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Alright, sorry it took so

Alright, sorry it took so long, I was out for the evening, but here it is now.

Keyfinder modded

This modification to the Keyfinder base application now saves the registry settings in HKCU instead of HKLM. It also adds a .manifest file so the app can use styled buttons to match the current Windows theme, instead of being stuck in Win2000 style. Full source code is included.

The developer formerly known as ZGitRDun8705

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
U do know

this will always be a beta in a way??

ok, tested it. Works great. no new keys yet but will post when found

Stephen A. Warren

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Dev Test 3

Icon for the installer looks odd, but looks fine everywhere else, not sure about this one

You left keyfinder.cfg in both /App/DefaultData/settings and in /App/Keyfinder

/App/AppInfo has a Thumbs.db file left behind

Using a non-standard way to check for /Data/settings and move settings files around. Here is a corrected version of the launcher for handling keyfinder.cfg (it does not add the registry support, but if you need help with that, just ask)

I posted my modified version of Keyfinder (changes location in registry) here

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Development Test 4 Released

This version will copy the cfg file to Data\Settings after close on first run. I'm looking at the modded version now.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Looks good now, thanks for

Looks good now, thanks for updating the nsi file Smile

Hopefully my modded version will come in handy for you making this portable.

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Thanks for it..

I don't know delphi at all Pardon , so do you think you could clue me in to exactly what you did so I could do it myself for future updates? Can I use Notepad++ for it?

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
You would need a delphi

You would need a delphi compiler to recompile the source. The base app is no longer being developed (the author said he no longer had time to maintain it, so he'd make it OSS), but as I keep playing around with it, I'll upload my changes to the SourceForge project if I can, then you wouldn't have to worry about making the change each time.

I don't really know delphi either though, I found that change by accident, but after I figured that out, it got me interested, so i'm gonna try learning, and hopefully improve the app.

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Okay

That's great. Your modded version looks great, maybe we can continue to maintain this app. I'd still like to take a look at the code anyway; I'm googleing for a compiler now.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Here's what you want.

Here's what you want. I want to see if I can make it compile using Lazarus, but no luck so far Sad

The developer formerly known as ZGitRDun8705

jellybean
Offline
Last seen: 16 years 8 months ago
Joined: 2008-04-09 23:10
Delphi 7, free license...

You can get a free license for Delphi 7 from Codegear:

http://cc.codegear.com/Free.aspx?id=24962

They no longer offer the software for download, but you can get it from a mirror.

http://mirrors.jx90.com/

LOGAN-Portable
LOGAN-Portable's picture
Offline
Last seen: 11 years 10 months ago
Developer
Joined: 2007-09-11 12:24
53MB??

53MB??

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
what you mean

What are you talking about?

Stephen A. Warren

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Development Test 5 Source Code:

Okay, I've been working on this on and off for a bit and it seems like I've got the registry stuff almost worked out. This launcher code is intended for ZachHurdock's Modded version of Keyfinder (not the original)
However, the app's font settings are not reloading once the app is restarted. (ex. I change the font to Arial, then close, then open, and the font is courier again.) Anyone know what's wrong here? Pardon :

Section "Main"
	;=== Check if already running
	System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${NAME}2") i .r1 ?e'
	Pop $0
	StrCmp $0 0 CheckForINI
		StrCpy $SECONDARYLAUNCH "true"

	CheckForINI:
	;=== Find the INI file, if there is one
		IfFileExists "$EXEDIR\${NAME}.ini" "" NoINI
			StrCpy "$INIPATH" "$EXEDIR"
			Goto ReadINI

	ReadINI:
		;=== Read the parameters from the INI file
		ReadINIStr $0 "$INIPATH\${NAME}.ini" "${NAME}" "${APPNAME}Directory"
		StrCpy "$PROGRAMDIRECTORY" "$EXEDIR\$0"
		ReadINIStr $0 "$INIPATH\${NAME}.ini" "${NAME}" "SettingsDirectory"
		StrCpy "$SETTINGSDIRECTORY" "$EXEDIR\$0"

		;=== Check that the above required parameters are present
		IfErrors NoINI

		ReadINIStr $0 "$INIPATH\${NAME}.ini" "${NAME}" "AdditionalParameters"
		StrCpy "$ADDITIONALPARAMETERS" $0
		ReadINIStr $0 "$INIPATH\${NAME}.ini" "${NAME}" "${APPNAME}Executable"
		StrCpy "$PROGRAMEXECUTABLE" $0
		ReadINIStr $0 "$INIPATH\${NAME}.ini" "${NAME}" "DisableSplashScreen"
		StrCpy "$DISABLESPLASHSCREEN" $0

	;CleanUpAnyErrors:
		;=== Any missing unrequired INI entries will be an empty string, ignore associated errors
		ClearErrors

		;=== Correct PROGRAMEXECUTABLE if blank
		StrCmp $PROGRAMEXECUTABLE "" "" CheckForProgramINI
			StrCpy "$PROGRAMEXECUTABLE" "${DEFAULTEXE}"
			Goto CheckForProgramINI
			
	CheckForProgramINI:
		IfFileExists "$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" FoundProgramEXE NoProgramEXE

	NoINI:
		;=== No INI file, so we'll use the defaults
		StrCpy "$ADDITIONALPARAMETERS" ""
		StrCpy "$PROGRAMEXECUTABLE" "${DEFAULTEXE}"
		StrCpy "$DISABLESPLASHSCREEN" "false"

		IfFileExists "$EXEDIR\App\${DEFAULTAPPDIR}\${DEFAULTEXE}" "" NoProgramEXE
			StrCpy "$PROGRAMDIRECTORY" "$EXEDIR\App\${DEFAULTAPPDIR}"
			StrCpy "$SETTINGSDIRECTORY" "$EXEDIR\Data\${DEFAULTSETTINGSPATH}"
			StrCpy "$ISDEFAULTDIRECTORY" "true"
			GoTo FoundProgramEXE

	NoProgramEXE:
		;=== Program executable not where expected
		StrCpy $MISSINGFILEORPATH $PROGRAMEXECUTABLE
		MessageBox MB_OK|MB_ICONEXCLAMATION `$(LauncherFileNotFound)`
		Abort
		
	FoundProgramEXE:
		;=== Check if already running
		StrCmp $SECONDARYLAUNCH "true" CheckForSettings
		FindProcDLL::FindProc "$PROGRAMEXECUTABLE"                 
		StrCmp $R0 "1" WarnAnotherInstance CheckForSettings

	WarnAnotherInstance:
		MessageBox MB_OK|MB_ICONINFORMATION `$(LauncherAlreadyRunning)`
		Abort
	
	CheckForSettings:
		IfFileExists "$SETTINGSDIRECTORY\*.*" MoveSettings
		;=== No settings found
		StrCmp $ISDEFAULTDIRECTORY "true" CopyDefaultSettings
		CreateDirectory $SETTINGSDIRECTORY
		Goto DisplaySplash
	
	CopyDefaultSettings:
		CreateDirectory "$EXEDIR\Data"
		CreateDirectory "$EXEDIR\Data\settings"
		CopyFiles /SILENT $EXEDIR\App\DefaultData\settings\*.* $EXEDIR\Data\settings
		GoTo MoveSettings

	MoveSettings:
		Rename "$SETTINGSDIRECTORY\keyfinder.cfg" "$PROGRAMDIRECTORY\keyfinder.cfg"
		Sleep 200
		
	DisplaySplash:
		StrCmp $DISABLESPLASHSCREEN "true" GetPassedParameters
			;=== Show the splash screen before processing the files
			InitPluginsDir
			File /oname=$PLUGINSDIR\splash.jpg "${NAME}.jpg"	
			newadvsplash::show /NOUNLOAD 1500 200 0 -1 /L $PLUGINSDIR\splash.jpg

	GetPassedParameters:
		;=== Get any passed parameters
		Call GetParameters
		Pop $0
		StrCmp "'$0'" "''" "" LaunchProgramParameters

		;=== No parameters
		StrCpy $EXECSTRING `"$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE"`
		Goto AdditionalParameters

	LaunchProgramParameters:
		StrCpy $EXECSTRING `"$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" $0`

	AdditionalParameters:
		StrCmp $ADDITIONALPARAMETERS "" LaunchNow

		;=== Additional Parameters
		StrCpy $EXECSTRING `$EXECSTRING $ADDITIONALPARAMETERS`
	
	SettingsDirectory:
		;=== Set the settings directory if we have a path
		IfFileExists "$SETTINGSDIRECTORY\*.*" RegistryBackup
			CreateDirectory $SETTINGSDIRECTORY

	RegistryBackup:
		StrCmp $SECONDARYLAUNCH "true" LaunchAndExit
		;=== Backup the registry
		${registry::KeyExists} "HKEY_USERS\S-1-5-21-1957994488-1364589140-839522115-1003\Software\MagicalJellyBeanSoftwareBackupByKeyfinderPortable" $R0
		StrCmp $R0 "0" RestoreSettings
		${registry::KeyExists} "HKEY_USERS\S-1-5-21-1957994488-1364589140-839522115-1003\Software\Magical Jelly Bean Software" $R0
		StrCmp $R0 "-1" RestoreSettings
		${registry::MoveKey} "HKEY_USERS\S-1-5-21-1957994488-1364589140-839522115-1003\Software\Magical Jelly Bean Software" "HKEY_USER\S-1-5-21-1957994488-1364589140-839522115-1003\Software\MagicalJellyBeanSoftwareBackupByKeyfinderPortable" $R0
		Sleep 100

	RestoreSettings:
		IfFileExists "$SETTINGSDIRECTORY\Keyfinder.reg" "" LaunchNow

	;RestoreTheKey:
		IfFileExists "$WINDIR\system32\reg.exe" "" RestoreTheKey9x
			nsExec::ExecToStack `"$WINDIR\system32\reg.exe" import "$SETTINGSDIRECTORY\keyfinder.reg"`
			Pop $R0
			StrCmp $R0 '0' LaunchNow ;successfully restored key
	RestoreTheKey9x:
		${registry::RestoreKey} "$SETTINGSDIRECTORY\Keyfinder.reg" $R0
		StrCmp $R0 '0' LaunchNow ;successfully restored key
		StrCpy $FAILEDTORESTOREKEY "true"
	LaunchNow:
		Sleep 100
		ExecWait $EXECSTRING
		
	CheckRunning:
		Sleep 1000
		FindProcDLL::FindProc "${DEFAULTEXE}"                  
		StrCmp $R0 "1" CheckRunning

	;DoneRunning:
		StrCmp $FAILEDTORESTOREKEY "true" SetOriginalKeyBack
		${registry::SaveKey} "HKEY_USERS\S-1-5-21-1957994488-1364589140-839522115-1003\Software\Magical Jelly Bean Software" "$SETTINGSDIRECTORY\Keyfinder.reg" "" $0
		Sleep 100
		
	MoveSettingsToData:
		Rename "$PROGRAMDIRECTORY\keyfinder.cfg" "$SETTINGSDIRECTORY\keyfinder.cfg"
		Sleep 100

	SetOriginalKeyBack:
		${registry::DeleteKey} "HKEY_USERS\S-1-5-21-1957994488-1364589140-839522115-1003\Software\Magical Jelly Bean Software" $R0
		Sleep 100
		${registry::KeyExists} "HKEY_USERS\S-1-5-21-1957994488-1364589140-839522115-1003\Software\MagicalJellyBeanSoftwareBackupByKeyfinderPortable" $R0
		StrCmp $R0 "-1" TheEnd
		${registry::MoveKey} "HKEY_USERS\S-1-5-21-1957994488-1364589140-839522115-1003\Software\MagicalJellyBeanSoftwareBackupByKeyfinderPortable" "HKEY_USERS\S-1-5-21-1957994488-1364589140-839522115-1003\Software\Magical Jelly Bean Software" $R0
		Sleep 100
		Goto TheEnd
		
	LaunchAndExit:
		Exec $EXECSTRING
	
	TheEnd:
		${registry::Unload}
		newadvsplash::stop /WAIT
SectionEnd

Here is the full .nsi file. Once this is fixed I will post the updated version. I think I'll also add the HKLM stuff into the launcher for the original app and post that too, just to finalize it.
BTW, anyone find anything else left behind?

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
Change all of

Change all of HKEY_USERS\S-1-5-21-1957994488-1364589140-839522115-1003 to HKEY_CURRENT_USER the first is unique to your user ID on your PC, and is identical to HKCU

Also, Keyfinder updated to 2.0.1 final. I'll get the source for that and change the registry key again, and upload that.

Edit: Here it is.

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Development Test 5

has been released. I added the registry settings to the launchers. This release uses Zach's Mod of Keyfinder (see above).

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
cool...good job, just an

cool...good job, just an FYI, there's no R in my last name, its H U D O C K

The developer formerly known as ZGitRDun8705

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Oops...sorry

sometimes me eyes decieve me. I'll fix it.

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
no big deal.....thanks

no big deal.....thanks Smile

The developer formerly known as ZGitRDun8705

millarrp
Offline
Last seen: 11 years 1 month ago
Joined: 2007-03-02 13:43
devlopment test 5 works on Vista Ultimate SP1

I've finally got around to trying th is, and it works well in vista ultimate sp1.

I haven't checked the registry at all, but I couldn't see anything obvious on the hard drive

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
all settings in registry

I think this app saves all it's settings in the registry, so use something like regshot to find them. Thanks.

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
5:00PM CENTRAL TIME

I will be releasing an updated version of the .cfg files. I am calling for everyone to find any product keys in their registry to write it route down and post it on the MJB forum. The link is below. I will take up as many as possible. I have more than 10 new serials to update. Thanks and happy searching!!!

http://www.mjbforum.com/forum/viewtopic.php?t=150

Stephen A. Warren

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
Updated CFG

Added Product ID to tell whether OEM to Windows Information
and the following Programs and Games:

Dreamweaver MX
Flash MX
Contribute MX
Fireworkd MX
Freehand MX
VMware 6.0 Workstation with Ace
Sony Vegas Platinum 8.0
Command and Conquer 3 Tiberium Wars Kane's Wrath Expansion
Swiftdog GameHike
Swiftdog GameThrust

Also Included is a Vista Version. The reason for the vista version is their is a line of code that messes up whenever key finder is run on vista. So i deleted that line and it now works better on vista.

http://rapidshare.com/files/111377518/Keyfinder_XP_Vista.rar.html

P.S. Sorry its on rapidshare. If anyone else can add me to their account, it would be awesome.

Stephen A. Warren

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Thanks!

Thanks stephen, I have a few things to ask:

  1. A: Can you show me the line of code that needs to be deleted? or,
    B: Delete that line on This modification of keyfinder. This mod, done by Zach, saves the font settings in HKCU instead of HKLM, so a user on an account with lowered priveledges can still write/save the reg settings with the launcher. The icon was also updated. Source is included. I don't know if it it is in this version of the mod, but a .manifest file was also added so it can take on the current theme of the OS rather than be stuck in the Win2k style.
  2. Also, rather than using rapidshare, next time just email the file to me at my address, which can be found on my user page Here. Then I can upload the file to my hosting and give you the link. It makes it easier. Wink
  3. Thanks for all your work, I'll use this in the next test.

swarren08
Offline
Last seen: 6 years 2 months ago
Joined: 2006-12-17 03:29
the line is

=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion=CSDVersion

Vista hates that line.... so, you will have to erase it and make a vista version

Stephen A. Warren

BrianAll
Offline
Last seen: 6 years 5 months ago
Joined: 2008-02-13 13:44
Is it necessary?

What is the exact function of this line, because if it has no extremely important function, why have two separate versions when the "vista" version works fine on XP too?
I've been looking around, and it seems that \CurrentVersion=CSDVersion is replaced on vista as \CurrentVersion=CSDBuildNumber. So yes, it does appear that two separate versions might be necessary, but rather than completely remove that line that points to a non-existent reg value, it should probably be replaced with the proper value. Here, check this out. Here is the screenshot. Just google that registry value for more info.
Anyone have Vista SP1 so I can confirm this? It would be a help.

Pages

Log in or register to post comments