# Steps for version update

### Pre-uninstall steps

* Take a backup of Cloud Assert VConnect database
* Take a backup copy of the following files

| File Name   | File Path                                     |
| ----------- | --------------------------------------------- |
| Web.config  | C:\inetpub\MgmtSvc-CloudAssert-VConnect       |
| License.cal | C:\inetpub\MgmtSvc-CloudAssert-VConnect\bin   |
| Web.config  | C:\inetpub\AzureStack-VConnectAdminExtension  |
| Web.config  | C:\inetpub\AzureStack-VConnectRP              |
| Web.config  | C:\inetpub\AzureStack-VConnectTenantExtension |

### Uninstallation steps

* Uninstall the VConnect service from Control Panel > Programs and features > Uninstall a program

### Installation steps

* Extract the VConnect installers to a location.
* Install the VConnect Service using ‘CloudAssert.WAP.VConnect.Service.Setup.msi’ installer ➢ Open a new command prompt as administrator.
* Change the directory to the AdminExtension folder and run the command **“CloudAssert.AzureStack.VConnect.Extension.Admin.deploy.cmd /y”**
* Change the directory to the TenantExtension folder and run the command **“CloudAssert.AzureStack.VConnect.Extension.Tenant.deploy.cmd /y”**
* Change the directory to the RPWeb folder and run the command **“CloudAssert.AzureStack.VConnect.RP.Web.deploy.cmd /y”**

### Post-installation steps

* Replace the web.config files with the backed-up copies.
* Update the database using VConnect tool.
  * Open a powershell window
  * Navigate to the location of the VConnect tool
  * Run the below command by replacing the necessary values to update the database settings

`.\VCONNECT.EXE UpdateDatabaseSettings <serverName> <databaseName> <userName> <password> [/isUseIntegratedSecurity] [/VConnectApiEndpoint:<String>] [/VConnectApiUserName:<String>] [/VConnectApiPassword:<String>]`

* Recycle the IIS application pool for the following sites.
  * AzureStack-VConnectAdminExtension&#x20;
  * AzureStack-VConnectRP
  * AzureStack-VConnectTenantExtension
  * MgmtSvc-CloudAssert-VConnect
