Name: dotnet461
Description: Microsoft .NET Framework 4.6.1
Provider: Microsoft
License: Microsoft EULA
License_url: https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm
Dependencies:
- dotnet46
Steps:
- action: uninstall
  file_name: Wine Mono

- action: set_windows
  version: win7

- action: install_exe
  environment:
    WINEDLLOVERRIDES: fusion=b
  file_name: NDP461-KB3102436-x86-x64-AllOS-ENU.exe
  url: https://download.microsoft.com/download/E/4/1/E4173890-A24A-4936-9FC9-AF930FE3FA40/NDP461-KB3102436-x86-x64-AllOS-ENU.exe
  rename: dotnet461.exe
  file_checksum: 864056903748706e251fec9f5d887ef9
  file_size: 67681000
  arguments: /sfxlang:1027 /norestart

- action: set_windows
  version: win10
  
- action: override_dll
  dll: mscoree
  type: native
