Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Create launcher shortcut(Is there a way to create a launcher shortcut to custom product?)
Create launcher shortcut [message #1703656] Mon, 03 August 2015 21:54 Go to next message
Claudio Weiler is currently offline Claudio WeilerFriend
Messages: 31
Registered: August 2015
Location: Brazil
Member
Hi,

Is there a way to create a launcher shortcut to custom Oomph product in .setup files?

Eclipse installer do that, asking to user, can I do the same in custom products?


Thanks!!
Re: Create launcher shortcut [message #1703668 is a reply to message #1703656] Tue, 04 August 2015 05:35 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Claudio,

In Simple mode, the installer always offers to create shortcuts for the
product being installed.

On 03/08/2015 11:54 PM, Claudio Weiler wrote:
> Hi,
>
> Is there a way to create a launcher shortcut to custom Oomph product
> in .setup files?
>
> Eclipse installer do that, asking to user, can I do the same in custom
> products?
>
>
> Thanks!!


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Create launcher shortcut [message #1703748 is a reply to message #1703668] Tue, 04 August 2015 16:26 Go to previous messageGo to next message
Claudio Weiler is currently offline Claudio WeilerFriend
Messages: 31
Registered: August 2015
Location: Brazil
Member
Thanks Ed,

Only using in advanced mode... If it had been a snake, it would have bitten me (by now).


But, 2 other questions...

Can I make this in advanced mode?

In simple mode the installer ignores my settings for installation folder! Is there a way to set default installation folder (base) for simple mode?

Re: Create launcher shortcut [message #1703823 is a reply to message #1703748] Wed, 05 August 2015 08:42 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Claudio,

Comments below.

On 05/08/2015 4:25 AM, Claudio Weiler wrote:
> Thanks Ed,
>
> Only using in advanced mode... If it had been a snake, it would have
> bitten me (by now).
>
>
> But, 2 other questions...
>
> Can I make this in advanced mode?
We've not provided the options for that in advanced mode, but we've
talked about it. You could open an enhancement request and perhaps
even contribute a Gerrit patch; the logic for creating the shortcuts is
in
org.eclipse.oomph.setup.internal.installer.KeepInstallerUtil.createShortCut(String,
String, String, String).
>
> In simple mode the installer ignores my settings for installation
> folder! Is there a way to set default installation folder (base) for
> simple mode?
Unfortunately it's using a totally different "Variables" page
implementation that does not reuse all the rules/logic that's are in
place for the "Variables" page implementation of the advanced
installer. I suppose that too could be enhanced...
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Create launcher shortcut [message #1703898 is a reply to message #1703823] Wed, 05 August 2015 16:57 Go to previous messageGo to next message
Claudio Weiler is currently offline Claudio WeilerFriend
Messages: 31
Registered: August 2015
Location: Brazil
Member
Ed Merks wrote on Wed, 05 August 2015 05:42

... Unfortunately it's using a totally different "Variables" page implementation that does not reuse all the rules/logic ...


Why this Ed? Sorry if I am annoying, I don't know if you are part of Oomph team...

Concepts of simple and advanced should be just for the end user, ability to perform some adjustments like network proxies and ssh keys...

But, besides that, there is other settings ignored/bypassed by simple mode? I need to make several customization on 3 different products (Oomph setups).


Thanks!!
Re: Create launcher shortcut [message #1703949 is a reply to message #1703898] Thu, 06 August 2015 04:55 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Claudio,

Comments below.

On 05/08/2015 6:57 PM, Claudio Weiler wrote:
> Ed Merks wrote on Wed, 05 August 2015 05:42
>> ... Unfortunately it's using a totally different "Variables" page
>> implementation that does not reuse all the rules/logic ...
>
>
> Why this Ed? Sorry if I am annoying, I don't know if you are part of
> Oomph team...
I wrote the VariablePage, not the SimpleVariablePage.
> Concepts of simple and advanced should be just for the end user,
> ability to perform some adjustments like network proxies and ssh keys...
Of course different user interfaces require different code. The simple
page doesn't give a choice of installation layout rules. It uses
org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.getDefaultInstallationFolder()
to determine the folder name. On the advanced page, it uses the logic
in
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.filter(String,
String) to determine the folder name.
>
> But, besides that, there is other settings ignored/bypassed by simple
> mode? I need to make several customization on 3 different products
> (Oomph setups).
That's the only one that jumps to mind.
>
>
> Thanks!!


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:restore original preferences (was oomph installer directory gets used as workspace folder)
Next Topic:Create a new Setup Task: can see it in model but task is not triggered during installation process
Goto Forum:
  


Current Time: Thu Dec 26 11:31:10 GMT 2024

Powered by FUDForum. Page generated in 0.03597 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top