Advanced Installer integration with Visual Studio Advanced Installer comes packed with a Visual Studio extension to help you create and manage installers for your solutions directly from Visual Studio.

Note Advanced Installer must be installed on a machine where Visual Studio 2010 is already present. Once the extension is installed it will appear in Visual Studio Extension Manager and cannot be uninstalled separately from Advanced Installer.

Create an Advanced Installer Project in Visual Studio

You can add Advanced Installer Projects and create installers for Visual Studio solutions containing any types of projects. To add an Advanced Installer Project to a new or existing solution, from the "New Project" dialog select the Advanced Installer Project option.

An Advanced Installer Project can contain one or more .AIP project files. By default, when an Advanced Installer Project is added a single .AIP project file is generated. Every Advanced Installer Project is automatically included in the build sequence. This way, every time the Visual Studio solution is built or rebuilt the installer package will also be generated.

In order to add more .AIP project files, select the Advanced Installer Project from the "Solution Explorer" and from the context menu use the "Add -> New Item..." option to create a new empty .AIP project file or the "Add -> Existing Item..." option to import and existing .AIP project file.

Edit the Advanced Installer project in Visual Studio

Every Advanced Installer Project features a viewer that can be used to quickly get access or edit basic information about your installer. Select the project .AIP file from the "Solution Explorer" to access the viewer.

Edit the Advanced Installer project in Advanced Installer

Use the [ Edit in Advanced Installer ] button or the “Open with Advanced Installer” context menu option to open the installer project in Advanced Installer.

Opening the project in Advanced Installer gives you access to all available features for your installer. Once you finished editing the installer project, save it and exit Advanced Installer. Upon returning to Visual Studio you will be asked to reload the Advanced Installer Project files which includes all your modifications.

TipBy default, you can create installers for Visual Studio solutions using a Freeware license of Advanced Installer. However, if you have a Professional, Java, Enterprise or Architect license for Advanced Installer, you can convert your installer project to the desired project type from the Edit Project Settings Dialog.

Import Visual Studio solutions in your installer project

When adding an Advanced Installer project to a solution it will automatically import the build output from existent projects located in that solution. If later more projects are added or the current ones are modified and you want to include them in your install package, a new import operation must be performed.

Select the project .AIP file from the "Solution Explorer" and from the context menu use the “Redo import” option.

Revert to default

If you are not happy with the current content for your installer project you can revert to the original state anytime.

Select the project .AIP file from the "Solution Explorer" and from the context menu use the “Empty content” option.

NoteThis option will also change back the Advanced Installer project type to Freeware.

Topics