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-Thread: 103376,fc2b5af8782d4ca3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.24.132 with SMTP id u4mr67398wif.6.1362175552801; Fri, 01 Mar 2013 14:05:52 -0800 (PST) MIME-Version: 1.0 Path: bp2ni66860wib.1!nntp.google.com!goblin1!goblin.stu.neva.ru!news2.arglkargh.de!nuzba.szn.dk!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: can one make a static build Ada+GUI GTK application? Date: Fri, 1 Mar 2013 16:05:49 -0600 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <20130228010057.13659976@hactar.xn--rombobjrn-67a.se> <1jakth6zgpm7u.1jynuosu6x48.dlg@40tude.net> <5130856a$0$6577$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1362175552 29888 69.95.181.76 (1 Mar 2013 22:05:52 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 1 Mar 2013 22:05:52 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Date: 2013-03-01T16:05:49-06:00 List-Id: "Georg Bauhaus" wrote in message news:5130856a$0$6577$9b4e6d93@newsspool3.arcor-online.net... ... > Imagine a statically bound executable program that takes care > of its own installation. There's an icon. Fist click means > "install". After that, all other clicks on the same icon mean > "run". Why imagine it? That's how the Claw builder works, for example. (There is an optional command line switch to allow specifying which compiler you want to set it up for and whether you want desktop and menu icons, but that's it.) There's no difficulty to creating such programs (at least for Windows). The "problem" is that Windows security won't let you install such a program under a limited user account, and only idiots and grandmothers run Windows as an adminstrator all the time. So we use the installer program to ensure that it gets run once before the user touches it. (On older Windows like Windows 98 and Windows 2000, no installation was necessary at all; that was mainly so that distribution of the free version consisted of nothing but a small ZIP file.) Randy.