Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Eclipse installer for Windows 64 bit fails to load custom org.eclipse.setup file
Eclipse installer for Windows 64 bit fails to load custom org.eclipse.setup file [message #1745221] Thu, 06 October 2016 15:53 Go to next message
Kurt Smolderen is currently offline Kurt SmolderenFriend
Messages: 3
Registered: October 2016
Junior Member
I created a custom org.eclipse.setup file and a file containing my custom productCatalog. On OSX, I manage to overwrite the default setups location by adding
-Doomph.redirection.setups=index:/->http://www.eclipse.org/customoomph/setups/
to the eclipse-inst.ini file (located in the apps Contents/Eclipse folder).

I do not manage to get the same behaviur on windows 10:


  • When I run the eclipse installer as
    eclipse-inst-win64.exe -vmargs "-Doomph.redirection.setups=index:/->http://www.eclipse.org/customoomph/setups/"
    , it simply ignores the redirection and loads the default org.eclipse.setup file. I also tried to omit the -vmargs option (and only keep the -Doomph... setting), but that doesn't work either.
  • As an alternative, I wanted to adjust the eclipse.ini file as suggested in the oomph documentation, but I can't find any reference to an ini file for the eclipse-inst-win64.exe executable.


How can I use a custom org.eclipse.setup file on Windows?

PS: I had to refer to the eclipse.org site due to the forum policies. In reality, I point to a different domain such as example.com...

Thanks for clearing this out!
Re: Eclipse installer for Windows 64 bit fails to load custom org.eclipse.setup file [message #1745445 is a reply to message #1745221] Mon, 10 October 2016 18:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31032
Registered: July 2009
Senior Member
Kurt,

On windows the eclipse-inst-win64.exe is effectively a self-extracting executable that embeds a zip of the installer product. It unfortunately does not forward any arguments to the application that it launches.

Note that I've been doing a lot of work the past weeks on better support for customized indices, and for easily switching between indices, but I've not documented any of it yet; you can drag and drop a zip of the archived index onto the installer. I'd also like to document how one can compose a self extracting executable for windows from the constituent parts so that you could modify the eclipse.ini or config.ini and recompose the modified version installer product back into an executable. We do this ourselves to produce the specialized installers that you download for installing Mars or Neon, i.e., what we refer (in a not so politically correct way) as crippled installers, because the config.ini includes filters that limit the product versions available in the catalogs.

You can only expect so much for free...
Re: Eclipse installer for Windows 64 bit fails to load custom org.eclipse.setup file [message #1745465 is a reply to message #1745445] Tue, 11 October 2016 08:56 Go to previous messageGo to next message
Kurt Smolderen is currently offline Kurt SmolderenFriend
Messages: 3
Registered: October 2016
Junior Member
Thanks for the update Ed! I really appreciate the work you and others are putting into this. Will test the drag and drop of the self-contained zip as that sounds promising. Being able to create your own self-extracting installer would be cool however. Is there anywhere a repository containing the non-packed oomph installer for Windows?
Re: Eclipse installer for Windows 64 bit fails to load custom org.eclipse.setup file [message #1745545 is a reply to message #1745465] Wed, 12 October 2016 11:24 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31032
Registered: July 2009
Senior Member
I documented the process for decomposing and composing the Windows native executables:

https://wiki.eclipse.org/Eclipse_Oomph_Authoring#How_to_extract_the_constituent_parts_that_comprise_the_Windows_self-extracting_installer_executable

Someone owes me a few bottles of wine...
Previous Topic:Error installing .setup
Next Topic:Managing RCP app preferences via Oomph?
Goto Forum:
  


Current Time: Sat Apr 04 15:00:20 GMT 2020

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

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

Back to the top