Topic: Notepad++ universal Plugin  (Read 10000 times)

0 Members and 1 Guest are viewing this topic.

Re: Notepad++ universal Plugin
« Reply #20 on: February 01, 2017, 04:31:10 AM »

kendrick

  • Jr. Chef
  • **
  • Date Registered: Sep 2014
  • Posts: 16
I would like to recomend a change in the plugin.   line 114    If,ExistFile,FileDelete,%DownloadFolder%\allowAppDataPlugins.xml,NoRec   

that file did not get automatically extracted on my most recent run and caused an error in the build.

Re: Notepad++ universal Plugin
« Reply #21 on: October 31, 2017, 05:01:35 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 240
After a longer hiatus I decided to resume work on my Npp plugin as I need to build a fresh Win8.1SE x64 in the near future.
I discovered that my plugin won't work for current 32 bit versions (Npp v7.5x) any longer.

Lancelot managed to create a (SE only) plugin for Npp 7.5.1 recently, afaics he added a few dependencies. I successfully tested it.
Lancelot's plugin automatically uses Npp's 64bit version for x64 PE builds, which my plugin doesn't do; it's not interchangeable.

Oddly, adopting the dependency information to my own plugin didn't have an effect.

Building a basic Npp deployment (without plugins/themes/config etc.) using the Notepad++_universal plugin,
when I run it within Win8.1SE later on I'll only get the following messages (in that order):

  • Checking certificate of X:\Program Files\Notepad++\SciLexer.dll DLL signature verification failed
  • Library verification failed Authenticode check failed: signature or signing certificate are not recognized
  • Exception On WM_CREATE ScintillaEditView::init : SCINTILLA ERROR - Can not load the dynamic library

It doesn't matter if I use a prepared Npp deployment or simply run the executable of a minimal x86 package.
I tested both npp.7.3.3.bin.minimalist and npp.7.4.2.bin.minimalist.

Does anybody have an idea?
« Last Edit: October 31, 2017, 05:18:12 AM by Mikka, Reason: Added link »

Re: Notepad++ universal Plugin
« Reply #22 on: November 01, 2017, 12:08:35 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7378
Does anybody have an idea?

As written on plugin HistoryNotes,

I get very same 3 messages with Gena Basic Build,
Code: [Select]
HistoryNotes03=Gena Failures:
HistoryNotes04=1) checking certificate SciLexer.dll - Dll signature verification Failed -
HistoryNotes05=2) Library verification failed -- Authenticode check failed: signature or signing certificate are not recognized
HistoryNotes08=3) Exception on WM_Create - ScintillaEditView::init : SCINTILLA ERROR - Can not load the dynamic library


I do not get these 3 messages with Win10PESE x64 Basic Build so I put plugin to server with (SE only) on description. But I now learn there is same trouble with Win8.1SE.


*
I created plugin on server initially for repack c't magazine distribution,
http://theoven.org/index.php?topic=2255

These days I can only make quick basic tests for plugins only with Genax86/x64 and Win10PESEx64

If you have progress about these 3 failures with Win8.1SE let us know.


*
Basic Build: http://theoven.org/index.php?topic=1876.0


:turtle:
« Last Edit: November 01, 2017, 12:09:48 AM by Lancelot »

Re: Notepad++ universal Plugin
« Reply #23 on: November 01, 2017, 10:01:19 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 240
Hi Lancelot,

thanks for the reply. I came across this post and another one, that looks like a Npp bug.

Running your plugin for Win10PESE on Win8.1SE x64 works, minimal packages (64 bit only) also work.
However, running minimal packages (32 bit) will cause the 3 messages to show up.

You wrote the plugin for Win10PESE so I assume the dependencies are specific for this PE build.
As your plugin works fine for Win8.1SE x64 as well, I ran a cut down version of it (just x86) for Win8.1SE (x64) and got the 3 messages again.

I additionally uncommented the line
Code: [Select]
Set,%PluginArch%,x86
before the Require_FileQ,... section.

It's possible that the dependencies aren't correct for Npp x86 on W8.1SE, though.
Unfortunately that's still rather vague ...

Re: Notepad++ universal Plugin
« Reply #24 on: November 01, 2017, 11:07:09 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7378
Hi Mikka,

*
Yes there are sometimes very rare dependency situations where things mismatch with x86 x64

I can not make tests for all projects for a single plugin with both architectures
 (Currently= 5x2= 10 Basic build tests ! )
Instead as I wrote, I make 3 tests (Win10PESE x64 , Gena x86/x64) , which mostly covers all situations.
   (and Gena tests very very fast which does not much effect my free time)

 On Notepad ++ v7.5 case, I could make 1 test only with Win10PESE x64.
  For Nt6x and later applications, I only make tests with latest SEx64.
   I do not have more free time to test all SE.

*
I made a quick update on L plugin to avoid end user reports untill this issue solved.
(Win8.1SE-x64 + Win10PESE and later)
Downloads\AppYGS\Supplementary\Office\NotePad ++ PlusPlus (L) -> v5 now

ps: see History004a= History004= History005= HistoryNotes11= HistoryNotes12= HistoryNotes14=

I made some quick tests,
NotePad ++ v6.9.2.0 seems to be last version (x86) that works very fine with all PE
I made a quick simple plugin for that to preserve.
Downloads\AppYGS\Supplementary\Office\NotePad ++ PlusPlus v6 (L)

Further:
Following instinct I test "NotePad ++ 7.0 x86"
Bingo,
This is where things start:

It does not work properly with Win10PESEx64 Basic build
--> "NotePad ++ 7.0 x86" starts but you can not write anything inside.

And on Gena x86 does not work but gives a different error message
Exception on VM_Create - bad locale name

****
I advise you start a new plugin for Notepad++ v7 and retire current one.  :wink:
We do similar time to time,
ex:
\Downloads\AppYGS\HD Tasks\Active@ Partition Manager 1
\Downloads\AppYGS\HD Tasks\Active@ Partition Manager 2
\Downloads\AppYGS\HD Tasks\Active@ Partition Manager 3.5
\Downloads\AppYGS\HD Tasks\Active@ Partition Manager 5



****
Well Notepad++ is not my favorite editor, I use NotePad2  :wink:
I only made a quick Notepad++ v7 plugin following latest version on web for repack c't that is all.

You are the Notepad++ Universal Master
Rest is on your hands.  :thumbsup:

:turtle:

Re: Notepad++ universal Plugin
« Reply #25 on: November 08, 2017, 01:01:21 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 240
It's not easy to track this down, I've got a springtime Win8.1SEx64 build on a usb2 stick with N++ 7.4-somewhat [x86] which was done with Notepad++ universal. It works flawlessly with full customization, additional plugins and so forth. Version 7.5 however came with changes.
While N++ x64 on a x64 build of Win8.1SE works fine (thanks to your plugin), any x86 variation doesn't any longer.

Unfortunately, if you like to work with N++ plugins (I definitely do), you're better off with the 32 bit version.
I'll get back to this as soon as I've got more time on my hands.
:wink:

 

Powered by EzPortal