[izpack-devel] Regular vs. Registry Enabled
Klaus Bartz
bartzkau at gmx.net
Tue Mar 7 18:47:10 CET 2006
Hi Fabrice,
Am 07.03.2006, 17:45 Uhr, schrieb Miraodb <miraodb at hotmail.com>:
> Hi guyz,
>
> klaus correct me if i'm wrong but, i think that with your cool work we
> can
> pretty much add, delete and modify anything in the registry.
> Am i correct ?
Yes, you can do, if you have the rights. You can use RegistrySpec.xml
for more static changes; of course IzPack variables are supported. More
dynamic can be the ussage of the class RegistryDefaultHandler; an example
in CheckedHelloPanel. The default handler should be used to support
uninstallation.
> I used that to create services btw... works like a charm.
>
It is possible to manage NT Services via the registry, but it is
not the best way.
The NT Service Control Manager uses the registry as data base. But changes
will be valid only after reboot.
The documented way is via NT Service Control Manager e.g. OpenSCManager,
CreateService and so on. The problem is, that a C program (or
a JNI DLL) will be needed.
If you use the registry, e.g. one question is how to delete a running
service at uninstall time?
> Cheers,
> fabrice
Cheers
Klaus
--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
More information about the izpack-devel
mailing list