I use Universal Silent Switch Finder, or ADN Silent Switch Finder from AppDeployNews, to find what switches different software packages use.
I have used that to integrate "VisualCPPRedist_AIO" C++ installer without any issues. I haven't tried it with 7-Zip, and I have no clue about the batch files, sorry.