🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.opentoolsapi
Article #208

Re: How to Install An Expert For All Users

#208
From: Marc Rohloff [TeamB]
Date: Mon, 29 Oct 2007 14:12
20 lines
2049 bytes
On Sun, 28 Oct 2007 12:23:08 +0800, Li Yang wrote:

> If I add a registry key under CurrentUser, the expert can be launched in 
> Delphi IDE. However, this expert can only be used by me. Another user of 
> the system cannot see this expert when he launches Delphi IDE, because 
> there is no registry key under his CurrentUser. So how can I install an 
> expert for all users on this computer?

When the IDE starts it compares the value of MergeLevel in the HKLM
key with the value under the HKCU key. If the value under HKLM is
higher it copies keys over to HKCU.

So you should be able to install for all users by creating your new
keys under HKLM and incrementing the value of
HKEY_LOCAL_MACHINE\SOFTWARE\Borland\BDS\5.0\MergeLevel
by 1. (Assume the value is 1 if it doesn't exist)

-- 
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com
Technical Details
Message-ID: <1cf4zcnw7hezy.dlg@dlg.marcrohloff.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47240eb2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c3df,161768b7bb44452
X-Google-Attributes: gid10c3df,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <marc@nospam.marcrohloff.com>
Subject: Re: How to Install An Expert For All Users
Newsgroups: borland.public.delphi.opentoolsapi
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <47240eb2@newsgroups.borland.com>
Date: Mon, 29 Oct 2007 10:12:00 -0400
Message-ID: <1cf4zcnw7hezy.dlg@dlg.marcrohloff.com>
X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR
X-Antivirus: avast! (VPS 071028-0, 10/28/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 65.31.1.121
X-Trace: newsgroups.borland.com 1193667117 65.31.1.121 (29 Oct 2007 07:11:57 -0700)
Lines: 20
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail