Deployment Tools Foundation
SetStream Method (field, stream)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► SetStream(Int32, Stream)
Sets a record stream field from a Stream object. Stream data cannot be inserted into temporary fields.


The stream persists if the Record is inserted into the Database and the Database is committed.
Win32 MSI API: MsiRecordsetStream

Exception | Condition |
---|---|
ArgumentOutOfRangeException | The field is less than 0 or greater than the
number of fields in the Record. |