How to enable a custom catalogue by default? [message #1745775] |
Mon, 17 October 2016 12:53 |
|
Hi,
I am working on a custom installer for Papyrus-RT product distributions. This includes a custom (narrow-focused) index with one or more product catalogues containing different Papyrus-RT product configurations. This is working well, except in the case where a user has previously used another Oomph-based installer (usually the Eclipse Installer), and so has already a record in the .eclipse/ metadata of the selected product catalogues. Because, of course, the Papyrus-RT catalogue is not one of these previously selected catalogues, when my custom installer is launched for the first time, that catalogue is not selected and the user is faced with no products available to install.
Is there some way that I can tell Oomph that my catalogue should be selected by default in my custom installer? I am actually packaging a custom build of the installer RCP, so a solution that relies on system properties or something else in the INI file will work for me.
Thanks,
Christian
|
|
|
|
Re: How to enable a custom catalogue by default? [message #1745791 is a reply to message #1745787] |
Mon, 17 October 2016 14:40 |
|
Hi, Ed,
That is great! This also solves the problem of an installer's custom index wiping out selections that aren't relevant to it so that some other installer then loses those selections.
I see also that when there is no selection, then all of the catalogues in the index are enabled by default, so this means that if I give my index an unique name, then the first run of my installer will find no catalogs setup and so will not have a selection, and it will be initialized with all of the product catalogs in my index.
Thanks!
Christian
|
|
|
|
|
Re: How to enable a custom catalogue by default? [message #1745901 is a reply to message #1745897] |
Wed, 19 October 2016 06:26 |
Konrad Windszus Messages: 40 Registered: July 2009 |
Member |
|
|
No, at least I don't see it there. I am talking about automatically enabling a certain (redirected) product/project index in the advanced mode. Initially only the default catalogs "Eclipse", "Eclipse.org Applications" and "User Products" is enabled. The user explicitly needs to set the checkbox for the new redirected product index. The same for projects.
It explicitly states there
Quote:The first time, you may have to enable your new catalog by selecting it in the folders icon of the drop-down in the upper right hand corner of the wizard's Projects page, otherwise it will be invisible.
That steps I want to prevent.
[Updated on: Wed, 19 October 2016 06:28] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05256 seconds