Multiple Versions of Sitecore Installation Framework
PowerShell uses the latest available version of a module in a session by default.
If you want to install a version of Sitecore XP that uses an older version of SIF, you must install the appropriate version of SIF.
For example, if you want to install a 9.0.x version of Sitecore XP on the same computer as a Sitecore XP 10.0.0 installation, you must also have SIF 1.2.1 installed.
To install a specific version of SIF, run the following cmdlet:
Enter the appropriate value in the RequiredVersion parameter. The following table lists the versions of SIF that are compatible with Sitecore XP 9.0.0 and later:
| Sitecore XP Version | Compatible SIF Version |
|---|---|
| 9.0.x | 1.2.1 |
| 9.1 | 2.0.0 |
| 9.1.1 | 2.1.0 or later |
| 9.2 | 2.1.0 or later |
| 9.3 | 2.2.0 |
| 10.0.x | 2.3.0 or later |
| 10.1.0 to 10.1.3 10.1.4 or later | 2.3.0 or later 2.4.0 or later |
| 10.2.0 to 10.2.1 10.2.2 or later | 2.3.0 or later 2.4.0 or later |
| 10.3.0 to 10.3.1 10.3.2 or later | 2.3.0 or later 2.4.0 or later |
| 10.4.x or later | 2.4.0 or later |
| 10.5.x or later | 2.4.1 or later |
If you need to install SIF version 2.4.0 (or higher) on a machine where a previous version is installed, you need to use -SkipPublisherCheck flag to avoid Powershell error related to Authenticode issuer.
Run a specific version of SIF
To run a specific version of SIF, start a new PowerShell session and run the following cmdlet:
You will use the specified version for the remainder of the session.
The next time you start a PowerShell session, it will automatically use the latest available version.