The Administrator is not really an Administrator, HKLM is not really HKLM and Program Files is not really Program Files :D Your application will *seem* to work (because it will write to a virtualized, private copy of HKLM) but in fact it is failing, because any other application will open the real HKLM. If you really need to write to HKLM, do it from the installer, not the main exe, or temporarily rename your exe "setup.exe".
You might also consider buying a copy of Vista so you can test in-house. I'm also using D7 (and D2006) on Windows XP but I've got 3 computers with Windows Vista and I'm testing on those. Oh yes, don't even consider installing D7 onto Vista! You will be able to make it work, but in doing so you will alter your Vista system enough to make it irrelevant for the rest of the Vista world - so you'll need yet an other Vista system for testing! About installing Vista into a Virtual Machine: Unfortunately this is an expensive and irrelevant way of testing Vista. You can't get Aero going under VmWare, nor under Virtual PC, and you may only install a RETAIL copy of Vista under a Virtual Machine, and only the expensive copy of Vista (Business up, Home edition is not allowed to install under VM). Considering this, a OEM copy of Vista + a new computer is actually cheaper! -- Cosmin Prund -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Levis Sent: 8 aprilie 2007 06:03 To: Delphi Discussion List Subject: D7/Vista Question I don't have Vista here (yet) but my users will be using my D7 app on Vista. The first run of my app after installation requires administrator permissions to register and write to the HKLM registry. After this stage, it will run with restricted user permissions. Will this be possible, or do administrators on Vista not have write access to HKLM without a manifest with UAC permissions? Thanks, Ross. _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

