这样做,首先把需要的.exe文件添加入“Application Folder”中,然后在“Solution Explorer”下选中RS-MWI,右键,选择“Property"。弹出的RS-MWI Property Pages窗口里点击"Prerequistites...",
选择需要预先安装的组件。这里我们选中".NET Framework 2.0","Visual C++ Runtime Libraries (x86)","Windows Installer 3.1"。然后选择“Download prerequisites from the same location as my application”,点击ok。