Andries Bos wrote: > However, a lot of users without administrator access to the > register-key's will be prompted with a message "failing to register" > (dutch text) after the exe has been replaced by a newer version (GUID > and automation name does NOT change between versions). > > My question: What exact happens when the /regserver process executes > and is there any explaination why a user (administrator) to have to > re-register a new version of the exe? I'm using Delphi 7.
You can try to find out yourself. As an admin, run the program via a trace utility. The Linux program is strace, and I'm used the the Solaris version, where it's called truss, but I think a Windows version is StraceNT. With that tool, you should be able to see what file and registry operations the program does, and what their return values are. Then run the program as a non-admin and see where things fail. -- Rob

