From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,814d0ec938d6e4da X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-25 12:35:28 PST Path: archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: How to find directory where the program is? Date: Thu, 25 Apr 2002 14:26:54 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3CC6191D.2DB44898@easystreet.com> <3CC6CF6F.6DAB1D05@san.rr.com> <3CC71CFD.530F568D@despammed.com> X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:23119 Date: 2002-04-25T14:26:54-05:00 List-Id: Wes Groleau wrote in message <3CC71CFD.530F568D@despammed.com>... > > >> If you follow the rules, its highly unlikely that you'll break the >> registry. You could only do so by overwriting an existing (important) > >I guess "true of false" depends on how you define "break" >AdaGIDE and Object Ada installers both insert things into >the registry. Unfortunately, some of the entries use the >same key(s), so they step on each other and whoever gets in >last has broken some of the features of the other. A less >obvious side-effect is that the ininstalls don't catch everything. This is an obvious case of not following the rules. When updating the registry, if the key already exists (and it is not product-specific), the installer is supposed to either not set the key, or query the user if they want to change it. Obviously, one or both of the GNAT and OA installers are violating this rule. Indeed, the latest GNAT install clobbered the binding of the .ads and .adb extensions to OA. And I didn't install AdaGIDE, so now they point to nothing at all. The Claw and Janus/Ada installers prompt before overwriting anything that isn't in the RRS key. I believe that the problem only occurs when registering file extensions and other system-level stuff. If one of the products is clobbering the other's vendor specific keys, that would be an intentional attempt to make the other product unusable (that couldn't happen by accident). But I don't think that is happening here. Randy.