<commit_before>mount "C:\" "@SYSDRIVE@\mountedfs" 

# Workaround because of CLNT-3978; uncomment when fixed
# from clean when (not host has os:windows7 and not host has os:windows8.1)
# from spoonbrew/iis7-base:9 when host has os:windows7
# from spoonbrew/iis8-base:5 when host has os:windows8.1

from clean when host has os:windowsxp
from clean when host has os:windowsvista
from clean when host has os:windows10
from spoonbrew/iis7-base:10 when host has os:windows7
from spoonbrew/iis8-base:6 when host has os:windows8.1
from spoonbrew/iis8-base:6 when host has os:windows8
using python

workdir @SYSDRIVE@
setworkdir @SYSDRIVE@

cmd title IIS Server
meta name = "iis-server"

requires privilege:admin
require privilege:admin, architecture:current

# Greeting message
# Check if user wants to proceed with IIS import
batch cmd
  echo. 
  echo.  Internet Information Services (IIS) for Windows Server is a flexible, secure and manageable Web server for hosting anything on the Web. From media streaming to web applications, IIS's scalable and open architecture is ready to handle the most demanding tasks.
  echo. 
  echo.  Website URL: http://www.iis.net/<commit_msg>update iis import<commit_after>mount "C:\" "@SYSDRIVE@\mountedfs" 

from clean when (not host has os:windows7 and not host has os:windows8.1)
from spoonbrew/iis7-base when host has os:windows7
from spoonbrew/iis8-base when host has os:windows8.1

cmd "echo." when (not host has os:windows7 and not host has os:windows8.1)
cmd "echo." when (not host has os:windows7 and not host has os:windows8.1)
cmd "echo. ERROR: IIS import is supported for Windows 7, 8.1, 2008r2, and 20012r2." when (not host has os:windows7 and not host has os:windows8.1)
cmd "echo." when (not host has os:windows7 and not host has os:windows8.1)
cmd "echo." when (not host has os:windows7 and not host has os:windows8.1)
cmd "exit /b 1" when (not host has os:windows7 and not host has os:windows8.1)

using python

workdir @SYSDRIVE@
setworkdir @SYSDRIVE@

cmd title IIS Server
meta name = "iis-server"

requires privilege:admin
require privilege:admin, architecture:current

# Greeting message
# Check if user wants to proceed with IIS import
batch cmd
  echo. 
  echo.  Internet Information Services (IIS) for Windows Server is a flexible, secure and manageable Web server for hosting anything on the Web. From media streaming to web applications, IIS's scalable and open architecture is ready to handle the most demanding tasks.
  echo. 
  echo.  Website URL: http://www.iis.net/
{'fraction_non_alphanumeric': 0.07527733755942947, 'fraction_numerical': 0.02694136291600634, 'mean_word_length': 4.598669623059867, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2429194', 'n_tokens_mistral': 799, 'n_tokens_neox': 768, 'n_words': 340}