I had not tried setting rights to registry keys so obviously this also works as does setting folder security.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Blake Sent: Friday, 27 July 2007 20:55 To: 'Borland's Delphi Discussion List' Subject: RE: VISTA: Delphi 5 works. HKLM information. Problems creating Startmenu icons. I had expected NOT to be able to write to HKLM as Ross says below from what I had read. My tests show that my application (installed in Program Files) by Innosetup IS ABLE to update HKLM. I'm using a Vanilla Vista (Home Premium) system for the tests. I can update from either an administrator or standard user. I can see the updates from either user (I've only tested with two users) and the updates are persistent across a power off/on. I can also see the updates in the registry editor from either user. I can't see any virtual registry being placed in the users directory as far as I can see (I CAN see files that are placed there when an application tries to write to the program files directory.) As stated in my original item, the permissions for my applications HKLM registry key was set (on installation) so everyone has full control - see below for more details. Since the Borland key has the same permissions my guess is that it is Vista that has set this. So I am puzzled. These findings conflict with statements from Ross and others. I haven't had time to research further at this stage - I know I ought to! _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

