Deployment Tools Foundation
GetValidTransforms Method (installPackage)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller.Package ► PatchPackage ► GetValidTransforms(InstallPackage)
Analyzes the transforms included in the patch package to find the ones that
are applicable to an install package.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public string[] GetValidTransforms( InstallPackage installPackage )
Public Function GetValidTransforms ( _ installPackage As InstallPackage _ ) As String()
public: array<String^>^ GetValidTransforms( InstallPackage^ installPackage )
Parameters
- installPackage (InstallPackage)
- The install package to validate the transforms against
Return Value
Array of valid transform names
Remarks
The returned list does not include the "patch special transforms" that
are prefixed with "#" If a transform is valid, then its corresponding
special transform is assumed to be valid as well.