# Minimal files needed for Windows app

**URL:** <https://www.ruby-forum.com/t/minimal-files-needed-for-windows-app/56896>\
**Category:** Ruby\
**Created:** [April 5, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/minimal-files-needed-for-windows-app/56896 "2006-04-05T17:32:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamal86](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ebca7d/32.png) [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Post date:** [April 5, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/minimal-files-needed-for-windows-app/56896/1 "2006-04-05T17:32:40Z")

</div>

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., WxRuby.so 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  
script?

Regards,  
Jamal
