lib/tasks/setup.rb in dev-2.0.266 vs lib/tasks/setup.rb in dev-2.0.267

- old
+ new

@@ -72,8 +72,19 @@ if(current_version != target_version) add "<%Text.replace_in_file('#{assemblyInfo}','#{current_version}','#{target_version}')%>" end end } + Dir.glob('**/wxs').each{|wxs| + current_version=IO.read(wxs).scan(/Version=\"([\d.]+)\"/)[0] + puts "#{wxs} current version=#{current_version}" if defined?(DEBUG) + if(current_version.include?('Version=')) + target_version="Version=\"#{VERSION}\")=" + if(current_version != target_version) + add "<%Text.replace_in_file('#{wxs}','#{current_version}','#{target_version}')%>" + add "<%Text.replace_in_file('Value=\"#{current_version}\"','Value=\"#{target_version}\"')%>" + end + end + } end end end \ No newline at end of file