jenkinsci / jenkinsci/packaging
[JENKINS-20689] Windows installer should check the presence of .NET runtime
- Dominant language
- Shell
- Stars
- 43
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
Our sevice wrapper for Windows relies on .NET 2.0, which gets installed through setup.exe.
If the user tries to install Jenkins on Window that does not have a pre-installed runtime (AFAIK, vanilla Windows XP)), and if the user clicks the MSI file instead of setup.exe, then the installer ends up trying to launch a service without .NET.
The failure mode of this error is such that Windows SCM reports the service just didn't launch, and no useful information is reported anywhere, including event viewer.
It is preferrable for the installer to check the presence of .NET runtime, and instruct the user accordingly.
Marking this priority low since this only affects Windows XP AFAIK.
---
Originally reported by
kohsuke, imported from: Windows installer should check the presence of .NET runtime
Raw content of original issue
Our sevice wrapper for Windows relies on .NET 2.0, which gets installed through setup.exe.
If the user tries to install Jenkins on Window that does not have a pre-installed runtime (AFAIK, vanilla Windows XP)), and if the user clicks the MSI file instead of setup.exe, then the installer ends up trying to launch a service without .NET.
The failure mode of this error is such that Windows SCM reports the service just didn't launch, and no useful information is reported anywhere, including event viewer.
It is preferrable for the installer to check the presence of .NET runtime, and instruct the user accordingly.
Marking this priority low since this only affects Windows XP AFAIK.
Contributor guide
Research direction
Start by inspecting the Windows installer entry points named in the issue, setup.exe and the MSI, along with how the service wrapper is launched. Reproduce installation on Windows without the required .NET 2.0 runtime if possible. Done means the installer detects the missing runtime and gives the user useful instructions instead of silently failing to start the service.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100