Manual Installation
  • 14 Jul 2022
  • 14 Minutes to read
  • Dark
    Light
  • PDF

Manual Installation

  • Dark
    Light
  • PDF

Note

We do not support manual installations, and this document is for informational and troubleshooting purposes only. If you really want to install the product without using Inedo Hub, you can follow these instructions to do so — but your successor may have a very difficult time maintainng this installation.

Table of Contents

Software Components

On Windows, Inedo products consist of 3 distinct deployable application components required to run the software:

  • Website - an ASP.NET 4.5 web application which serves as the primary interface to your Inedo product via a web UI and feed API implementations (for v2022 and later, this component is now part of the Service)
  • Service - a Windows Service that performs indexing and other background tasks
  • Database - a SQL Server database which contains all of the persistent data including feeds, packages(ProGet)/artifacts(BuildMaster), privileges, and internal settings

Prerequisites

Pre-Installation Check List

These are the same as the Inedo product installation guides:
BuildMaster Installation Guide
ProGet Installation Guide
Otter Installation Guide

Get the Manual Installation Package

The manual installation package is a .zip file that contains all the files and scripts necessary to create or upgrade the deployable components listed above.

To download the package, select "Manual Install" link for the desired version from the following pages:
BuildMaster
ProGet
Otter

If you are unsure which version to select, use the latest version.

The manual installation package contains the following:

  • Extensions directory - contains the default extensions shipped with the selected version of your Inedo product.
  • Service directory - contains the files and binaries required to run the Windows Service for your Inedo product
  • SqlScripts directory - contains the SQL scripts required to generate the SQL Server database, or update an existing one to the schema required for the downloaded version
  • Website directory - contains the files and binaries required to run the Website application

Note that, in earlier versions of Inedo products, the directory names may be different or may be .zip files instead of directories.

Installation Directories

By default, the Inedo product installers allow configuration of their root installation directory and will configure temporary directories and package storage paths for you. During a manual installation, these directories must be provisioned prior to installation.

Before configuring the necessary paths, you should decide where the following base directories will reside:

BuildMaster:

Directory Description Installer Default
Root installation directory the root disk path for the Website and Service binaries, and extensions C:\Program Files\BuildMaster
Program data directory the root disk path for package storage, temporary directories, and the configuration file C:\ProgramData\BuildMaster

ProGet:

Directory Description Installer Default
Root installation directory the root disk path for the Website and Service binaries, and extensions C:\Program Files\ProGet
Program data directory the root disk path for package storage, temporary directories, and the configuration file C:\ProgramData\ProGet

Otter

Directory Description Installer Default
Root installation directory the root disk path for the Website and Service binaries, and extensions C:\Program Files\Otter
Program data directory the root disk path for package storage, temporary directories, and the configuration file C:\ProgramData\Otter

Though not strictly required until later, you may also want to ensure the existence of the following directories if you would like to use the installer defaults:

BuildMaster:

  • C:\ProgramData\Inedo\SharedConfig
  • C:\Program Files\BuildMaster\Service
  • C:\Program Files\BuildMaster\Web
  • C:\Program Files\BuildMaster\Extensions
  • C:\ProgramData\BuildMaster\Extensions
  • C:\ProgramData\BuildMaster\Artifacts
  • C:\ProgramData\BuildMaster\ExtensionsTemp\Service
  • C:\ProgramData\BuildMaster\ExtensionsTemp\Web

ProGet:

  • C:\ProgramData\ProGet\Extensions
  • C:\ProgramData\ProGet\ExtensionsTemp\Service
  • C:\ProgramData\ProGet\ExtensionsTemp\Web
  • C:\ProgramData\ProGet\Packages
  • C:\ProgramData\Inedo\SharedConfig
  • C:\Program Files\ProGet\Extensions
ProGet

If you plan to use other paths (i.e. UNC shares) for certain storage paths like "packages root path", you may proceed without creating the directories before they are configured in the software.

Otter:

  • C:\ProgramData\Inedo\SharedConfig
  • C:\Program Files\Otter\Service
  • C:\Program Files\Otter\Web
  • C:\Program Files\Otter\Extensions
  • C:\ProgramData\Otter\Extensions
  • C:\ProgramData\Otter\ExtensionsTemp\Service
  • C:\ProgramData\Otter\ExtensionsTemp\Web

Database Installation (SQL Server)

Your Inedo product is compatible with existing supported SQL Server installations, local or remote, and also with SQL Azure. Examples here will use osql as the tool to execute sample queries (since it is installed with SQL Server), but you can also use sqlcmd or SQL Server Management Studio directly.

SQL Server Recommendations:

  • Use the latest version of SQL Server available (but it must be at least 2012 SP4)
  • Inedo products do support SQL Server Express, but we recommend using an existing SQL Server Standard Edition (or higher) if you are licensed for it
  • If you've installed a new SQL Server instance, note whether a named or default instance is used, as it will be required for the connection string information (e.g. Server=dbserver01\SQLEXPRESS; ... vs. Server=dbserver01; ...). SQL Server Express defaults to SQLEXPRESS as the instance name
  • For single-server installations (i.e. non-HA/LB), you may have the database server running on the same server that ProGet is installed on (i.e. the connection string would be Server=localhost; ... or Server=localhost\SQLEXPRESS; ...)
ProGet

For manual upgrades from a previous version installed via the ProGet installer, the instance name might be INEDO, and older versions (v3 and earlier) would have used the instance name PROGET

Prerequisites

Your Inedo product requires an existing SQL Server database server, so if you don't already have a database server, you'll need to create one. We recommend installing and configuring the latest version of SQL Server Express for this purpose: https://www.microsoft.com/en-us/sql-server/sql-server-editions-express.

This should mostly be a guided process, but consider:

  • Integrated Windows Authentication is the recommended authentication mechanism (i.e., using a domain account as opposed to supplying a username/password in the connection string)
  • Make sure to add your account (or a group that will represent Inedo product database administrators) when prompted to "Specify SQL Server Administrators" during "Database Engine Configuration" step so that no additional steps are required to create/manage your Inedo product’s database
  • Be aware of the SQL Server instance name as it is part of the Server value in the connection string

1. Create a database named «Inedo-product» on the desired SQL Server instance

Technically speaking, the database doesn't need to be named «Inedo-product», but for simplicity of both upgrades and configuration, we recommend «Inedo-product» as the database name. The database collation however must be SQL_Latin1_General_CP1_CI_AS to ensure case-insensitivity in default text comparisons.

osql -E -S <db-server> -Q "CREATE DATABASE [«Inedo-product»] COLLATE SQL_Latin1_General_CP1_CI_AS"

2. Create a database server login

Since most installations will use Integrated Authentication, a database server login for the Inedo product user identity is required. If it doesn't exist, one can be created using this script:

osql -E -S <db-server> -Q "CREATE LOGIN [domain\«Inedo-product»ServiceUser] FROM WINDOWS"

Note that built-in accounts may be used, such as NT AUTHORITY\NETWORK SERVICE or NT AUTHORITY\LOCAL SYSTEM, though an actual domain account is recommended.

For more information on creating database logins, see: https://docs.microsoft.com/en-us/sql/t-sql/statements/create-login-transact-sql

3. Run inedosql to update the database

Database updates are performed with inedosql, which is an open-source command-line tool developed by Inedo in order to execute SQL (.sql) scripts against a SQL Server database. See the inedosql GitHub page for more information.

Database Update Process

  1. Copy the SqlScripts directory into a temporary directory.
  2. Run command line and change current directory to the SqlScripts folder which contains inedosql.exe file.
  3. Run the following command in that directory, replacing the connection string as needed:
.\inedosql.exe update . --connection-string=<connection-string>

For example, to update the ProGet DB:

cd C:\ProGetSetup5..14_Manual\
.\inedosql.exe update . --connection-string="Server=dbserver01\SQLEXPRESS; Database=ProGet; Integrated Security=true;"

This command will both update the schema of the target database, and recreate all objects (views, functions, stored procedures).

On new installations, be sure to note the connection string that was used for this command, as it be a required value in the configuration file that instructs your Inedo product which database to connect to.

Legacy Database Update Process

Applies to:

  • BuildMaster 6.1 and earlier
  • ProGet 5.2 and earlier
  • Otter 2.2 and earlier.

In older Inedo products, dbupdater.exe is used to update the database. Use these instructions for updating the database:

  1. Copy the SqlScripts directory into a temporary directory.
  2. Run command line and change current directory to the SqlScripts folder which contains dbupdater.exe file.
  3. Unpack required scripts from Scripts.gz with the following command:
.\dbupdater.exe unpack .\Scripts.gz .
  1. After the required folders/files are extracted, stay in the same directory and run the following command in that directory, replacing the connection string as needed:
.\dbupdater.exe update . <connection-string>

For example, to update a legacy ProGet installation:

cd C:\ProGetSetup5.2.14_Manual\
.\dbupdater.exe unpack .\Scripts.gz .
.\dbupdater.exe update . "Server=dbserver01\SQLEXPRESS; Database=ProGet; Integrated Security=true;"

4. Create a database user and grant access to your Inedo product’s database role

In order for the database server login to access the database with the permissions required by your Inedo product, a database user must be created:

osql -E -S <db-server> -d ProGet -Q "CREATE USER [domain\«Inedo-product»ServiceUser] FOR LOGIN [domain\«Inedo-product»ServiceUser]"

Then the user must be granted access to the Inedo product user role (which was added during the "run dbupdater.exe" step):

osql -E -S <db-server> -d ProGet -Q "ALTER ROLE [«Inedo-product»User_Role] ADD MEMBER [domain\«Inedo-product»ServiceUser]"

Website Installation (IIS)

Prerequisites

Before installing any Inedo product in IIS, the following roles/features must be enabled in Windows:

Server Roles

  • Web Server (IIS) > Web Server > Security > Windows Authentication (if planning to configure Integrated Windows Authentication in the future)
  • Web Server (IIS) > Web Server > Application Development > .NET Extensibility 4.6 (or greater)
  • Web Server (IIS) > Web Server > Application Development > ASP.NET 4.6 (or greater)
  • Web Server (IIS) > Web Server > Common HTTP Features > Static Content
  • Web Server (IIS) > Management Tools > IIS Management Console

Features

  • .NET Framework 4.6 Features > .NET Framework 4.6
  • .NET Framework 4.6 Features > ASP.NET 4.6

ProGet 2022 IIS Prerequisite

ProGet 2022 is built using .NET 6.0. You will need to download the .NET 6.0 Web Hosting Bundle and install it to add .NET 6 support for IIS.

1. Copy Website files

Copy the contents of Web directory from the installation package to a subdirectory of the root installation directory identified earlier. For reference, the installer defaults this to: C:\Program Files\«Inedo-product»\Web

This is step is not required in v2022 and later

In Otter 2022, ProGet 2022, and BuildMsater 2022 and later, the website is now included as part of the Service directory.

2. Create an application pool in IIS

While you could use an existing application pool if desired, we recommend creating a new one. The minimum requirements for the application pool are:

  • .NET CLR Version - 4.0
  • Managed Pipeline Mode - Integrated is recommended, but Classic will also work

Example PowerShell command to create an app pool:

&"C:\Windows\System32\inetsrv\appcmd.exe" add apppool /name:«Inedo-product» /managedRuntimeVersion:v4.0 /managedPipelineMode:Integrated /processModel.identityType:SpecificUser /processModel.userName:«Inedo-product»ServiceUser@domain /processModel.password:<account-password>

You may adjust other application pool settings as desired.

3. Create a site in IIS

The minimum requirements for the IIS web site are:

  • Physical Path - the path on disk where the «Inedo-product» Website files were copied to in step 1 (In ProGet 2022, you will need to point this to the Service directory)
  • Application Pool - the application pool to use, created in step 2
  • Binding - the combination of IP address(es) and port(s) used to access your Inedo product over the network

Note that any of these values can be edited once they are created, for example, to add SSL certificates, update the port that ProGet is listening on, etc.

Example PowerShell command to create a site:

&"C:\Windows\System32\inetsrv\appcmd.exe" add site /name:«Inedo-product» /physicalPath:"C:\Program Files\«Inedo-product»\Web" /bindings:"http/*:80:" /applicationDefaults.applicationPool:«Inedo-product»

You may adjust other IIS site settings as desired.

Service (Windows Service)

1. Copy service files

Copy the contents of Service directory from the installation package to a subdirectory of the root installation directory identified earlier. For reference, the installer defaults this to: C:\Program Files\«Inedo-product»\Service

2. Install the service

The copied service files will contain the service executable «Inedo-product».Service.exe; run this program from an elevated command prompt or PowerShell window to install the Windows Service (eg INEDOPROGETSVC):

PS C:\Program Files\ «Inedo-product»\Service> .\ «Inedo-product».Service.exe install --user=" «Inedo-product»ServiceUser@domain" --password="<account-password>"

Note: at this time, it is not permitted to change the service name from INEDO«INEDO-PRODUCT»SVC.

3. Start the service

The service can be started from the Windows Service Controller, or using the following PowerShell command:

Start-Service INEDO«INEDO-PRODUCT»SVC

First Run

Once the Website and Service are started, your Inedo product should be accessible via the binding specified in IIS site step 3. The first time you access your Inedo product via the Website, some additional settings must be configured.

1. Ensure the «Inedo-product» configuration file exists with valid values

Once the Website, Service, and Database are configured, the final step is to create or update your Inedo product configuration file to supply the database connection string noted earlier in step 3 of the database configuration, and ensure WebServer Enabled="false".

Once values in this file are changed, any IIS application pool or Windows Service that reference it must be restarted to see the new values.

2. Ensure the proper Advanced Configuration settings are set

Once you log-in to your Inedo product for the first time, you can visit the Administration > Advanced Settings page to finalize the configuration stored in the database.

The following settings within the product that must be configured, their corresponding directories, and their installer defaults are listed below:

Setting Description Installer Default
Extensions.BuiltInExtensionsPath path containing extensions included with the installation package C:\Program Files\«Inedo-product»\Extensions
Extensions.ExtensionsPath the disk path where downloaded extensions are stored and loaded from by ProGet C:\ProgramData\«Inedo-product»\Extensions
Extensions.UseNewExtensionLoader when set, uses CommonCachePath instead of ServiceTempPath and WebTempPath for Extensions true (checked)
Extensions.CommonCachePath used only when UseNewExtensionLoader is true, a temp path where extensions loaded from ExtensionsPath are extracted to and loaded by the «Inedo-product» service C:\ProgramData\«Inedo-product»\ExtensionsCache
Extensions.ServiceTempPath used only when UseNewExtensionLoader is false, a temp path where extensions loaded from the extensions path are extracted to and loaded by the «Inedo-product» service C:\ProgramData\«Inedo-product»\ExtensionsTemp\Service
Extensions.WebTempPath used only when UseNewExtensionLoader is false, a temp path where extensions loaded from the extensions path are extracted to and loaded by the Inedo producr Website C:\ProgramData\«Inedo-product»\ExtensionsTemp\Web
Extensions.UpdateFeedUrl the extensions feed URL, required to browse extensions in the software https://proget.inedo.com/upack/Extensions
Storage.PackagesRootPath ProGet Only base path on disk for ProGet's default package store C:\ProgramData\ProGet\Packages (more info)
Artifacts.BasePath BuildMaster Only base path on disk for BuildMaster's default artifact store C:\ProgramData\BuildMaster\Artifacts

The directories referenced in the configuration values must exist prior to beginning use of your Inedo software as the Inedo product does not create them for you.

If they do not exist, several extensions-related errors will be logged in the Diagnostic Center, and/or packages may be stored on disk in an undefined manner. If the directories did not exist but your Inedo producr was already started, both the IIS application pool and Windows Service must be restarted.

Each of these directories can assigned to a path on a local volume or UNC share provided that:

  • the user account specified as the "log on user" for the Windows Service has read/write/delete access to them
  • the user account specified as the "application pool identity" in IIS has read/write/delete access to them

We do not recommend using a mapped drive (e.g. X:\Packages) to reference directories for the reasons described here. Instead, use the full UNC path that the drive is mapped to, for example: \\file-sv01\$x\packages

If you do attempt to use a mapped drive (or you are installing on Azure using Azure Files as the backing store), you may need to configure the application pool to set the Load User Profile property to True.

ProGet only: Packages Root Path

The Storage.PackagesRootPath setting defines the base storage location on disk for packages managed by ProGet's default package store. Its value is stored in the database and assignable on the Advanced Settings page.

There are several other packages path settings (e.g., Storage.NpmPackagesLibrary, Storage.MavenArtifactLibrary) that by default are relative to the Storage.PackagesRootPath. If one of these settings is individually set, it will override the default behavior of being relative to the root path. To restore that behavior, save the desired field with an empty value.

Note: Older load-balanced installations may have stored the ProGetConfig.Storage.PackagesRootPath storage location in a web application configuration file. This source of configuration will be removed in a future version of ProGet, replaced solely by the database setting. If you see the ProGetConfig.Storage.PackagesRootPath setting in an existing Web_appSettings.config, its value should be migrated to the Storage.PackagesRootPath setting in Administration > Advanced Settings. The database setting already takes precedence if it exists, so if there is an existing value for this setting on the Advanced Settings page, it can be removed from the configuration file.

3. Set license key and activate

All editions of your Inedo software require a valid license to use. Once the Inedo poduct Website is accessible, you must visit the Administration > Licensing & Activation page to apply a license key. If your Inedo prodcut is able to access the internet, the key will be automatically activated.

If you have already obtained a license key but cannot automatically activate, visit the License Key Activation documentation for more information on manual activation.

If you do not have a license key yet (or do not know what yours is), you may view keys associated with your organization or request one from MyInedo.

Extensions

While extensions are available in our own public ProGet instance, the ProGet installation ships with "frozen" or "locked" versions of the extensions at the time the installer was built.

Once the Extensions.BuiltInExtensionsPath setting is configured to a valid directory, copy the contents of Extensions/ directory from the installation package into that directory, then restart the application pool and Inedo product Windows Service. Any extensions in this path are combined with the extensions managed within the Inedo product (i.e. downloaded from the Administration > Extensions page and stored in the Extensions.ExtensionsPath directory), and the "latest" SDK-compatible version (as per semantic versioning rules) is loaded.

Note

The InedoCore extension must be installed to use Active Directory integration.

Manual Extension Installation

To manually install extensions, see our manual extension installation guide.

Troubleshooting

See our troubleshooting guide.


Was this article helpful?