ProGet Documentation

ProGet Manual Installation

  • Last Modified: 2018-08-10

Manual ProGet Installation

These manual installation instructions for ProGet are primarily for load balanced and high availability installations. If you aren't using these features, you should probably use the installer.

ProGet consists of 3 main deployable components:

  • Web Application – an ASP.NET 4.5 web application which serves as an interface to ProGet and serves the NuGet API
  • Service – performs indexing and other background tasks; hosts the web application if IIS is not used
  • Database – a SQL Server database which contains all of the persistent data including feeds and privileges

Installation

Prior to installation of ProGet, a ProGet "home" directory needs to be created, such as C:\ProGet

For the remainder of these instructions and simplicity, we will use C:\ProGet as the root - replace with the specific path you have chosen for your installation as necessary.

Configuration Files

If this is a new installation (or if upgrading from a version earlier than v5.1.0), create a configuration file as described in the ProGet Configuration Files documentation.

ProGet's Identity

ProGet may be configured to use its own domain account or may run as Network Service as long as the account has read/write access to the packages directory.

Database Installation

  1. Create a database called ProGet on the desired server
  2. Unzip ProGet-SqlScripts.zip into an empty directory and open a command prompt/PowerShell window in that directory. Run the dbupdater.exe executable with the following arguments:
    dbupdater.exe . <ConnectionString>
    
    For example:
    dbupdater.exe . "Data Source=localhost; Initial Catalog=ProGet; Integrated Security=true;"
    

Service Installation

  1. Create a directory named Service\ under C:\ProGet\
  2. Unzip ProGet-Service.zip into C:\ProGet\Service\
  3. Install the service. To do this, run ProGet.Service.exe and display help to discover the arguments for the "install" option. Administrator elevation is required to install the service and reserve URLs for self-hosted installations. If you do not reserve a URL the integrated web server will not be enabled.

Web Application Installation

The web application may be hosted either by IIS or self-hosted by the integrated web server hosted by the service depending on how the service was installed above.

  1. Create a directory named WebApp\ under C:\ProGet\
  2. Unzip ProGet-WebApp.zip into C:\ProGet\WebApp\

For IIS hosted applications, there are 2 additional steps:

  1. Create an application pool in IIS to run under the appropriate identity; a classic (non-integrated) pipeline is preferred as this is usually easier to get working, but ProGet will typically run in either configuration.
  2. Create a website that points to C:\ProGet\WebApp using whichever host name configuration or ports preferred. Note: A virtual directory is not supported at this time. Verify that the website is using the application pool created in the previous step.

Have a question? Try the Q&A Forum

Our documentation is now Open Source and on GitHub. We highly encourage our users to contribute and get involved! .