This is a question for people who distribute Ruby programs to folks
that don’t have Ruby. In particular, Windows users.
How do you do it?
I figure that there must be a way to write a self-extracting archive for
Windows using tools that are compatible with open source development.
Under Unix I’d use Makeself. Makeself creates a shell script with binary
data at the end (corresponding to a .tar.gz archive). This archive is
extracted and then Makeself runs any program of your choosing (e.g. the
installer). And then cleans up after itself.
Is there some equivalent program for Windows that has a friendly license?
Cheers,
···
–
Daniel Carrera | No trees were harmed in the generation of this e-mail.
PhD student. | A significant number of electrons were, however, severely
Math Dept. UMD | inconvenienced.
This is a question for people who distribute Ruby programs to folks
that don’t have Ruby. In particular, Windows users.
Is there some equivalent program for Windows that has a friendly license?
Go to the RAA and grab rubyscript2exe. It is great! If you compress
your dll’s before you create the exe you can get a really small,
self-contained executable.
Using the above method, I have been able to create an exe of a
medium-complexity FXRuby program that was only around 2MB.
Jamey Cribbs
Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified that any dissemination, unauthorized review, use, disclosure or distribution of this email and any materials contained in any attachments is prohibited. If you receive this message in error, or are not the intended recipient(s), please immediately notify the sender by email and destroy all copies of the original message, including attachments.
Can I do the same with ruby-gtk? (The answer is no, I’m afraid
Gergo
···
On 0310, Jamey Cribbs wrote:
Go to the RAA and grab rubyscript2exe. It is great! If you compress
your dll’s before you create the exe you can get a really small,
self-contained executable.
Using the above method, I have been able to create an exe of a
medium-complexity FXRuby program that was only around 2MB.
Go to the RAA and grab rubyscript2exe. It is great! If you compress
your dll’s before you create the exe you can get a really small,
self-contained executable.
Using the above method, I have been able to create an exe of a
medium-complexity FXRuby program that was only around 2MB.
Can I do the same with ruby-gtk? (The answer is no, I’m afraid
You are right, it’s not as easy with ruby-gtk. You can get fairly close
though. Using upx to compress the gtk runtime dlls and python dlls, I
was able to create an installer for a Python PyGTK application that was
5-6MB in size. This included everything the user needed to run the app
on Windows including the GTK2 runtime.
Jamey
Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified that any dissemination, unauthorized review, use, disclosure or distribution of this email and any materials contained in any attachments is prohibited. If you receive this message in error, or are not the intended recipient(s), please immediately notify the sender by email and destroy all copies of the original message, including attachments.