Upgrade Procedure Using the Installer (Windows)
## Overview
This procedure is for upgrading Pleasanter using the "Installer". When using the installer, it automatically backs up existing applications, downloads the latest version resources, and merges parameters.
You can also upgrade using the previous procedure of manually backing up, arranging modules, and merging parameters. Please refer to the following for manual upgrade procedures.
[Upgrade Procedure for Version 1.4.8.0 or Later (Windows)](version-up-windows-1.4.8.0)
[Pleasanter Version Upgrade Procedure (Windows)](version-up-net)
## Notes
1. When using the installer, Pleasanter will be upgraded to version 1.5. If you are using Pleasanter 1.4, please [install .NET 10](/manual/install-dotnet-windows) in advance.
1. If you are using Enterprise Edition and have performed column expansion, please upgrade according to the "Upgrade Procedure for Enterprise Edition Upgraded Pleasanter" in "Content provided for support contract holders".
## Limitations
1. The version to be upgraded is 1.4.0.0 or later.
1. The version to be upgraded using the "Installer" is Ver1.4.0.0 or later. Please refer to the manual upgrade procedure when upgrading Ver1.3.50.2 or earlier.
[Pleasanter Version Upgrade Procedure (Windows)](version-up-net)
1. The version to be upgraded is 1.4.8.0 or later.
## Procedure
The procedure for upgrading is as follows.
1. Stop Pleasanter
1. Back up the database
1. Install the installer
1. Run the installer
1. Check that Pleasanter is running
## 1. Stop Pleasanter
### 1. Stop Pleasanter
1. Open the "Tools (T)" menu in "Server Manager" and launch "Internet Information Services (IIS) Manager".
1. Select "Server name" from the left pane. Click "Stop" in the right pane to stop IIS.

## 2. Back Up the Database
Back up the database. **If you have upgraded to Enterprise Edition and expanded column, be sure to back it up**
[Pleasanter User Manual - FAQ: Backup, Restore](https://pleasanter.org/manual?category=5580)
## 3. Install/update the Installer
**Even if it is already installed, be sure to run it. If the installer has been updated, update it.**
Execute the following command to install the installer.
```
dotnet tool install -g Implem.PleasanterSetup
```
### If you are not connected to a network environment, please install using the following procedure.
<details>
<summary>(Click here to open/close the details) </summary>
1. Open the Nuget Gallery for Implem.PleasanterSetup from [here](https://www.nuget.org/packages/Implem.PleasanterSetup/) and download the .nupkg file from “Download package”.

1. Run the command below to create a folder of your choice to place the .nupkg file.
※This procedure explains how to create C:\dotnet-tools.
```
mkdir C:\dotnet-tools
```
1. Place the .nupkg file downloaded in 2.1 in C:\dotnet-tools.
1. Run the following command to install the installer.
```
dotnet tool install -g --add-source C:\dotnet-tools Implem.PleasanterSetup
```
</details>
## 4. Run the Installer
*Download the latest version of the resources and ParametersPatch.zip, and perform the upgrade.
1. Run the installer by executing the following command.
```
pleasanter-setup
```
**If you are not connected to a network environment, please follow the steps below**
<details>
<summary>(Click here to open/close the details) </summary>
1. Download the latest version of Pleasanter from the [Download Center](https://pleasanter.org/dlcenter) and place it in "C:\web\".
1. Download the same ParametersPatch.zip as the version you placed from the [GitHub release notes](https://github.com/Implem/Implem.Pleasanter/releases) and place it in "C:\web\".
1. Execute the following command.
Please confirm that the configuration under the **C:\web\** directory is as follows.
C:\web\Pleasanter_1.4.x.x.zip
C:\web\PrametersPatch.zip
```
pleasanter-setup -r C:\web\Pleasanter_1.4.x.x.zip -patch C:\web\ParametersPatch.zip
```
</details>
2. Enter the directory where Pleasanter is installed.
If installed in "C:\web\pleasanter", leave it blank and press the Enter key.

3. A summary screen will be displayed.
Check the contents and enter **y** after "Shall I install Pleasanter with this content? Please enter ‘y(yes)' or 'n(no)'. : " and press the Enter key to execute.
*The password is masked.

4. When the message "Type "y" (yes) if the license is correct, otherwise type "n" (no)" appears, enter **y** and execute.
```
<SUCCESS> Starter.ConfigureDatabase: Database configuration has been completed.
<SUCCESS> Starter.Main: All of the processes have been completed.
Setup is complete.
```
5. For installers version 1.2.0 (Implem.PleasanterSetup.1.2.0.nupkg) and later, when the setup is complete, a web browser will launch and display [the Pleasanter Extensions trial information page](https://pleasanter.org/pleasanter-extensions-trial/?utm_source=installer&utm_medium=app&utm_campaign=extension-trial&utm_content=route01&_gl=1*1yskiwt*_ga*MTM3OTgwMzk2My4xNzYwNjg2Mzc2*_ga_FHETHGLQJE*czE3Njc1NzA3OTkkbzEyMiRnMSR0MTc2NzYwMjMxMyRqNDUkbDAkaDA.).

## 5. Check that Pleasanter is Running
1. Open the "Tools (T)" menu in "Server Manager" and start "Internet Information Services (IIS) Manager".
1. Select "Server name" from the left pane. Click "Start" on the right pane to start IIS.

1. After starting, select "「Site」" - "Default Web Site" from the left pane, click "*.80 (http) Reference" on the right pane, and start Pleasanter.

1. After logging in, click "Help" - "Version" in the navigation menu and confirm that the version is correct.

*If you do not need the C:\web\pleasanter_yyyyMMdd_HHmmss backed up by the installer, delete it. If you want to keep it, move it to a different folder.