You are here: PSPad forum > Bug report / Hlášení chyb > error:Unable to launch PSPad.exe!
Posted by: stoyanov.st | Date: 2017-05-22 07:16 | IP: IP Logged
EditWithPSPad - error
PSPad 5.0.0 (227)
Version 1511 (OS Build 10586.916)
When PSPad is integrated into OS using DLL library
Compatibility flag is set to RUNASADMIN
The error appear.
Posted by: pspad | Date: 2017-05-22 07:53 | IP: IP Logged
Sorry, but your report down't give any useful information how to solve your problem.
Can I ask, why do you set run as admin compatibility? There is no reason for it.
Run PSPad as user, not as admin, go to program settings / System integration, change integration to registry, confirm, change it back to DLL, confirm.
Do the same when PSPad was started as admin.
It will fix association in registry for start PSpad from context menu.
Edited 1 time(s). Last edit at 2017-05-22 07:58 by pspad.
Posted by: stoyanov.st | Date: 2017-05-22 08:22 | IP: IP Logged
The reason is simple, avoiding some more clicks and actions - whenever I'm editing some .ini file inside Program files folder (the risk making such dangerous action is clear), or for example editing system hosts file, additional permissions are required and you have to save your file in other folder than to copy it back to the source folder, this is what I'm trying to avoid.
And yes I forgot mentioning it's via context menu.
I followed your instructions to reset the integration when the compatibility flag was set to runasadmin, no change.
Whenever integration is made via registry, it all OK, except icons in context menu
Edited 1 time(s). Last edit at 2017-05-22 08:24 by stoyanov.st.
Posted by: stoyanov.st | Date: 2017-05-24 06:24 | IP: IP Logged
As a workaround I found that solution for suitable:
Which appears to work within Program Files, but not with hosts file
Still under investigation.
Edited 1 time(s). Last edit at 2017-05-24 06:32 by stoyanov.st.
Posted by: stoyanov.st | Date: 2017-06-05 10:39 | IP: IP Logged
Last satisfying working configuration for me is to integrate PSPad via registry and add icons via default registry entries, i.e. in
add new REG_EXPAND_SZ with name icon and value:
Same for other two entries PSPad HEX and PSPad TextDiff.
This I believe can be easily integrated into the program it self.
And that way it is working with compatibility flag RUNASADMIN. No errors, no prompts.
Source for icons resolution: stackoverflow.com