Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] creating an installer with tycho

Hi Johan,

 

I happen to look at the Oomph launch code last week. However, I don’t think it will help in your case. The Oomph extractor first locates an JRE and  launches it [1], to extract the different parts from the executable in Java and launches the eclipse executable [2].

 

Google for ‘self extracting exe’

 

Check out the Oomph source code:

[1] https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/plugins/org.eclipse.oomph.extractor/src/extractor.c

[2] https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/plugins/org.eclipse.oomph.extractor.lib/src/org/eclipse/oomph/extractor/lib/BINExtractor.java

 

Rolf

 

 

From: tycho-user-bounces@xxxxxxxxxxx <tycho-user-bounces@xxxxxxxxxxx> On Behalf Of Johan Compagner
Sent: Friday, January 04, 2019 3:19 PM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: [tycho-user] creating an installer with tycho

 

Hi,

 

this is not really i guess a tycho question but maybe some body from this list knows a bit more

 

How does eclipse really generate those self extracting exe (windows) and dmg (mac) files for their installers?

Is that something tycho can do?

 

but i am not really interested in that, i would like to know the very fist part of that

The creation of the self extracting exe file with a script that then extracts a eclipse product with oomph and runs that...

I don't really need oomph we already have our own installer, but with the current java world we would like that have an installer that has an embedded java install inside it...

so the self extacting exe would extract our izpack jar file together with a "jre" and then a script would just start that jar file with the bundled jre..

 

that would then in the end install a our eclipe product build with tycho and also a jre bundled inside it to run it without needing to have java on the target machine already installed.

 

--

Johan Compagner

Servoy


Back to the top