/usr/share/osinfo/install-script/microsoft.com/windows-sif-desktop.xml is in osinfo-db 0.20180226-1~deb9u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | <?xml version="1.0" encoding="UTF-8"?>
<libosinfo version="0.0.1">
<install-script id='http://microsoft.com/windows/sif/desktop'>
<profile>desktop</profile>
<path-format>dos</path-format>
<product-key-format>$$$$$-$$$$$-$$$$$-$$$$$-$$$$$</product-key-format>
<expected-filename>winnt.sif</expected-filename>
<can-pre-install-drivers/>
<config>
<param policy="optional" name="admin-password"/>
<param policy="required" name="reg-product-key"/>
<param policy="required" name="user-realname"/>
<param policy="required" name="hostname"/>
<param policy="optional" name="script-disk"/>
<param policy="optional" name="driver-signing"/>
</config>
<injection-method>floppy</injection-method>
<template>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text"/>
<xsl:template name="script-disk">
<xsl:choose>
<xsl:when test="config/script-disk != ''">
<xsl:value-of select="config/script-disk"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>A</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="password">
<xsl:choose>
<xsl:when test="os/version = 5.1">
<xsl:choose>
<xsl:when test="config/admin-password = ''">
<xsl:text>*</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="config/admin-password"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="config/admin-password"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="/install-script-config">
;SetupMgrTag
[Data]
AutoPartition=1
<xsl:choose>
<xsl:when test="os/version > 5.0">
MsDosInitiated="0"
UnattendedInstall="Yes"
</xsl:when>
<xsl:otherwise>
MsDosInitiated=No
UnattendedInstall=Yes
</xsl:otherwise>
</xsl:choose>
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=No
<xsl:choose>
<xsl:when test="os/version > 5.0">
TargetPath=\WINDOWS
</xsl:when>
<xsl:otherwise>
TargetPath=\WINNT
</xsl:otherwise>
</xsl:choose>
<xsl:if test="config/driver-signing = 'false'">
DriverSigningPolicy=Ignore
</xsl:if>
Repartition=Yes
WaitForReboot="No"
UnattendSwitch="Yes"
[GuiUnattended]
AdminPassword="<xsl:call-template name="password"/>"
<xsl:if test="os/version = 5.0">
AutoLogon=Yes
</xsl:if>
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=35
OemSkipWelcome=1
[UserData]
<xsl:choose>
<xsl:when test="os/version > 5.0">
ProductKey=<xsl:value-of select="config/reg-product-key"/>
OrgName=""
</xsl:when>
<xsl:otherwise>
ProductID=
</xsl:otherwise>
</xsl:choose>
FullName="<xsl:value-of select="config/user-realname"/>"
ComputerName="<xsl:value-of select="config/hostname"/>"
<xsl:if test="os/version = 5.0">
[Display]
BitsPerPel=16
Xresolution=640
YResolution=480
Vrefresh=60
[RegionalSettings]
LanguageGroup=1
</xsl:if>
<xsl:if test="os/version > 5.0">
[LicenseFilePrintData]
AutoMode=PerServer
AutoUsers=5
</xsl:if>
[Identification]
JoinWorkgroup=WORKGROUP
[Networking]
InstallDefaultComponents=Yes
<xsl:if test="os/version > 5.0">
[SetupParams]
UserExecute = "<xsl:call-template name="script-disk"/>:\windows.cmd >c:\windows\osinfo.log 2>&1"
[WindowsFirewall]
Profiles = WindowsFirewall.TurnOffFirewall
[WindowsFirewall.TurnOffFirewall]
Mode = 0
</xsl:if>
</xsl:template>
</xsl:stylesheet>
</template>
</install-script>
</libosinfo>
|