From 682d79dfecfb20080817d5038b9e344362ac44c3 Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Tue, 3 May 2022 13:06:19 -0400 Subject: [PATCH] update msi install/uninstall instructions --- Install-Win32-OpenSSH-Using-MSI.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Install-Win32-OpenSSH-Using-MSI.md b/Install-Win32-OpenSSH-Using-MSI.md index 40e0e04..d4e9cd5 100644 --- a/Install-Win32-OpenSSH-Using-MSI.md +++ b/Install-Win32-OpenSSH-Using-MSI.md @@ -11,15 +11,23 @@ The commands to run, are as follows: * To install both the SSH Client & the SSH Server (default behavior) `msiexec /i ` * To install only the SSH Client -`msiexec /i REMOVE=Server` +`msiexec /i ADDLOCAL=Client` * To install only the SSH Server +`msiexec /i ADDLOCAL=Server` +* To uninstall only the SSH Client `msiexec /i REMOVE=Client` +* To uninstall only the SSH Server +`msiexec /i REMOVE=Server` ### Examples: * Installing SSH Client & openssh.msi is in the working directory: -`msiexec /i openssh.msi REMOVE=Server` +`msiexec /i openssh.msi ADDLOCAL=Client` * Installing SSH Server & openssh.msi is in C:\users\public\downloads\: -`msiexec /i C:\users\public\downloads\openssh.msi REMOVE=Client` +`msiexec /i C:\users\public\downloads\openssh.msi ADDLOCAL=Server` +* Uninstalling SSH Client & openssh.msi is in the working directory: +`msiexec /i openssh.msi REMOVE=Client` +* Uninstalling SSH Server & openssh.msi is in C:\users\public\downloads\: +`msiexec /i C:\users\public\downloads\openssh.msi REMOVE=Server` ## 2. Update SYSTEM PATH (Required for SCP and SFTP) Append the Win32-OpenSSH install directory to the system path, by running the following command: