ccppuu
Topic Author
Posts: 48

3.0.5311.784 no plugin

Tue Jul 11, 2017 6:09 am

3.0.5311.784 build portable not load plugins.
 
User avatar
dmex
Posts: 1204
Location: Australia

Re: 3.0.5311.784 no plugin

Tue Jul 11, 2017 7:51 am

You sure you're using the correct paths and settings?
 
ccppuu
Topic Author
Posts: 48

Re: 3.0.5311.784 no plugin

Tue Jul 11, 2017 7:58 am

How check it.
I have replaced previuos exe in the folder only.
Same problem if i delete "ProcessHacker.exe.settings.xml" in folder application.
 
User avatar
diversenok
Posts: 15
OS: Windows 7 x64
Location: Source Code

Re: 3.0.5311.784 no plugin

Tue Jul 11, 2017 8:06 am

I had similar problem when messed up with plugins files. Try to disable plugins in Options → General, restart PH, and enable them again.
 
ccppuu
Topic Author
Posts: 48

Re: 3.0.5311.784 no plugin

Tue Jul 11, 2017 8:15 am

disable plugins and enable them again not solve for me.
Also, when PH restart it have error:
Impossible to find \Device\ImDisk0\ProcessHacker\ProcessHacker.exe
If i move PH from virtual device to phisical device and disable plugins and enable them again then it work.
Problem is virtual device.
 
User avatar
diversenok
Posts: 15
OS: Windows 7 x64
Location: Source Code

Re: 3.0.5311.784 no plugin

Tue Jul 11, 2017 8:39 am

I was able to reproduce this behavior. I created Ram disk (R:\) and launched PH from it's root folder. So, what i get:

Image file name: \Device\ImDisk0\ProcessHacker.exe
Command line: "R:\ProcessHacker.exe"

I figured that Process Hacker tries to find plugins in "R:\Device\ImDisk0\plugins\". It combines image file name, drive, and \plugins\ sub-folder. And it fails.

UPD:
I was not able to force windows to use "R:\ProcessHacker.exe" as image file name. For you it's easier to put plugins in the place, where PH searches for them. It will work ;)
 
User avatar
dmex
Posts: 1204
Location: Australia

Re: 3.0.5311.784 no plugin

Tue Jul 11, 2017 11:48 am

Fixed in #f0c02aa :thumbup:
 
ccppuu
Topic Author
Posts: 48

Re: 3.0.5311.784 no plugin

Tue Jul 11, 2017 12:01 pm

Confirm fix, ty.
 
ccppuu
Topic Author
Posts: 48

Re: 3.0.5311.784 no plugin

Tue Jul 11, 2017 12:47 pm

But now FileBrowseExecutable is not working on virtual device.
 
User avatar
diversenok
Posts: 15
OS: Windows 7 x64
Location: Source Code

Re: 3.0.5311.784 no plugin

Tue Jul 11, 2017 4:25 pm

PH 3.0.788 still have several places in the code where it tries to access files using incorrect names when it runs from virtual disk. For example — it can't obtain icon for itself (in main tree view).

PH accesses R:\Device\ImDisk0\ProcessHacker.exe instead of R:\ProcessHacker.exe.
Here is Process Monitor log with stack traces.

Who is online

Users browsing this forum: No registered users and 4 guests