Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How do I configure an .ini file for the new self extracting installer?
How do I configure an .ini file for the new self extracting installer? [message #1857462] Wed, 08 February 2023 21:38 Go to next message
Taylor Abrahamson is currently offline Taylor AbrahamsonFriend
Messages: 2
Registered: February 2023
Junior Member
I am using a self hosted EclipseProductCatalog for many years now and had packaged up an eclipse installer for my teams to download and run. However recently the installer broke and I am attempting to update the code base of the installer with the latest version. However when I download the latest self extracting installer that only contains a ".exe" file, I can't seem to figure out to to redirect it on first run to point to my product catalog. In the old version I had an ".ini" file with the same name as the installer (eclipse-inst.ini) and placed it in the directory with the eclipse-inst.exe and added the product catalog redirect.

The new installer isn't reading the .ini file at all and it is not redirecting to the product catalog. How can I fix this?

Thanks!

Re: How do I configure an .ini file for the new self extracting installer? [message #1857466 is a reply to message #1857462] Thu, 09 February 2023 06:48 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33252
Registered: July 2009
Senior Member
The self extracting installer does not only contain a *.exe it, contains the *.zip available here:

https://download.eclipse.org/justj/?file=oomph/products

Note that there are versions of the installer now where the installer product itself contains a JRE; those package the product up as a tar file and use this new descriptor format:

https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/plugins/org.eclipse.oomph.extractor/Concat/descriptor-tar-64.txt

The base extract executable is there:

https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/plugins/org.eclipse.oomph.extractor/extractor-64.exe

If you do a local Tycho build in the Oomph IDE, it will build all these variations of the installer for you:

https://www.eclipse.org/setups/installer/?url=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/configurations/OomphConfiguration.setup&show=true

In the external tools, there is a launcher to do the Tycho build. Perhaps you just want to make your modifications in that IDE and let it do the build. You can certainly look at how the build works. It uses this script:

https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/plugins/org.eclipse.oomph.extractor/Concat/repackage.sh

Shipping an installer with a JRE is one less point of failure....


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How do I configure an .ini file for the new self extracting installer? [message #1857485 is a reply to message #1857466] Thu, 09 February 2023 19:48 Go to previous message
Taylor Abrahamson is currently offline Taylor AbrahamsonFriend
Messages: 2
Registered: February 2023
Junior Member
Thank you Ed! I could not find a download package anywhere that included the the eclipse files in the zip file. That link was perfect and solved out problem. We were able to drop in our .ini file and point to our hosted setup file.

Edit* Just a note that the reason we can't use the embedded JRE is because our setup file is hosted on an internal artifactory instance with a self signed https cert. Using the public JRE it errors out for us.

[Updated on: Thu, 09 February 2023 19:51]

Report message to a moderator

Previous Topic:Untrusted content when installing cdt
Next Topic:Cannot create customised Installer for Windows with bundled JRE
Goto Forum:
  


Current Time: Wed Nov 06 12:41:59 GMT 2024

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

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

Back to the top