In my last posting, I forgot to mention that one should remove the XPman from an app, or buttons and toolbars may lose their colors. Remove both the button from the form and entry in the Uses statement. Put the manifest (an XML file ) in app.exe.manifest, where app is the name of the program and distribute that in the installation. When the program runs for the first time, delete the manifest file if you detect anything other than XP. It that is not elegant, then distribute a small command line program which the installer runs and delete it before the first start. Code on request.
CubicDesign wrote: >80-90% of my users are running under limited accounts. That's very sensible, considering the malware risks of today. >I never used an installer, just because of the 'admin rights' problem. I> never stored information in registry, also because of the 'admin' problem. Installers are harmless if they put their things in a file called setup.exe which appears to be permitted by Vista. If run as an administrator, one can put things in parts of the registry other than CURRENT_USER so that they apply to all users. There are some advantages in using CURRENT_USER for storing harmless things like the last working directory or other parameters if there are multiple users on the machine. Vista doesn't object to this even from non-administrative users. It's equivalent to an ini file on the user's documents and settings. >I installed the software on C:\xxx also because of the 'admin' problem. >I even succeed to make a hardware based trial version (with hidden keys >and files) without having problems on limited accounts. >So my program was 'Ready for Windows XP' users with limited rights. Putting programs or data on the C: drive can cause problems if not done with care. It's much better to use a separate program partition whose rights can be set appropriately. Shrinking the C: drive down to 8 GB is enough for XP and 32 GB is enough even for Vista Ultimate and still leave space for defragmenting operations. I try to encourage my users to have C: only for the OS and OS-related programs, another partition for programs which they or others install, and one or more additional partitions for data. I also encourage them to have a second hard disk which is a copy of the first made with a disk imager. Unhappily, few listen to this advice. Bob Swart wrote: I expect problems with the remote debugger,.... Does this apply to Delphi 5 or to any version of Delphi? Can one run the remote debugger on a Vista x64 system with a Delphi 7 client on an XP x32 system? Irwin Scollar _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

