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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,9ad6cab12fa0c181 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: GNAT version for Ada training? Date: Tue, 08 Feb 2011 06:29:15 +0100 Organization: Ada @ Home Message-ID: References: <77d239b1-3ba6-458c-9f97-d64b16d46675@glegroupsg2000goo.googlegroups.com> <97bdd011-aeab-4b75-ba6e-2cae0f9fe1aa@m7g2000vbq.googlegroups.com> NNTP-Posting-Host: oPrsMnjZI9WjFXCbS6E0zA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.01 (Win32) X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news1.google.com comp.lang.ada:16960 Date: 2011-02-08T06:29:15+01:00 List-Id: Le Mon, 07 Feb 2011 23:28:17 +0100, Randy Brukardt = a =C3=A9crit: > Windows tries hard to discourage installation of any program without > administrator permissions, especially on Windows XP and more recent. A= ny > program that needs to modify the registry is going to have problems - There are plenty of useful things which can already be done with = HKEY_CURRENT_USER. Writing to this one, does not requires administrative= = rights. > and > "good" Windows programs will write various things into the registry. The quotes was welcome, as as-the time goes, more people enjoy = configuration in files instead of the registry: drop-and-run, the same i= t = is possible with MacOS. The application reside in its own directory, and= = mostly write only there, optionally in Application Data, except the = documents it generates. If better OS integration is needed, a *.reg file= = to be merged in the registry may be provided as an option. Some provide = = two options: download classic installer or download zip archive and = perform optional integration from withing the application (some provide = a = dialog to add file association or misc handlers) or manually and = optionally. > I've tried to make this for for Janus/Ada, and it works OK Windows XP = if = > you > chose restrictive settings (install for current user only, don't insta= ll > Claw). That's legitimate there. If one want to install for all user, not = surprising administrative account will be required. For single user = installation, this should not. > But I cannot make the installer work on Windows 7 that way, and it > isn't worth the fight. So the next version of the installer is going t= o = > be > administrator only (presuming I can figure out how to get the manifest= = > set > properly). Do not have access to a Windows 7, so I don't know. > Note that all Windows installers ought to register an uninstaller with= > Windows (requiring registry writes). And a program like AdaGIDE probab= ly > will want to register extensions like .Ada as well -- that definitely > requires registry writing only in administrator mode. No, really (unless I missed something), you can register an uninstaller = = and file extensions, from a user account. MinGW do that for its = uninstaller. I may need to say if I avoid using the admin account, this is to disable= = applications to do dangerous things (I believe I am not the only one). A= nd = when something wants to do administrative things while its purpose does = = not seems to requires so much high level privileged, I feel alarmed (why= = would someone need a knife to go to pick its children at school, looks = suspect). May be this would be better to at least display a message to tell the us= er = why this need admin account when there is really no other way. -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9CI am fluent in ASCII=E2=80=9D [Warren 2010]