Page 1 of 1

Akelpad keeping 2 copies (Program Files + SysWOW64)

Posted: Fri Jun 10, 2016 10:55 pm
by mrklpd
[Build Context]
OS: Win7 x64
Build: Latest x64 Installer - 4.9.7 (x64)
Install type: Notepad Replacement (Alternative via registry Checked)

[Question]
Why Akelpad keep a copy of itself in the "Program Files" directory, on top of the one in %windir%\SysWOW64 ?

[The problem] 2 copy, only 1 get updated...
When I apply updates to my active copy (the one located in SysWOW64) , i noticed that the "program files directory" copy doesn't get those update applied... Actually, that copy is never updated nor used at any time..


Can I uninstall that unused copy, located in the "Program Files" directory ?

Posted: Sat Jun 11, 2016 1:10 am
by mrklpd
Which also got me wonder why those two instance are not linked using junction like symbolic link or hard link ?

.. Now I have to apply update Twice on each updates..
Please let me know if i'm missing something, im still new to akelpad

Posted: Sun Jun 12, 2016 3:28 pm
by FeyFre
mrklpd
That is DIFFERENT files. One 32 bit, Other 64 bit. It is part of so called "File System Redirection". SysWOW64 is storage of 32bit binaries. None of 32 bit programs will see content of 64bit Notepad(AkelPad which replaces it in out case) in its legal location(C:\windows\system32). The same 64bit app will not ever see 32bit Notepad(=AkelPad). UNLESS: they know they are in hostile environment(32 binary in 64bit system and vice versa)/or ask system to cancel FSR.
Conclusion: 32bit updater will update only 32bit AP, 64bit - only 64bit AP.

Posted: Sun Jun 12, 2016 6:24 pm
by mrklpd
FeyFre wrote:mrklpd
That is DIFFERENT files. One 32 bit, Other 64 bit. It is part of so called "File System Redirection". SysWOW64 is storage of 32bit binaries. None of 32 bit programs will see content of 64bit Notepad(AkelPad which replaces it in out case) in its legal location(C:\windows\system32). The same 64bit app will not ever see 32bit Notepad(=AkelPad). UNLESS: they know they are in hostile environment(32 binary in 64bit system and vice versa)/or ask system to cancel FSR.
Conclusion: 32bit updater will update only 32bit AP, 64bit - only 64bit AP.
Thanks FeyFre.
So, IIUC, because some of my apps are 32 bits (hence uses/require 32bit version of notepad/akelpad), while some other apps are 64 bits (hence uses/require 64bit version of notepad/akelpad), It IS relevent to keep both instance updated... (if not, please tell me why)


And because the akelpad updated doesn't process both instance when updating, this means applying each and every akelpad's updates/tweaks/modification to both located instance, separately, each time?

of course, the most important instance would be the one I use on a daily basis/explicitly (the 64bit version, located in the "program files" directory).. But having my 32 bits application using an outdated version of akelpad, yet alone for the security risk it could pose, doesn't seems logical on the long run to me..

sorry for my english btw.. im not native..
Please let me your thought on this again.

And thanks for your reply. This is much appreciated!

Posted: Tue Jun 14, 2016 11:58 pm
by mrklpd
On a side note.

I just tested running each instance seperately, analysing process activity for each, and while I noticed and can confirm two things:
1- Each instances (SYSWOW64 vs ProgramFiles) are running seperates settings (they are not bound one to another in any way, so if you want to keep both the same, you have to apply every modification on both instance, or have both config files "symlinked")

2- Curiously, both instance are running in the 64bit process infrastructure context.. (even the one located and launch from SYSWOW64)...
This said, i'm a bit confused to the reason why it keeps two 64 bits copy of the program... (I thought the SYSWOW64 directory were for 32 bit-based applications)

Please give me some input.
Thanks

Re: Akelpad keeping 2 copies (Program Files + SysWOW64)

Posted: Wed Jun 22, 2016 5:21 am
by Instructor
mrklpd wrote:Install type: Notepad Replacement (Alternative via registry Checked)

Can I uninstall that unused copy, located in the "Program Files" directory ?
You probably install AkelPad with notepad replacement in several ways. If you install it alternatively via registry and specify installation folder "Program Files", you don't need copies in "System32" and "SysWOW64". If in doubt: uninstall AkelPad fully from all folders (make sure Microsoft's notepad.exe exists in "System32" and "SysWOW64") and make clean installation.

Re: Akelpad keeping 2 copies (Program Files + SysWOW64)

Posted: Wed Jun 22, 2016 11:38 am
by mrklpd
Instructor wrote:You probably install AkelPad with notepad replacement in several ways. If you install it alternatively via registry and specify installation folder "Program Files", you don't need copies in "System32" and "SysWOW64". If in doubt: uninstall AkelPad fully from all folders (make sure Microsoft's notepad.exe exists in "System32" and "SysWOW64") and make clean installation.
A Clean installed, but I also unchecked the "Notepad Replacement" as well during install that time.
thanks