Again, right-click the setup project in the Solution Explorer window, and then select Build from the context menu. The setup project will be compiled and built, and the output .MSI file will be generated. This process may take several minutes.
Tip
If the main project has changed since the last time it was built, be sure to rebuild it before building the setup package so that the most recent version of your application is deployed.