Search code examples
windows-installer

How to add custom Prerequisites in dialogue while creating setup using VS2017 setup project?


I am creating a setup for windows application using VS2017. My requirement is that I need to add some prerequisites (custom) not in prerequisites dialogue. I have tried copying setup files at location "C:\Program Files (x86)\Microsoft Visual Studio 14.0\SDK\Bootstrapper\Packages" but with no luck. Some threads also suggested to copy and paste at following location "C:\Program Files (x86)\Microsoft Visual Studio 14.0\SDK" in bootstrapper\Packge. Some other suggested for "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A" location but there is no bootstrapper folder. Any help would be highly appreciated. Note: My requirement is not to use ClickOnce.


Solution

  • I have resolved this issue. Posting answer over here for future reference. "C:\Program Files (x86)\Microsoft SDKs\ClickOnce Bootstrapper\Packages" I have to put "netframework4.6.1.hotfix" and "vcruntime13x64" folders having offline installers in it.The most important step i was missing i didn't paste product.xml in this folder alongwith en ( Folder) containing package.xml Once I pasted them i started showing in prerequisites dialogue window.