Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Zipped product archives for Windows
Zipped product archives for Windows [message #1725193] Tue, 01 March 2016 14:22 Go to next message
Peter Kirschner is currently offline Peter KirschnerFriend
Messages: 25
Registered: July 2009
Junior Member

The download page https://wiki.eclipse.org/Eclipse_Installer contains for windows only the self-extracting executables.

For scripting and headless purposes it would be great to get also the pure windows zip archives. These would allow an extraction and modification via scripts. e.g. to add own product and project configurations.

Are they available somewhere?
Can they made be available?

Can the vm and/or vmargs be specified for the windows executable?

BTW: How are the self-extracting executabels are created? Can PDE do such a thing?

[Updated on: Wed, 02 March 2016 14:06]

Report message to a moderator

Re: Zipped product archives for Windows [message #1725516 is a reply to message #1725193] Fri, 04 March 2016 06:47 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Peter,

Comments below.

On 01.03.2016 15:22, Peter Kirschner wrote:
> The download page https://wiki.eclipse.org/Eclipse_Installer contains
> for windows only the self-extracting executables.
> For scripting and headless purposes it would be great to get also the
> pure windows zip archives. These would allow and extraction and
> modification via scripts. e.g. to add own product and project
> configurations.
>
> Are they available somewhere?
No.
> Can they made be available?
I suppose, but even we repackage the executable and do so by splitting
the the executable into its parts, modifying the ini in the jar,
recombining, and resigning.
>
> Can the vm and/or vmargs be specified for the windows executable?
No.
>
> BTW: How are the self-extracting executabels are created?
A part of our Hudson build with some shell scripts.
> Can PDE does such a thing?
No.
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Zipped product archives for Windows [message #1726025 is a reply to message #1725516] Wed, 09 March 2016 06:19 Go to previous messageGo to next message
Peter Kirschner is currently offline Peter KirschnerFriend
Messages: 25
Registered: July 2009
Junior Member

Hi Ed,

thanks for you anwsers Wink Which raise some new questions Wink

Quote:
> Can they made be available?
I suppose, but even we repackage the executable and do so by splitting
the the executable into its parts, modifying the ini in the jar,
recombining, and resigning.


That would be great. Shall I create a bugzilla enhancement request for it?

Quote:

> BTW: How are the self-extracting executabels are created?
A part of our Hudson build with some shell scripts.


Is it /org.eclipse.oomph.releng/hudson/repackage.sh ?

kind regards,

Peter
Re: Zipped product archives for Windows [message #1726079 is a reply to message #1726025] Wed, 09 March 2016 12:56 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Peter,

Comments below.

On 09.03.2016 07:19, Peter Kirschner wrote:
> Hi Ed,
> thanks for you anwsers ;) Which raise some new questions ;)
>
> Quote:
>> > Can they made be available?
>> I suppose, but even we repackage the executable and do so by
>> splitting the the executable into its parts, modifying the ini in the
>> jar, recombining, and resigning.
>
>
> That would be great. Shall I create a bugzilla enhancement request for
> it?
Well, I think it would be better to reuse the repackaging approach we're
using ourselves...
>
> Quote:
>> > BTW: How are the self-extracting executabels are created? A part of
>> our Hudson build with some shell scripts.
>
>
> Is it /org.eclipse.oomph.releng/hudson/repackage.sh ?
The repackaging scripts gives you exactly the idea of how the *.exe
itself is composed from parts. Basically there is a very tiny "real"
exe to which is appended several sections (a descriptor and the zipped
distro) separated by markers. In this repackaging script you can see
those markers, now to split out the parts, and how to assemble that
parts. I think that's everything you need. Or not?
>
> kind regards,
>
> Peter


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Zipped product archives for Windows [message #1726197 is a reply to message #1726079] Thu, 10 March 2016 14:00 Go to previous messageGo to next message
Peter Kirschner is currently offline Peter KirschnerFriend
Messages: 25
Registered: July 2009
Junior Member

Thanks a lot Ed, I will investigate Smile
Re: Zipped product archives for Windows [message #1740704 is a reply to message #1726197] Wed, 17 August 2016 12:17 Go to previous message
Steffen Holzer is currently offline Steffen HolzerFriend
Messages: 59
Registered: January 2016
Member

I found a way of creating a single exe via 7zip (Credit to http://superuser.com/questions/42788/is-it-possible-to-execute-a-file-after-extraction-from-a-7-zip-self-extracting-a).

1. get 7zip and the 7z922_extra.7z archive from their SourceForge site.
2. Install 7zip and unzip (or un7z) the 7z922_extra. Important is the file 7zS.sfx
3. Archive the eclipse installer folder to a .7z
4. create a config.txt with
;!@Install@!UTF-8!
Title="Customized Eclipse Installer by TheMetalOne"
Progress="no"
ExecuteFile="eclipse-inst.exe"
;!@InstallEnd@!

There are other flags but these do the job. Be sure that the value of ExecuteFile points to the installer exe from the root of the archive
5. Keep the 7zS.sfx, the config.txt and the 7zed archive in a folder and run the following line in the windows cmd
copy /b 7zS.sfx + config.txt + archive.7z archive.exe

with archive.exe the result

I tested it and it worked for me on win7x64


"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live" - John Woods
Previous Topic:accessing project setups from https which requieres authentication
Next Topic:Self contained multi-plaform workspace in USB key
Goto Forum:
  


Current Time: Thu Mar 28 20:27:33 GMT 2024

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

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

Back to the top