Deployment Tools Foundation
ApplyTransform Method (transformFile, errorConditionsToSuppress)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► ApplyTransform(String, TransformErrors)
Apply a transform to the database, specifying error conditions to suppress.
Declaration Syntax| C# | Visual Basic | Visual C++ |
public void ApplyTransform( string transformFile, TransformErrors errorConditionsToSuppress )
Public Sub ApplyTransform ( _ transformFile As String, _ errorConditionsToSuppress As TransformErrors _ )
public: void ApplyTransform( String^ transformFile, TransformErrors errorConditionsToSuppress )
Parameters- transformFile (String)
- Path to the transform file
- errorConditionsToSuppress (TransformErrors)
- Error conditions that are to be suppressed
RemarksWin32 MSI API: MsiDatabaseApplyTransform
Exceptions| Exception | Condition |
|---|---|
| InstallerException | the transform could not be applied |
| InvalidHandleException | the Database handle is invalid |