bielen
Posts: 7
Joined: Fri Nov 06, 2009 6:21 pm

adding nuget package as prerequisite

Our custom action are developed in .net. I install the .net framework as prerequisite. A custom action checks if the connection to the database works. In our case Postgres. For this we use the nuget package Npgsql. How can I specify that the nuget package is also installed as prerequisite. The package will also be used later by the application.

Thanks for the support.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: adding nuget package as prerequisite

Hi,

I'm afraid that installing Nuget packages is not possible through the prerequisites support. However, you may be able to create a PowerShell script for this, as discussed in the "install NuGet via PowerShell script" thread, then add it as a custom action in your project.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”