Thread overview
DMD installation prompts "Windows protected your PC"
Aug 06, 2018
Timoses
Aug 06, 2018
rikki cattermole
Aug 06, 2018
Adam D. Ruppe
Aug 07, 2018
Manu
Aug 06, 2018
Timoses
Aug 06, 2018
rikki cattermole
Aug 06, 2018
rjframe
Aug 07, 2018
Timoses
Aug 06, 2018
tide
August 06, 2018
Thanks Windows, not!

Since our department switched to Windows 10 I'm now unable to install DMD.

To make it even worse, there's no way I see to install a virtual machine any more (VirtualBox or VMWare) since they collide with Hyper-V. I've disabled Hyper-V, but it seems there can be a lot of things using it around one's back anyway.

So... No more D programming for me it seems. Very sad.

Of course there might be ways around it such as including the IT department. However, I use D for such niche use cases that I believe its unlikely to succeed.

Any bright minds have better ideas?
August 07, 2018
On 07/08/2018 2:13 AM, Timoses wrote:
> Thanks Windows, not!
> 
> Since our department switched to Windows 10 I'm now unable to install DMD.
> 
> To make it even worse, there's no way I see to install a virtual machine any more (VirtualBox or VMWare) since they collide with Hyper-V. I've disabled Hyper-V, but it seems there can be a lot of things using it around one's back anyway.
> 
> So... No more D programming for me it seems. Very sad.
> 
> Of course there might be ways around it such as including the IT department. However, I use D for such niche use cases that I believe its unlikely to succeed.
> 
> Any bright minds have better ideas?

dmd works fine on W10.

So the question is, are you seeing AV or are you seeing some other thing that your IT put in place (e.g. require code signing).
August 06, 2018
On Monday, 6 August 2018 at 14:19:47 UTC, rikki cattermole wrote:
> (e.g. require code signing).

Why don't we just sign the code anyway? This shouldn't be a big deal and it has been a problem for many people for many years.


August 06, 2018
On Monday, 6 August 2018 at 14:19:47 UTC, rikki cattermole wrote:
> dmd works fine on W10.
>
> So the question is, are you seeing AV or are you seeing some other thing that your IT put in place (e.g. require code signing).

Well, there is Kaspersky installed and I know there's been a discussion about it here (https://forum.dlang.org/post/wjvfkteddmwhhiktveng@forum.dlang.org).
However, it's not Kaspersky that is complaining. At least it doesn't look like it. Perhaps Windows wraps it somehow, idk.

Windows prompt:
http://oi68.tinypic.com/2eevoxt.jpg
All I can do is "Don't run". It has to do with the Windows Defender settings, which I can't change.

August 07, 2018
On 07/08/2018 2:53 AM, Timoses wrote:
> On Monday, 6 August 2018 at 14:19:47 UTC, rikki cattermole wrote:
>> dmd works fine on W10.
>>
>> So the question is, are you seeing AV or are you seeing some other thing that your IT put in place (e.g. require code signing).
> 
> Well, there is Kaspersky installed and I know there's been a discussion about it here (https://forum.dlang.org/post/wjvfkteddmwhhiktveng@forum.dlang.org).
> However, it's not Kaspersky that is complaining. At least it doesn't look like it. Perhaps Windows wraps it somehow, idk.
> 
> Windows prompt:
> http://oi68.tinypic.com/2eevoxt.jpg
> All I can do is "Don't run". It has to do with the Windows Defender settings, which I can't change.

As of Win8, it definitely is code signing.

https://answers.microsoft.com/en-us/windows/forum/windows_other-windows_install/windows-defender-smartscreen-prevented-an/0e5bf2b8-932f-4df0-a984-a70b2fd0cc7a
August 06, 2018
On Mon, 06 Aug 2018 14:13:02 +0000, Timoses wrote:

> Thanks Windows, not!
> 
> Since our department switched to Windows 10 I'm now unable to install DMD.
> 
> To make it even worse, there's no way I see to install a virtual machine any more (VirtualBox or VMWare) since they collide with Hyper-V. I've disabled Hyper-V, but it seems there can be a lot of things using it around one's back anyway.

By "disable Hyper-V", do you mean uninstall via Add/Remove Windows Features? I've never had a problem with VirtualBox after that.

Have you tried the DMD zip instead of installer?

--Ryan
August 06, 2018
On Monday, 6 August 2018 at 14:13:02 UTC, Timoses wrote:
> Thanks Windows, not!
>
> Since our department switched to Windows 10 I'm now unable to install DMD.
>
> To make it even worse, there's no way I see to install a virtual machine any more (VirtualBox or VMWare) since they collide with Hyper-V. I've disabled Hyper-V, but it seems there can be a lot of things using it around one's back anyway.
>
> So... No more D programming for me it seems. Very sad.
>
> Of course there might be ways around it such as including the IT department. However, I use D for such niche use cases that I believe its unlikely to succeed.
>
> Any bright minds have better ideas?

You can upload the files that get installed somewhere, I don't think the installer does anything other than setup the sc.ini file which seems to have become rather  basic.



August 07, 2018
On Monday, 6 August 2018 at 16:22:51 UTC, rjframe wrote:
> On Mon, 06 Aug 2018 14:13:02 +0000, Timoses wrote:
>
>> Thanks Windows, not!
>> 
>> Since our department switched to Windows 10 I'm now unable to install DMD.
>> 
>> To make it even worse, there's no way I see to install a virtual machine any more (VirtualBox or VMWare) since they collide with Hyper-V. I've disabled Hyper-V, but it seems there can be a lot of things using it around one's back anyway.
>
> By "disable Hyper-V", do you mean uninstall via Add/Remove Windows Features? I've never had a problem with VirtualBox after that.

Apparently even if the user unchecks Hyper-V under Add/Remove Windows Features it does not prevent other apps or services from silently using (activating) it... So it's a matter of digging and finding out what exactly does. And I don't have the resouces to do that.

>
> Have you tried the DMD zip instead of installer?

Thanks, works!

August 07, 2018
On Mon, 6 Aug 2018 at 07:25, Adam D. Ruppe via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
>
> On Monday, 6 August 2018 at 14:19:47 UTC, rikki cattermole wrote:
> > (e.g. require code signing).
>
> Why don't we just sign the code anyway? This shouldn't be a big deal and it has been a problem for many people for many years.

DFoundation has acquired a signing cert, I suspect signed builds will start appearing soon.