AkelPad

Discuss anything related to portable freeware here.
Post Reply
Message
Author

User avatar
__philippe
Posts: 609
Joined: Wed Jun 26, 2013 2:09 am

Re: AkelPad

#2 Post by __philippe » Wed Oct 30, 2013 8:16 am

Akelpad registry writings warning
Just downloaded AkelPad-4.8.5-bin-eng.zip

Started AkelPad.exe; from Options->Settings->Registry, clicked "Save settings" to INI file; closed AkelPad.

Checked registry with Nirsoft's RegScanner

To my utter dismay, RegScanner discovered no less than 103 AkelPad entries, 93 of which are "HKCU\Software\Akelsoft\AkelPad\Options"

Users beware ...:-(

__philippe

User avatar
JohnTHaller
Posts: 640
Joined: Wed Feb 10, 2010 4:44 pm
Location: New York, NY
Contact:

Re: AkelPad

#3 Post by JohnTHaller » Wed Oct 30, 2013 9:03 am

To avoid that, create a text file called AkelPad.ini in the same directory as the EXE before running and add this to it:

[Options]
SaveSettings=2

That should prevent AkelPad from dropping that chunk of settings into the registry. Note that we've observed AkelPad write occasional bits to the registry outside of that initial run on a few occasions, so AkelPad Portable handles the HKCU\Software\Akelsoft registry key as well.
PortableApps.com - The open standard for portable software | Support Net Neutrality

User avatar
__philippe
Posts: 609
Joined: Wed Jun 26, 2013 2:09 am

Re: AkelPad

#4 Post by __philippe » Wed Oct 30, 2013 10:30 am

to: JohnTHaller

Thanks for your work-around,...for the benefit of the next would-be guinea-pigs...;-)

Yet, I would have expected AkelPad to refrain from dumping those myriad settings to the Registry in the first place,
once their purposedly provided "save settings to INI file" option is activated during the initial run ..???

Thoughtful design intention, sloppy implementation, if you ask me...:-(

Meanwhile, I'll stick with tried and true QJot and Jovial Notepad

__philippe

User avatar
JohnTHaller
Posts: 640
Joined: Wed Feb 10, 2010 4:44 pm
Location: New York, NY
Contact:

Re: AkelPad

#5 Post by JohnTHaller » Thu Oct 31, 2013 9:39 am

You're welcome. :) I did a little bit of trial and error to determine the minimum viable INI file. It turns out that unlike some apps, having a blank AkelPad.ini in the directory didn't trigger portable behavior. But just having the settings that tells it to save to the INI set (SaveSettings=2 in Options) is enough for it to generate the rest of the defaults.

I think AkelPad creates all its settings in the registry on startup before you even get to the option for saving to INI. I don't think they considered it from a 'fully portable on first run' perspective... just a 'set this to make it use an INI from now on' one.
PortableApps.com - The open standard for portable software | Support Net Neutrality

User avatar
Midas
Posts: 5409
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: AkelPad

#6 Post by Midas » Thu Oct 31, 2013 2:52 pm

Great info, JohnTHaller. Thanks. :)

Ruby
Posts: 324
Joined: Sat Sep 05, 2009 6:35 pm

Re: AkelPad

#7 Post by Ruby » Thu Oct 31, 2013 5:00 pm

It should be noted that:

[Options]
SaveSettings=2

directs AkelPad to use the INI and not the Registry but still writes 'Recent files' and 'Search history' when =>1 are set in 'Settings...'

In order to be portable and avoid the 'First run' registry writes (stealth)

[Options]
SaveSettings=2
RecentFiles=0
SearchStrings=0

~Ruby

User avatar
__philippe
Posts: 609
Joined: Wed Jun 26, 2013 2:09 am

Re: AkelPad

#8 Post by __philippe » Fri Nov 01, 2013 3:10 am

Thanks to Ruby for this additional reminder.

One important caveat about creating a dummy "1st run" akelpad.ini for version 4.8.5:

For this operation to be successful, it is imperative to use an editor capable of saving text in UNICODE strings format !

See also recent comment in the main AkelPad DB entry http://www.portablefreeware.com/index.php?q=akelpad

Cheers,

__philippe

User avatar
JohnTHaller
Posts: 640
Joined: Wed Feb 10, 2010 4:44 pm
Location: New York, NY
Contact:

Re: AkelPad

#9 Post by JohnTHaller » Fri Nov 01, 2013 8:27 am

Good catch, Ruby. I hadn't done a regshot on the first run of it with just my base INI.
PortableApps.com - The open standard for portable software | Support Net Neutrality

User avatar
webfork
Posts: 9363
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: AkelPad

#10 Post by webfork » Mon Dec 21, 2015 6:10 pm

Wanted to do an entry edit on this but I noticed the notes about using a "Unicode-aware editor" and "Unicode-encoded file". I have a vague idea of what that means but I'd like to spell that out clearly in the entry comments. Any suggestions? Again, simplicity is key.

User avatar
smaragdus
Posts: 2120
Joined: Sat Jun 22, 2013 3:24 am
Location: Aeaea

Re: AkelPad

#11 Post by smaragdus » Tue Dec 22, 2015 4:25 am

Wanted to do an entry edit on this but I noticed the notes about using a "Unicode-aware editor" and "Unicode-encoded file". I have a vague idea of what that means but I'd like to spell that out clearly in the entry comments. Any suggestions? Again, simplicity is key.
I suppose that an editor that can save text files in UTF-8 encoding for example is required.
AkelPad is such an editor. ;)

User avatar
webfork
Posts: 9363
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: AkelPad

#12 Post by webfork » Tue Dec 22, 2015 3:27 pm

smaragdus wrote:
... I noticed the notes about using a "Unicode-aware editor" and "Unicode-encoded file". I have a vague idea of what that means but I'd like to spell that out clearly in the entry comments. Any suggestions?
I suppose that an editor that can save text files in UTF-8 encoding for example is required.
AkelPad is such an editor. ;)
Let me ask this another way: if someone asked me to setup AkelPad using the current instructions I would have no idea how to do that. Can someone spell that out for me?

User avatar
Erdeslawe
Posts: 7
Joined: Thu Dec 24, 2015 6:49 am

Re: AkelPad

#13 Post by Erdeslawe » Thu Dec 24, 2015 6:57 am

Webfork,

As a new registrant on the site, I hesitate to provide such an obvious answer, but why not advise users to make use of Windows Notepad to create and save the required Unicode Text File for Akelpad, i.e. Create the file in Notepad, then File > Save As > Select Unicode from the drop-down options.

User avatar
webfork
Posts: 9363
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: AkelPad

#14 Post by webfork » Tue Dec 29, 2015 4:09 pm

Erdeslawe wrote:I hesitate to provide such an obvious answer, but why not advise users to make use of Windows Notepad to create and save the required Unicode Text File for Akelpad, i.e. Create the file in Notepad, then File > Save As > Select Unicode from the drop-down options.
Because this program lists compatibility with non-Unicode operating systems (pre-Win2k). I don't think Windows' Notepad will function there.

Thanks for the suggestion and welcome to the forums.

Anyway, at this stage, I'm going to recommend we switch to the PortableApps version.

---

Edit: I just verified that the standard notepad in Win7 doesn't view Unicode, which is what this thread was all about. So standard Windows is Notepad is probably unusable regardless of OS.

Post Reply