ApplyTransform Method (transformFile)

DTF API

Copy image CopyHover image
Deployment Tools Foundation ApplyTransform Method (transformFile)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerDatabaseApplyTransform(String)
Apply a transform to the database, suppressing any error conditions specified by the transform's summary information.
Declaration Syntax
C# Visual Basic Visual C++ F#
public void ApplyTransform(
	string transformFile
)
Public Sub ApplyTransform ( 
	transformFile As String
)
public:
void ApplyTransform(
	String^ transformFile
)
member ApplyTransform : 
        transformFile : string -> unit 
Parameters
transformFile (String)
Path to the transform file
Remarks

Win32 MSI API: MsiDatabaseApplyTransform

Exceptions
Exception Condition
InstallerException the transform could not be applied
InvalidHandleException the Database handle is invalid

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)