-
Notifications
You must be signed in to change notification settings - Fork 785
Latest MSI exits without installing, no error messages #1962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Have you run msiexec with logging enabled to try and find out why it is bailing out? msiexec /i OpenSSH-Win64-v8.9.1.0.msi /L*V C:\path\to\install.log ADDLOCAL=Client When it fails you can scan through that log to try and figure out if it has any errors or other useful information that could indicate the problem. |
Gave that a try just now, thanks for the /L tip. There's a very brief flicker of a popup dialog, even quicker than before. The logfile gets created and is zero length. Whatever's going awry has been overtaken by events here; it turns out that we need some of the changes in the 9.0 release of OpenSSH, so even getting the MSI working wouldn't help us. Can probably just close this issue, I'm assuming? |
Ran into this issue as well. The solution was to use an absolute path for msiexec.exe. So instead of use something like |
I found that running it in powershell without the msiexec seems to work too. No clue why. |
@Farmbuyer - sounds like you no longer need a fix immediately, but if you have a chance, could you try out the above suggestions from @jannikac and @weavage & see if either works for you? If neither of those work, I'm curious as to whether the issue with msiexec is isolated to OpenSSH - are you able to install other programs on the VM via msiexec?
As far as install workarounds, WinGet is also an option for installing the OpenSSH Beta Releases that are available on GitHub. |
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce
Following the instructions at https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH-Using-MSI to do a test installation on a VM before trying it on a larger scale:
msiexec /i OpenSSH-Win64-v8.9.1.0.msi ADDLOCAL=Client
Expected behavior
I expected either a text-based or GUI popup installer, to install only the client feature.
Actual behavior
A small installer dialog appears, gets as far as "Configuring " (it's visible for only a second), then... that's it. The installer exits, nothing is installed, and no error messages are displayed either in the PowerShell window or in GUI format.
After reading issue #1936, I tried running the installer again without the
ADDLOCAL
, figuring if it put both client and server in place, I could always try rerunning withREMOVE=Server
to take sshd back out. Got the same early-exit, no-op, no diagnostics behavior.Then I wondered whether it might be detecting the original outdated OpenSSH feature that I'm trying to replace, and bailing out because it's present. So I ran
Remove-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
which as expected removedC:\Windows\System32\OpenSSH
altogether. However, running the MSI after that still did nothing, with no errors.As a workaround, I gave up on the MSI and downloaded the OpenSSH-Win64.zip instead. This works in that I can move it in place and then tweak security permissions as documented in the first four steps on https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH, but manually extracting a zip file and shuffling around permissions isn't going to fly with the larger IT organization here, even if it's scripted. They'll accept a signed MSI from Microsoft, but they're scared of anything that looks "unpolished".
Error details
No errors are mentioned.
Environment data
Version
OpenSSH-Win64-v8.9.1.0
The text was updated successfully, but these errors were encountered: