Microsoft Management console Installer

Creating the Installer is a simple process. It does not required any explantions other than screen shots given below. I hope that the MMC SnapIn project is ready.

Add another project to the same solution, of type Setup Project.

The project will open in File System view. Go to the Application Folder, right-click in the right-hand side pane and choose Add Project Output:

Select Primary Output for the HelloWorldSnapInInstaller project.

The screen will look like below, after adding the Primary Output

Now add the Custom Action to the installer. Make sure the setup project is selected in Solution Explorer and select Custom Actions Editor from the toolbar

Add custom Action to the install as follows and select the Primary output from HelloWorldSnapInInstaller project.



Do the same for the Commit node as well.

That's it. First, build the HelloWorldSnapInInstaller project. Next, right-click the setup project node and choose Build. Once the succcessful build, you can either right click on the setup project and select Install or got to the Debug or Release folder of the setup project and double click HelloWorldSetup.msi file.It may take a while to install





You may get the below screen on Windows Vista due to security reason. You can allow it and proceed.



Installation is complete. Now you should be able to see the newly installer MMC Snap-In, in the available Snap-ins list.