From: Bill Kelly Date: 2005-06-24T09:27:05+09:00 Subject: Re: setup.rb question From: "Timothy Hunter" > > setup.rb support a set of 8 "hooks" that you might be able to leverage. > You can create a hook to run before or after each of setup's config, > setup, install, and clean steps. Each hook is just a fragment of Ruby > code that setup runs if it's present. Setup defines a few APIs that the > hook code can use to find out about the configuration. > (http://i.loveruby.net/en/man/setup/hookapi.html) > > Just thinking out loud, maybe you could put the .dll somewhere other > than bin (to keep setup from automatically installing it) and then > create a post-install hook that copied the .dll only for Windows installs. Cool, thanks! It was as simple as creating a post-install.rb containing: case RUBY_PLATFORM when /mswin32/ install "./my/win32/library.dll", config('bindir'), 0555 end =D Thanks, Bill