Cant install with out Dot Net 2.0

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
tacllem
New user
New user
Posts: 3
Joined: 2021-09-29 17:18

Cant install with out Dot Net 2.0

Post by tacllem » 2021-09-29 18:06

Hello.
I downloaded the latest version 20 minutes ago. Download hMailServer 5.6.7 - Build 2425 When try to install the application wants Dot Net 2.0 as a pre requisit. The links do not work and MS will only give me 2.1 and that does not full fill the requirment.

Anyone have thoughts on how I can install.

Thanks.

User avatar
jimimaseye
Moderator
Moderator
Posts: 10060
Joined: 2011-09-08 17:48

Re: Cant install with out Dot Net 2.0

Post by jimimaseye » 2021-09-29 18:47

You never said what os version you are installing on to.

viewtopic.php?f=7&t=37497

[Entered by mobile. Excuse my spelling.]
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

tacllem
New user
New user
Posts: 3
Joined: 2021-09-29 17:18

Re: Cant install with out Dot Net 2.0

Post by tacllem » 2021-09-29 18:49

Windows Server 2019

User avatar
jim.bus
Senior user
Senior user
Posts: 1571
Joined: 2011-05-28 11:49
Location: US

Re: Cant install with out Dot Net 2.0

Post by jim.bus » 2021-09-29 19:28

I use Windows 10 Pro.

You should be aware if not that, on Windows 10 Pro (and perhaps Windows Server thereby), I've never had a problem installing hMailServer with .Net

In addition, while I didn't have this installed, because of the other link which you were referred to with someone else having a similar problem, on Windows 10 Pro I installed .net Framework 3.5 (a Windows 10 Feature under Control Panel>Programs). .Net Framework 3.5 includes .Net 2.0 and 3.0. Prior to installing feature .Net Framework 3.5, i was using the default .Net Framework 4.8 Advanced Services as the only .Net Framework in Windows 10 Pro. I now have all of these Features installed.
If you think you understand quantum mechanics, you don't understand quantum mechanics.

tacllem
New user
New user
Posts: 3
Joined: 2021-09-29 17:18

Re: Cant install with out Dot Net 2.0

Post by tacllem » 2021-09-29 20:41

Thank you greatly.
In add remove components I enabled Dot Net 3.5. that installed 2.0 and 3.0
The installer completed with out any questions.

rexaurther
New user
New user
Posts: 1
Joined: 2021-11-23 19:24

Re: Cant install with out Dot Net 2.0

Post by rexaurther » 2021-11-23 19:25

thanks mate. works now in Windows Server 2019. Add Roles and Features Wizard and go to .NET Framework 3.5 Features (includes .NET 2.0 and 3.0)

User avatar
SorenR
Senior user
Senior user
Posts: 6315
Joined: 2006-08-21 15:38
Location: Denmark

Re: Cant install with out Dot Net 2.0

Post by SorenR » 2021-11-24 00:18

5.6.8 can be compiled with NET.4.x as minimum, tried it a while ago. worked fine on Win10 and Win2019. Broke WinXP and Win2003 however.
SørenR.

Woke is Marxism advancing through Maoist cultural revolution.

User avatar
jim.bus
Senior user
Senior user
Posts: 1571
Joined: 2011-05-28 11:49
Location: US

Re: Cant install with out Dot Net 2.0

Post by jim.bus » 2021-11-24 06:06

SorenR wrote:
2021-11-24 00:18
5.6.8 can be compiled with NET.4.x as minimum, tried it a while ago. worked fine on Win10 and Win2019. Broke WinXP and Win2003 however.
As I stated in an earlier post, While I have all available .Net options offered by Win 10 Pro installed now, before I activated .Net 3.5 in Win 10 Pro, I was able to install 5.6.8 without installing .Net 3.5. I just went ahead and installed .Net 3.5 for the Hell Of It. Installing 5.6.8 with just .Net 4.8 installed worked without problem.
If you think you understand quantum mechanics, you don't understand quantum mechanics.

mpavlik
Normal user
Normal user
Posts: 31
Joined: 2017-08-29 20:54

Re: Cant install with out Dot Net 2.0

Post by mpavlik » 2022-08-16 00:15

I'm confused. I just now tried to install the latest version without 3.5 (and 2.0) installed and it refuses to continue to install. There is an explicit warning and hard stop during installation if 2.0 isn't installed. Based on this 2.0 is required, right? I'm not compiling from source, I'm just using the installer. Isn't there any way to become independent from 2.0 at this point?

User avatar
jim.bus
Senior user
Senior user
Posts: 1571
Joined: 2011-05-28 11:49
Location: US

Re: Cant install with out Dot Net 2.0

Post by jim.bus » 2022-08-16 05:27

mpavlik wrote:
2022-08-16 00:15
I'm confused. I just now tried to install the latest version without 3.5 (and 2.0) installed and it refuses to continue to install. There is an explicit warning and hard stop during installation if 2.0 isn't installed. Based on this 2.0 is required, right? I'm not compiling from source, I'm just using the installer. Isn't there any way to become independent from 2.0 at this point?
In order to install hMailServer you need to have Windows .Net Framework 3.5 installed which includes .Net 2.0. Be sure you use the Windows Control Panel>Programs>turn windows features on and off. Then select .Net Framework 3.5. You might have to Restart. I'm not sure on this point.
If you think you understand quantum mechanics, you don't understand quantum mechanics.

User avatar
SorenR
Senior user
Senior user
Posts: 6315
Joined: 2006-08-21 15:38
Location: Denmark

Re: Cant install with out Dot Net 2.0

Post by SorenR » 2022-08-16 15:15

mpavlik wrote:
2022-08-16 00:15
I'm confused. I just now tried to install the latest version without 3.5 (and 2.0) installed and it refuses to continue to install. There is an explicit warning and hard stop during installation if 2.0 isn't installed. Based on this 2.0 is required, right? I'm not compiling from source, I'm just using the installer. Isn't there any way to become independent from 2.0 at this point?
2.0 is ONLY required because the installer says so. I have been running hMailServer 5.6.8/5.6.9 fine on 4.0 as minimum, but you need 2.0 to install. You can uninstall 3.5 (and 2.0) after installation :mrgreen:

hMailAdmin is the one using .NET.
SørenR.

Woke is Marxism advancing through Maoist cultural revolution.

User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Cant install with out Dot Net 2.0

Post by Dravion » 2022-08-17 01:03

mpavlik wrote:
2022-08-16 00:15
I'm confused. I just now tried to install the latest version without 3.5 (and 2.0) installed and it refuses to continue to install. There is an explicit warning and hard stop during installation if 2.0 isn't installed. Based on this 2.0 is required, right? I'm not compiling from source, I'm just using the installer. Isn't there any way to become independent from 2.0 at this point?
.NET 3.5 is required bc it installs other legacy components like .NET 2.0 some hMailServer components depends on.

Just goto Windows System settings and Windows Features enable .NET 3.5 and the re run hMailServer setup.

DSM
New user
New user
Posts: 1
Joined: 2022-11-02 11:36

Re: Cant install with out Dot Net 2.0

Post by DSM » 2022-11-02 11:42

Had the same problem as everybody else. Googled download .net 3.5 download, straight to download page, downloaded and restarted hmailserver installer. Worked like a dream. Thanks to everybody.

User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Cant install with out Dot Net 2.0

Post by Dravion » 2022-11-30 19:15

Run this command from an Elevated Command prompt

dism /online /enable-feature /featurename:netfx3 /all


And then re-run hMailServer Setup again.

Post Reply