Méthodes d'installation (2/6)
Sections et entrées respectives du fichier de réponse unattend.
Structure générale par catégories : les sections suivantes sont groupées par catégories générales étant observé que les interactions entre ces différentes sections et leurs entrées sont relativement nombreuses. Pour les détails de chacune de ces entrées, il faut se référer au tableau détaillé qui vient ensuite (la taille conséquente de ce tableau m'oblige à l'afficher sur plusieurs pages pour ne pas pénaliser le téléchargement). Rendons à césar ce qui appartient à César, ce tableau est issu de la documentation Microsoft que j'ai seulement compiler et traduite.
| Configuration matérielle |
[MassStorageDrivers] [OEMBootFiles] |
| Options d'installation |
[Unattended] [GuiUnattended] [Data] |
| Configuration de l'OS | [Display] [GuiRunOnce] [LicenseFilePrintData] [PCHealth] [RegionalSettings] [Shell] [SystemFileProtection] [SystemRestore] [TapiLocation] [UserData] [Win9xUpg] |
| Configuration de MSIE |
[Branding] [Proxy] [URL] [FavoritesEx] |
| Configuration réseau |
[Homenet] [Networking] [Identification] [NetServices] [MS_NwSapAgent parameters] [MS_Psched parameters] [MS_RAS parameters] [MS_RasSrv parameters] [MS_Server parameters] [MS_WLBS parameters] [NetAdapters] [NetProtocols] [params.adapter instance] [protocol parameters section] [adapter_specific_protocol_section] [NetBindings] [MS_AppleTalk parameters] [MS_ATMArps parameters] [MS_ATMLANE parameters] [MS_ATMUni parameters] [MS_L2TP parameters] [MS_NetMon parameters] [MS_PPTP parameters] [MS_TCPIP parameters] [NetOptionalComponents] [NetClients] [MS_MSClient parameters] [MS_NWClient parameters] [MS_NWIPX parameters] |
| Configuration des services |
[DCInstall] [Fax] [InternetServer] [OsChooser] [RemoteInstall] [SNMP] [TerminalServices] |
| Composants Optionnels |
[Components] [Certsrv_Client] [CertSrv_Server] |
Détails de la structure (partie 1)
Certaines entrées et sections sont communes à la famille Windows XP et 2000, d'autres sont limitées à la famille Windows 2000 Serveur.
| SECTIONS | ENTREES |
| [adapter_specific_protocol_section] | SpecificTo = Adapter1 (nom de la carte réseau) |
| [Branding] | Partie consacrée à MSIE. Si elle n'existe
pas, les options par défaut seront installées. BrandIEUsingUnattended Value: Yes | No Indique si c'est un fichier unattend.txt ou .ins file qui est utilisé pour personnaliser IE. Pas obligatoire sauf si vous avez créé un fichier *.ins avec IEAK : [Branding] BrandIEUsingUnattended = No IEBrandingFile = file_name Yes Se réfère alors aux entrées : [Proxy], [URL], and [FavoritesEx]. No Utilise alors le fichier .ins file spécifié dans IEBrandingFile : IEBrandingFile Value: file_name Spécifie le nom du fichier .ins (créé par IEAK). Pas besoin d'indiquer le chemin complet vers ce fichier. Ce fichier doit être présent sur la racine du dossier \$OEM$ du point de distribution. Si cette entrée est spécifiée, alors : Toutes les autres sections concernant IE sont ignorées. Set BrandIEUsingUnattended = No. |
| [Certsrv_Client] | Concerne
les entrées du composant
Web pour le service de certification (comme pour le service de
cryotgraphie). Cette section doit être indiquée dans Unattend.txt pour
installer ce composant. Le fait d'indiquer le service certsrv_client
dans la section [Components] est suffisant pour installer les fichiers
nécessaires. Toutes ces entrées sont traitées après le reboot et pas pendant l'installation de Windows proprement dite (plus d'infos sur le Windows 2000 Server Resource Kit). CAMachine Value: certificate_authority_computer_name Nom DNS complet de l'ordinateur avec l'Autorité de certification Installée. Valeur obligatoire. L'ordinateur doit être connecté à un réseau. CAName Value: certificate_authority_name Nom de l'autorité de certification (CA). Valeur obligatoire. Le service de certification doit être démarré, ces services pouvant être appelé depuis le gestionnaire Component Object Model (COM) du PC. En installant seulement le composant du client Web, les valeurs CAMachine et CAName se réfèrent à l'Autorité de Certification Authority avec lesquelles sont liées les pages Web. En installant les composants serveur, ces deux entrées sont les attributs de CA. |
| [CertSrv_Server] | Cette section contient
les entrées pour les composants serveurs des services de certification.
Ces entrées ne sont valides que pour la famille Windows Serveur. [du
coup pas de traduction ici] The attributes that are required depend on the installation type and configuration. Any entries specified are saved on the computer and are only processed after rebooting to configure Certificate Services. They are not processed during Setup. For more information about configuring Certificate Services and Certificate Services requirements, see the Microsoft Windows Server Resource Kit. CAType Value: EnterpriseRoot | EnterpriseSubordinate | StandaloneRoot | StandaloneSubordinate Default: Determined Programmatically For example: If the Active Directory is available and writable then: If any CA is in the Active Directory then Default is Enterprise Subordinate CA Else Default is Enterprise Root CA Else Default is Standalone Root CA Specifies the type of Certification Authority (CA) to be installed. This entry requires a value. CAType Value: certificate_authority_country_code Default: determined using GetLocaleInfo Specifies the country code for the CA. This value is not case-sensitive and it must contain a maximum of two characters: A–Z (or a–z). For more information, search on the Internet for "ISO 3166" for a list of valid country or region codes, or visit the International Telecommunication Union Survey Web site at http://www.itu.int CSPProvider Value: CSP_name Default: Microsoft Base Cryptographic Provider v1.0 Specifies the name of the Cryptography Service Provider (CSP). The value is case-sensitive. DBDir Value: path_to_database_location Default: %windir%\system32\certlog Specifies the storage location for the certificate database. Enclose path_to_database_location in quotes if it is a long file name. Description Value: description_of_certificate_authority Specifies a comment or description of the Certification Authority (CA). The value is case-sensitive and it can contain a maximum of 2,048 characters. Value: certificate_authority_e-mail_address Specifies the e-mail address for the Certification Authority (CA). The value is case-sensitive and it can contain a maximum of 128 characters. ExistingKey Value: name Specifies the name of an existing key to be used by the Certification Authority (CA). HashAlgorithm Value: hash_algorithm_string_or_algorithm_ID Default: SHA1 Specifies the hash algorithm used by the Certification Authority (CA) to sign certificates. The specified Cryptography Service Provider (CSP) must support the algorithm. The value is not case-sensitive. Interactive Value: Yes | No Default: No Specifies whether Certificate Services service is allowed to interact with the desktop. This option is useful when selecting a Cryptographic Service Provider (CSP) that needs interaction with the desktop, such as a smart-card CSP. Yes Allows Certificate Services service to interact with the desktop. No Does not allow Certificate Services to interact with the desktop. KeyLength Value: key_length Specifies the key length for the Certification Authority. The default key length for the Cryptography Service Provider (CSP) is used if no value is specified. Locality Value: certificate_authority_locality Required Specifies the locality of the Certification Authority (CA). The value is required, is case-sensitive, and can contain a maximum of 128 characters. LogDir Value: path_to_log_file_location Default: %windir%\system32\certlog Specifies the storage location for the certificate database log. Enclose path_to_log_file_location in quotes if it is a long file name. Name Value: certification_authority_name Required Specifies the name of the Certification Authority (CA). The value is required, is case-sensitive, and can contain a maximum of 64 characters. Note No default value for Name is provided. Because this is a required field, if Certificate Services is installed through a fully unattended Setup and if the Name value is not provided in the Unattend.txt file, then Setup fails with the error code E_INVALIDARG. Organization Value: certificate_authority_organization_name Required Specifies the organization name of the Certification Authority (CA). The value is required, is case-sensitive, and can contain a maximum of 64 characters. OrganizationUnit Value: certificate_authority_organization_unit_name Required Specifies the organization unit name of the Certification Authority (CA). The value is required, is case-sensitive, and can contain a maximum of 32 characters. ParentCAMachine Value: parent_computer_name_for_subordinate_CA Specifies the computer name that has a Certification Authority (CA) that works as a parent CA with the current subordinate CA installation. The value is ignored if the current CA installation type is not a subordinate CA. The value is not case-sensitive. If the attribute is not defined when setting up a subordinate CA, Setup saves the CA certificate request to a file. This entry is used in combination with ParentCAName. For more information about certificate requests, see RequestFile. ParentCAName Value: parent_CA_name_for_subordinate_CA Specifies the parent Certification Authority (CA) name for the current subordinate CA installation. The value is ignored if the CA type is not the subordinate CA. The value is not case-sensitive. If the attribute is not defined but ParentCAMachine is defined when setting up a subordinate CA, Setup calls Certificate Services on the parent computer to get the CA name. PreserveDB Value: Yes | No Default: Yes Used together with ExistingKey and UseExistingCert. If existing key and CA certificate are not used, this entry is ignored. Yes Use existing certificate database. No Do not use existing certificate database. RequestFile Value: request_file_name_and_path Default: The file path is always in the format: $SharedFolder$\$MachineName$_$CAName$.req For more information about this default setting, see SharedFolder. Specifies the name (full path) of the file into which certificate requests are saved. This entry is ignored if the CAType is a root-type Certification Authority (CA) (EnterpriseRoot or StandaloneRoot). SharedFolder Value: path_to_folder Specifies the path to the folder containing the configuration information for the Certification Authority (CA). The default value is the registered shared folder path, if it exists. If a registered shared folder does not exist, the value is in the format of %systemdrive%\CAConfig. Enclose path_to_folder in quotes if it is a long file name. State Value: certificate_authority_state_or_province Required Specifies the state/province for the Certification Authority (CA). The value is required, is case-sensitive, and can contain a maximum of 128 characters. Use the entire name rather than an abbreviation. For example, use "Washington" rather than "WA". UseExistingCert Value: Yes | No Default: Yes Used together with ExistingKey. If Setup finds a matched Certification Authority (CA) certificate for the existing key, then Setup uses that matching certificate. Yes Uses the certificate already present on the computer. No Does not check for a matching certificate. ValidityPeriod Value: numeric_value Default: 2 Specifies the number of periods, measured in units specified by ValidityPeriodUnits, that the Certification Authority (CA) is valid. The value must be greater than 0 and less than or equal to 1000. ValidityPeriodUnits Value: Years | Months | Weeks | Days Default: Years Specifies the units for the validity period of the Certification Authority (CA). Years ValidityPeriod is measured in years. Months ValidityPeriod is measured in months. Weeks ValidityPeriod is measured in weeks. Days ValidityPeriod is measured in days. |
| [Components] | Entrées
valides pour Unattend.txt et Winbom.ini. Cette section ne concerne que
Windows XP et Windows Serveur. Deux types de valeurs : On | Off selon que l'on installe ou pas le composant. accessopt iis_common iis_ftp iis_inetmgr iis_smtp msmq_RoutingSupport |
| [Data] | Section
nécessaire pour une installation sans assistance si l'on boote directement
depuis le CD de XP. AutoPartition Value: 1 Installe XP sur la première partition valide qui possède suffisamment d'espace et ne contient pas déjà une installation précédente de Windows. Placée sur 1, cette valeur inhibe la commande "/tempdrive" de Winnt32.exe. En l'absence de valeur, XP est installé là où se situe le fichier $WIN_NT$.~LS. MsDosInitiated Value: 0 Informe le Setup qu'une installation sans assistance est lancée depuis le CD. La valeur doit être sur 0. Sinon, échec de l'installation. UnattendedInstall Idem que ci-dessus. important en cas de préinstallation à partir du CD. Différent de l'entrée UnattendSwitch de la section [Unattended] puisque UnattendSwitch permet de contrôler Windows Welcome. UseBIOSToBoot |
Mis en ligne le 18 novembre 2001 / Dernière modification : 3-12-2001