SoftwareDistributionPackage.PopulatePackageFromExe Method (String)
Applies To: Windows Server Update Services
Creates a CommandLineItem installable item from the given executable file name.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public void PopulatePackageFromExe(
string filePath
)
public:
void PopulatePackageFromExe(
String^ filePath
)
member PopulatePackageFromExe :
filePath:string -> unit
Public Sub PopulatePackageFromExe (
filePath As String
)
Parameters
filePath
Type: System.StringThe path of the executable file.
Exceptions
Exception
Condition
The package is not empty, or a Populate() method has previously been called on this package.
filePath is null or empty.
See Also
SoftwareDistributionPackage Class
Microsoft.UpdateServices.Administration Namespace
Return to top