[Gambas-user] How to create packages so that they do not appear in the system menu?

Jorge Carrión shordi at gmail.com
Sat Jun 29 20:56:20 CEST 2019


In the end I opted for the first solution, a single installation package.
It is a little more tricky to manage because in the development machine you
have to create the installation package of program A and then copy the
executable in the .hidden of program B, but in the customers machines it is
all simpler because you only have to install and/or update a single
package. Of course a change in Program A should implies a update in Program
B but its not a big deal. Program A is very simple. 😀😀

Thank you all.
Best regards

El jue., 20 jun. 2019 a las 17:16, Tony Morehen (<tmorehen at ajm-software.com>)
escribió:

> There are two approaches:
>
> 1) Single installation package.  This approach avoids the creation of a
> desktop file for A.  No desktop file, no entry in the system menu.
>
> Do not create an installation package for program A.  Make sure that
> package A's compile is up to date.
>
> Create an installation package for program B.  When you get to the page
> titled 8 Extra Files, add an entry for program A.  It's destination should
> be either somewhere on your path eg /usr/bin or /usr/local/bin or an
> explicit location known to program B.  Also add any files needed by A.
>
> 2) Two installation packages.  This approach creates a desktop file for A
> but adds a parameter to to the desktop file that hides it from the system
> menu.
>
> Create an installation package for program A.  When you get to the page
> titled 6 Desktop Configuration file, add the following to the bottom box:
>
> NoDisplay=true
>
> Create an installation package for program B.  When you get to the page
> titled 8 Extra Files, do not add an entry for program A.
> On 2019-06-19 2:28 a.m., Jorge Carrión wrote:
>
> I have a project A that is launched from other project B and I don't want
> that A project appears on system menu.
> What kind of configuration must I set on packages creation?
>
> Best Regards
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190629/b0eb6e40/attachment.html>


More information about the User mailing list