Creates a configuration set and copies it to a target folder. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim targetFolder As String
Dim sourceOemFolder As String
Dim returnValue As CpiResult
Dim answerFile1 As AnswerFile
returnValue = answerFile1.CreateConfigurationSet(targetFolder, sourceOemFolder)

Syntax

Visual Basic
Overloads Public Function CreateConfigurationSet( _
		ByVal targetFolder As String, _
		ByVal sourceOemFolder As String _
) As CpiResult
C#
public CpiResult CreateConfigurationSet(
		string targetFolder, 
		string sourceOemFolder
);
C++
public:
CpiResult^ CreateConfigurationSet(
		String^ targetFolder,
		String^ sourceOemFolder
);
J#
public CpiResult CreateConfigurationSet(
		System.String targetFolder, 
		System.String sourceOemFolder
);
JScript
public function CreateConfigurationSet(
		 targetFolder : String, 
		 sourceOemFolder : String
) : CpiResult;

Parameters

targetFolder

Target folder string

sourceOemFolder

Source OEM folder string

Return Value

The operation result of creating the configuration set. System.Security.SecurityException is thrown if any files referenced in the $OEM$ source folder are inaccessible during publish.

Remarks

The configuration set is used to store all of the applications, device drivers, and other data that is to be installed during Windows Setup.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also