At 13:00 02.11.2009, you wrote:
SZ wrote:
From: Fastream Technologies <[email protected]>
Hello,
Prior to Win7, I was writing my software "hidden" install date key at
HKEY_CLASSES_ROOT. But this no longer works with Win7. Where should one
place the hidden keys in registry now? I mean those with CLSID.
Regards,
SZ
Writing to any part of the registry other than HKEY_CURRENT_USER is
reserved for those with administrative rights. Writing a hidden key
with a CLSID to HKEY_CLASSES_ROOT of the registry is still possible
if the program which needs to do this is right-clicked and then
RunAsAdministrator is chosen first. Alternatively, one can create a
command line window on the desktop and right click on that first.
It seems not to be a good idea to take the Windows defaults for an
installation directory, since a subsequent read by a
non-administrator from there may not find the unlocking key set by
the installation program in the protected part of the registry and an
address violation and program crash results.
As far as I can tell after just testing this briefly using Win 7 x64,
it was easier to install the program in a separate directory of a
separate partition to which all users were given extended access
rights by the setup dll called by the installation program.
There may be a simpler way to do this, so suggestions will be appreciated.
Irwin Scollar
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk