-
-
Notifications
You must be signed in to change notification settings - Fork 98
x64 Installer Fails on Windows Server 2022 #822
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
I'm trying to look into this as well. This might be related to the commented-out lines in "Need_Uninstall" also references this, but these haven't been touched in years. What's interesting is v0.5 installs fine on newer OS, but it seems v0.6 struggles with anything after Windows 2012. |
If have this issue try to install "Microsoft Visual C++ 2015 Redistributable Update 3 RC " or later, before NSClient++ 0.6.0.1 installation. |
No, you have to install the last version of MV C++ 2015. The 14.40.33810.0. This solves the issue. |
I might be missing something and this is an accepted practice, but it looks like the MSI contains and attempts to overwrite the VC Runtime DLLS in %windir%\system32 as part of the MainProgram feature? This seems like a very bad idea. I've just had a bunch of servers restart critical services (SMS Agent, IIS, WMI, SQL) when installing 0.6.7 onto hosts that had a VC++ 2015 runtime below what's in the MSI (14.42.34433.0). Shouldn't the redist installation be handled separately, either launched by the installer or failed if not the correct version? |
The installer uses a merge module (https://github.com/mickem/nscp/blob/main/installers/installer-NSCP/Product.wxs#L30) from Microsoft to install the VC runtimes. So the procedure should be fine. There are two potential issues though.
So I need to look into this a bit... So currently to be sure install the runtimes before you install |
Thank you for the explanation, I did suspect I may be misunderstanding. In the meantime I've worked around it by specifying |
I did come across this though about merge module deprecation - https://learn.microsoft.com/en-us/cpp/windows/redistributing-components-by-using-merge-modules?view=msvc-170. |
This is an attempt to fix the installer issues as per mickem/nscp#822.
Issue and Steps to Reproduce
Try to install 64bit MSI for v0.6.0.1
Expected Behavior
NSClient/NSCP is installed.
Actual Behavior
Error is displayed citing that a DLL is missing, but does not mention which DLL is missing.
Details
Additional Details
NSClient++ Install log:
I've attempted to install it while only having .Net 4.8 feature installed as with as while having the older .Net 3.5 feature installed and it makes no difference either way.
The text was updated successfully, but these errors were encountered: