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

That would be fine for us as long as we can ship the jre inside the zip..
currently with the new Oracle stuff, we want to have an installer that ships a jre and then uses that jre to run an installer (could be oomph)

But i see the current oomph stuff really wants first an jre outside of the installer.exe?
That is still bad then, that will not work. 

We really should start working with the fact that on end users machines there is no java at all.
So installers should be able to install themselfs without a jre installed on the system (it should give that)
Then the installed eclipse based product should have a jre also installed again, i guess as a "jre" subdir besides eclipse.exe


On Mon, 7 Jan 2019 at 10:12, THEUNISSEN Rolf <rolf.theunissen@xxxxxxxxxx> wrote:

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

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tycho-user


--
Johan Compagner
Servoy

Back to the top