Zipped product archives for Windows [message #1725193] |
Tue, 01 March 2016 14:22 |
|
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 #1726025 is a reply to message #1725516] |
Wed, 09 March 2016 06:19 |
|
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?
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 |
Ed Merks Messages: 33133 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 #1740704 is a reply to message #1726197] |
Wed, 17 August 2016 12:17 |
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02065 seconds