Minimal files needed for Windows app

I’m new to this list, so hope I’m asking in the right place.I’ve
searched the web and in Ruby documentation before asking.

Using Inno Setup, I want to create an installer for a Ruby program that
uses WxRuby for the GUI. I was able to create an executable using the
rubyscript2exe tool, which I appreciate. This executable, however is
nearly three megs in size, and I notice it creates a temporary folder
containing the Ruby interpreter and other files totaling about nine megs
in size. That folder contains multiple levels of subfolders, some of
which seem to duplicate files, e.g., appears more than once in
the folder tree. I also noticed that both ruby.exe and rubyw.exe were
included, which surprised me, since I thought only the latter was needed
for running a Windows program.

What minimal files are actually needed besides my script.rbw file? What
subfolders have to be created? Can’t the files all be installed to a
single folder? Does anyone have example instructions for an Inno Setup


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs