change
<input type="hidden" name="post_type" value="software" />
to
<input type="hidden" name="post_type[]" value="software" />
<input type="hidden" name="post_type[]" value="books" />
i have to run but this should work , just add as many hidden fields as you need for each post type