You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the large number of command line arguments may get unwieldy, the Answer File Generator
298
+
provides a custom JSON file format that can be used as an alternative way to provide the options
299
+
for generating an answer file.
300
+
301
+
For more information, see [the JSON file documentation](doc/Json.md).
302
+
265
303
## Using an answer file
266
304
267
305
Please refer to the [official Microsoft documentation](https://learn.microsoft.com/windows-hardware/manufacture/desktop/windows-setup-automation-overview)
@@ -271,13 +309,13 @@ to see how to use an answer file during Windows setup.
271
309
272
310
The core functionality for generating answer files is implemented in the
273
311
[Ookii.AnswerFile library](doc/Library.md), which you can use in your own applications targeting
274
-
.Net 7.0 or later.
312
+
.Net 8.0 or later.
275
313
276
314
## Building and testing
277
315
278
316
To build Answer File Generator, make sure you have the following installed:
279
317
280
-
-[Microsoft .Net 7.0 SDK](https://dotnet.microsoft.com/download) or later
318
+
-[Microsoft .Net 8.0 SDK](https://dotnet.microsoft.com/download) or later
281
319
282
320
To build the application, library, and tests, simply use the `dotnet build` command in the `src`
283
321
directory. You can run the unit tests using `dotnet test`.
@@ -306,10 +344,12 @@ any other adverse effects caused by the use of answer files generated by this to
Copy file name to clipboardExpand all lines: doc/ChangeLog.md
+25-1Lines changed: 25 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,25 @@
1
1
# What's new in Answer File Generator
2
2
3
+
## Answer File Generator 2.0 (2024-10-07)
4
+
5
+
- The [`-DomainAccount`][] argument now allows you to specify users from different domains than the
6
+
one you're joining.
7
+
- The [`-LocalAccount`][] and [`-DomainAccount`][] arguments now allow you to customize which groups
8
+
the account is added to.
9
+
- You can join a domain using provisioning with the new [`-JoinDomainProvisioningFile`][] argument,
10
+
and do it during the offlineServicing pass with the new [`-JoinDomainOffline`][] argument.
11
+
- The `-CmdKeyUser` and `-CmdKeyPassword` arguments have been removed; this was a bad security
12
+
practice that I don't wish to promote. You can still get identical behavior using the
13
+
[`-FirstLogonCommand`][] argument if desired.
14
+
- You can specify options using a [custom JSON file format](Json.md), as an alternative to using
15
+
command line arguments.
16
+
- If no output file name is provided, the answer file is now written to the console.
17
+
- The `-SetupScript` argument has been renamed to [`-FirstLogonScript`][], for consistency with the
18
+
[`-FirstLogonCommand`][] argument. A `-SetupScript` alias is provided for compatibility.
19
+
- The Answer File Generator is now available in standalone single-file versions, that do not require
20
+
you to install the .Net Runtime.
21
+
- There are some breaking changes to the [Ookii.AnswerFile library](Library.md#breaking-changes).
22
+
3
23
## Answer File Generator 1.1 (2023-10-10)
4
24
5
25
- Apply a workaround for a [known issue with the `LogonCount` element](https://learn.microsoft.com/windows-hardware/customize/desktop/unattend/microsoft-windows-shell-setup-autologon-logoncount),
0 commit comments