Hello all,
EDIT: Project page is now at https://portableapps.com/development/projects/registry_rocker.
I've released a beta version of Registry Rocker. It's available for download here, and its source code and NSI template (based on QuickPort) are also available.
Registry Rocker lets you generate an NSI file (future versions will also compile it) to launch a program using the Windows Registry portably.
TO DO:
- Add support for the PortableApps directory structure
- Allow parsing of a
template.nsi
file, so the source doesn't have to be hard-coded in - Do something with UserName, which is collected but not used yet
- Enable compilation of the NSI file
- Add an OSS launcher (uStart?), ResHack and File/RegMon (if possible, but licensing is probably too restrictive; haven't looked yet).
- Fix any bugs...
If anyone can help, I'd really appreciate it.
What do you think?
~nm35
I will tried it out, works good. Didn't see any functional problems.
One thing however, when you state the Filestream error, you might want ot make the error a little more user friendly, most are not going to know what a filestream error is. Also it doens't actually check if Launcher.nsi is open, I had it open in notepad and notepad++, it just overwrites it and doesn't state it does that. So when closing the file and reopening it is the new one, and the old is gone. Might not be a problem, but you never know. I am looking into C++ now, don't know much on how it works, but you might want to check on the
!nsifile.is_open()
command.***********************************
Deuce {The Core}{Dev Blog}
Portable Software: Just the beginning.
Deuce
Portable Software: Just the beginning.
nsifile.is_open() checks to see if RegRock could successfully open the file itself, not if it's open by another program. If it were locked (by MS Word, for example) it would return an error.
Any suggestions for importing a template, modifying it, then generating the launcher file? Or, more important at the moment, filesystem commands (call makensis.exe, move things around, maybe generate 7z SFX files)?
I'm new to C++ also; I've spent about 8 hours on it so far. Most of what I've done was from tutorials, like the ones on www.cprogramming.com.
~nm35 {blog} {site}
Mark Smith | PortableApps.com Developer
I've added a project page here.
~nm35 {blog} {site}
Mark Smith | PortableApps.com Developer