Plug In - MyPath activate ?

HOME_X

Member
Hello !
Distributing your Plug-In

Installing your Plug-In basically means copying it to PL/SQL Developers Plug-In directory. If you want to build an installer, you can determine the PL/SQL Developer directory by reading the following registry value:

HKEY_CLASSES_ROOT\PL/SQL Developer\Shell\Open\Command

Which will return something like:

"C:\Program Files\PLSQL Developer\PLSQLDev.exe"

If you remove the executable name and add “PlugIns”, you have the destination path.

You can make Plug-Ins user specific by placing them in an additional “username” directory.
PL/SQL Developer uses the following sequence to look for Plug-Ins:

1 Load Plug-Ins from Plug-Ins preference setting
2 Load Plug-Ins from PlugIns\Username\*.dll
3 Load Plug-Ins from PlugIns\*.dll

Write

1 Variant
HKEY_CLASSES_ROOT\PL/SQL Developer\Shell\Open\Command = PlugIns\work\*.dll

Not activate

2 Variant
HKEY_CLASSES_ROOT\PL/SQL Developer\Shell\Open\Command = c:\work\*.dll

Not activate

How it is correct ??????
 
You need to read the value of "HKEY_CLASSES_ROOT\PL/SQL Developer\Shell\Open\Command", and extract the installation directory from that value. For example, if the value is "C:\Program Files\PLSQL Developer\PLSQLDev.exe", then the Plug-In directory is "C:\Program Files\PLSQL Developer\PlugIns".
 
Good day respected Marco Kalter

Thank You !

Version 6.0.0.840

Value of the key HKEY_CLASSES_ROOT\PL/SQL Developer\Shell\Open\Command
after the load application in the initial state ?

Before the load
HKEY_CLASSES_ROOT\PL/SQL Developer\Shell\Open\Command="C:\Program Files\PLSQL Developer\PlugIns"

After the load
HKEY_CLASSES_ROOT\PL/SQL Developer\Shell\Open\Command="C:\Program Files\PLSQL Developer\Plsqldev.exe"
 
I'm not sure I understand. Are you modifying this key? You shouldn't. It should be used to determine the PL/SQL Developer installation directory.
 
Back
Top