Often, the Advanced Installer projects defined by .AIP files include only one build. In this case, when you select Build Solution or Rebuild Solution from Visual Studio, this unique build will be used to create the install package defined by the .AIP file.
Situation is changed when an .AIP file includes several builds. In this case, you can select the build used during Build/Rebuild Solution by using Configuration Manager... from Visual Studio Build menu.
Sometimes you want to create the setup packages for all builds defined in an .AIP file. In this case, select All from Configuration Manager....