www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DMD installation prompts "Windows protected your PC"

reply Timoses <timosesu gmail.com> writes:
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?
Aug 06 2018
next sibling parent reply rikki cattermole <rikki cattermole.co.nz> writes:
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).
Aug 06 2018
next sibling parent reply Adam D. Ruppe <destructionator gmail.com> writes:
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.
Aug 06 2018
parent Manu <turkeyman gmail.com> writes:
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.
Aug 07 2018
prev sibling parent reply Timoses <timosesu gmail.com> writes:
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.
Aug 06 2018
parent rikki cattermole <rikki cattermole.co.nz> writes:
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
Aug 06 2018
prev sibling next sibling parent reply rjframe <dlang ryanjframe.com> writes:
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
Aug 06 2018
parent Timoses <timosesu gmail.com> writes:
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!
Aug 07 2018
prev sibling parent tide <tide tide.tide> writes:
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.
Aug 06 2018