# this code is to list the zipped applets that can be installed def listzipfilestoinstall if File.exist?($zipslocation) fileList = Dir.new($zipslocation).entries.sort.delete_if { |x| ! (x =~ /zip$/) } @zipslistresult = fileList.rwd_method("fillziptoinstallname") end end def fillziptoinstallname(inffile) applet = inffile.gsub(/\.zip$/, "") @a_installapplet = applet end