Skip to content

Commit 756b323

Browse files
authored
Merge pull request #42 from SvenGroot/v2.2-dev
Merge v2.2 into main
2 parents 0b53b74 + 2558413 commit 756b323

23 files changed

+81
-35
lines changed

doc/ChangeLog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# What's new in Answer File Generator
22

3+
## Answer File Generator 2.2 (2025-05-08)
4+
5+
- Add an option to specify a password for the built-in local Administrator account. This account is
6+
disabled if no password is provided.
7+
38
## Answer File Generator 2.1 (2025-03-09)
49

510
- You can now [generate computer names containing a random number](../README.md#specifying-a-computer-name),

doc/CommandLine.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ The arguments are split into several categories:
5151
<!-- markdownlint-disable MD033 -->
5252
<pre>GenerateAnswerFile
5353
[[<a href="#-outputfile">-OutputFile</a>] &lt;Path&gt;]
54+
[<a href="#-administratorpassword">-AdministratorPassword</a> &lt;String&gt;]
5455
[<a href="#-autologoncount">-AutoLogonCount</a> &lt;Number&gt;]
5556
[<a href="#-autologonpassword">-AutoLogonPassword</a> &lt;String&gt;]
5657
[<a href="#-autologonuser">-AutoLogonUser</a> &lt;[Domain\]User&gt;]
@@ -250,6 +251,16 @@ Alias: -v
250251

251252
## User account options
252253

254+
### `-AdministratorPassword`
255+
256+
The password to use for the built-in local Administrator account. If not specified, the
257+
Administrator account will be disabled by default.
258+
259+
```yaml
260+
Value: <String>
261+
Alias: -ap
262+
```
263+
253264
### `-AutoLogonCount`
254265

255266
The number of times the user specified by [`-AutoLogonUser`](#-autologonuser) will be automatically

doc/Json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ this:
2929

3030
```json
3131
{
32-
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.0",
32+
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.2",
3333
"InstallOptions": {
3434
"$type": "CleanEfi"
3535
},

doc/Library.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ Version 2.0 of the library has a few breaking changes from version 1.x:
5656
- The [`DomainOptionsBase.DomainAccounts`][] property has a different type.
5757
- The `AnswerFileOptions.SetupScripts` property was renamed to [`FirstLogonScripts`][].
5858

59-
[`AnswerFileGenerator.Generate`]: https://www.ookii.org/docs/answerfile-2.1/html/Overload_Ookii_AnswerFile_AnswerFileGenerator_Generate.htm
60-
[`AnswerFileGenerator`]: https://www.ookii.org/docs/answerfile-2.1/html/T_Ookii_AnswerFile_AnswerFileGenerator.htm
61-
[`AnswerFileOptions.DisplayResolution`]: https://www.ookii.org/docs/answerfile-2.1/html/P_Ookii_AnswerFile_AnswerFileOptions_DisplayResolution.htm
62-
[`AnswerFileOptions.InstallOptions`]: https://www.ookii.org/docs/answerfile-2.1/html/P_Ookii_AnswerFile_AnswerFileOptions_InstallOptions.htm
63-
[`AnswerFileOptions.JoinDomain`]: https://www.ookii.org/docs/answerfile-2.1/html/P_Ookii_AnswerFile_AnswerFileOptions_JoinDomain.htm
64-
[`AnswerFileOptions`]: https://www.ookii.org/docs/answerfile-2.1/html/T_Ookii_AnswerFile_AnswerFileOptions.htm
65-
[`CleanBiosOptions`]: https://www.ookii.org/docs/answerfile-2.1/html/T_Ookii_AnswerFile_CleanBiosOptions.htm
66-
[`CleanEfiOptions`]: https://www.ookii.org/docs/answerfile-2.1/html/T_Ookii_AnswerFile_CleanEfiOptions.htm
67-
[`DomainOptions`]: https://www.ookii.org/docs/answerfile-2.1/html/T_Ookii_AnswerFile_DomainOptions.htm
68-
[`DomainOptionsBase.DomainAccounts`]: https://www.ookii.org/docs/answerfile-2.1/html/P_Ookii_AnswerFile_DomainOptionsBase_DomainAccounts.htm
69-
[`DomainOptionsBase`]: https://www.ookii.org/docs/answerfile-2.1/html/T_Ookii_AnswerFile_DomainOptionsBase.htm
70-
[`ExistingPartitionOptions`]: https://www.ookii.org/docs/answerfile-2.1/html/T_Ookii_AnswerFile_ExistingPartitionOptions.htm
71-
[`FirstLogonScripts`]: https://www.ookii.org/docs/answerfile-2.1/html/P_Ookii_AnswerFile_AnswerFileOptions_FirstLogonScripts.htm
72-
[`ManualInstallOptions`]: https://www.ookii.org/docs/answerfile-2.1/html/T_Ookii_AnswerFile_ManualInstallOptions.htm
59+
[`AnswerFileGenerator.Generate`]: https://www.ookii.org/docs/answerfile-2.2/html/Overload_Ookii_AnswerFile_AnswerFileGenerator_Generate.htm
60+
[`AnswerFileGenerator`]: https://www.ookii.org/docs/answerfile-2.2/html/T_Ookii_AnswerFile_AnswerFileGenerator.htm
61+
[`AnswerFileOptions.DisplayResolution`]: https://www.ookii.org/docs/answerfile-2.2/html/P_Ookii_AnswerFile_AnswerFileOptions_DisplayResolution.htm
62+
[`AnswerFileOptions.InstallOptions`]: https://www.ookii.org/docs/answerfile-2.2/html/P_Ookii_AnswerFile_AnswerFileOptions_InstallOptions.htm
63+
[`AnswerFileOptions.JoinDomain`]: https://www.ookii.org/docs/answerfile-2.2/html/P_Ookii_AnswerFile_AnswerFileOptions_JoinDomain.htm
64+
[`AnswerFileOptions`]: https://www.ookii.org/docs/answerfile-2.2/html/T_Ookii_AnswerFile_AnswerFileOptions.htm
65+
[`CleanBiosOptions`]: https://www.ookii.org/docs/answerfile-2.2/html/T_Ookii_AnswerFile_CleanBiosOptions.htm
66+
[`CleanEfiOptions`]: https://www.ookii.org/docs/answerfile-2.2/html/T_Ookii_AnswerFile_CleanEfiOptions.htm
67+
[`DomainOptions`]: https://www.ookii.org/docs/answerfile-2.2/html/T_Ookii_AnswerFile_DomainOptions.htm
68+
[`DomainOptionsBase.DomainAccounts`]: https://www.ookii.org/docs/answerfile-2.2/html/P_Ookii_AnswerFile_DomainOptionsBase_DomainAccounts.htm
69+
[`DomainOptionsBase`]: https://www.ookii.org/docs/answerfile-2.2/html/T_Ookii_AnswerFile_DomainOptionsBase.htm
70+
[`ExistingPartitionOptions`]: https://www.ookii.org/docs/answerfile-2.2/html/T_Ookii_AnswerFile_ExistingPartitionOptions.htm
71+
[`FirstLogonScripts`]: https://www.ookii.org/docs/answerfile-2.2/html/P_Ookii_AnswerFile_AnswerFileOptions_FirstLogonScripts.htm
72+
[`ManualInstallOptions`]: https://www.ookii.org/docs/answerfile-2.2/html/T_Ookii_AnswerFile_ManualInstallOptions.htm

doc/Ookii.AnswerFile.shfbproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<IndentHtml>False</IndentHtml>
5555
<BuildAssemblerVerbosity>OnlyWarningsAndErrors</BuildAssemblerVerbosity>
5656
<SaveComponentCacheCapacity>100</SaveComponentCacheCapacity>
57-
<HelpTitle>Ookii.AnswerFile 2.1 Documentation</HelpTitle>
57+
<HelpTitle>Ookii.AnswerFile 2.2 Documentation</HelpTitle>
5858
<HelpFileVersion>1.0.0.0</HelpFileVersion>
5959
<NamingMethod>MemberName</NamingMethod>
6060
<ContentPlacement>AboveNamespaces</ContentPlacement>

doc/json/cleanbios.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.0",
2+
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.2",
33
"InstallOptions": {
44
"$type": "CleanBios",
55
"ImageIndex": 1

doc/json/cleanefi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.0",
2+
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.2",
33
"InstallOptions": {
44
"$type": "CleanEfi",
55
"Partitions": [

doc/json/existingpartition.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.0",
2+
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.2",
33
"InstallOptions": {
44
"$type": "ExistingPartition",
55
"TargetPartitionId": 5,

doc/json/manual.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.0",
2+
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.2",
33
"InstallOptions": {
44
"$type": "Manual",
55
"OptionalFeatures": {

doc/json/preinstalled.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.0",
2+
"$schema": "https://www.ookii.org/Link/AnswerFileJsonSchema-2.2",
33
"JoinDomain": {
44
"$type": "Credential",
55
"Domain": "mydomain",

0 commit comments

Comments
 (0)