Search code examples
installationwindows-installervisual-studio-setup-proje

Adding Custom prerequsites to visual studio setup project


I have a setup project that I need to install a redistributable that is not available in the default prerequisite list. Is it possible to add this redistributable to the bootstrapper that the setup project creates?


Solution

  • I figured out how to add Custom Prerequisites to the Visual Studio prerequisites dialog box.
    MSDN as a good article on creating the prerequisite. Basically you just have to create a product manifest and a package manifest, copy them along with your distributable file to : \Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages. Visual studio will automatically pick it up.