S4WindowsUnattended
public static class S4WindowsUnattended
1. Methods
1.1. GetDismUnattendedFileSubPath(ISystemHost, NETSetupConfig, IComputer)
Gets the unattend file sub-path for DISM-based installation. Uses stripped templates (specialize + oobeSystem only, no windowsPE pass). No DiskID parameter needed since DISM handles disk partitioning separately.
public static string GetDismUnattendedFileSubPath(ISystemHost host, NETSetupConfig netSetupConfig, IComputer computer)
| Name | Type | Description |
|---|---|---|
host |
ISystemHost |
|
netSetupConfig |
NETSetupConfig |
|
computer |
IComputer |
Returns: string
1.2. GetUnattendedFileSubPath(ISystemHost, NETSetupConfig, IFileOperator, IComputer, IDisk)
public static string GetUnattendedFileSubPath(ISystemHost host, NETSetupConfig netSetupConfig, IFileOperator sourceFileOperator, IComputer computer, IDisk installationDisk)
| Name | Type | Description |
|---|---|---|
host |
ISystemHost |
|
netSetupConfig |
NETSetupConfig |
|
sourceFileOperator |
IFileOperator |
|
computer |
IComputer |
|
installationDisk |
IDisk |
Returns: string
1.3. GetUnattendedFileSubPathForVM(ISystemHost, NETSetupConfig, IFileOperator, IComputer, IDisk)
public static string GetUnattendedFileSubPathForVM(ISystemHost host, NETSetupConfig netSetupConfig, IFileOperator sourceFileOperator, IComputer computer, IDisk installationDisk)
| Name | Type | Description |
|---|---|---|
host |
ISystemHost |
|
netSetupConfig |
NETSetupConfig |
|
sourceFileOperator |
IFileOperator |
|
computer |
IComputer |
|
installationDisk |
IDisk |
Returns: string