Skip to content

Intermediate Class

Container class for an intermediate object.

MethodDescription
AddSection(section)Adds a section to the intermedaite.
HasLevel(level)Returns whether a specifed intermediate level has been set for this intermediate.
Load(path, suppressVersionCheck)Loads an intermediate from a path on disk.
Load(assembly, resourceName, suppressVersionCheck)Loads an intermediate from a stream.
Load(assembly, resourceName, creator, suppressVersionCheck)Loads an intermediate from a stream.
Load(path, creator, suppressVersionCheck)Loads an intermediate from a path on disk.
Load(wixOutput, suppressVersionCheck)Loads an intermediate from a WixOutput object.
Load(wixOutput, creator, suppressVersionCheck)Loads an intermediate from a WixOutput object.
RemoveSection(section)Removes a section from the intermediate.
Save(path)Saves an intermediate to a path on disk.
Save(wixout)Saves an intermediate to a WixOutput.
UpdateLevel(level)Updates the intermediate level to the specified level.
PropertyDescription
IdGet the id for the intermediate.
LevelGet the level of the intermediate.
LocalizationsGet the localizations contained in this intermediate.
SectionsGet the sections contained in this intermediate.
WixToolset.Data.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Adds a section to the intermedaite.

public IntermediateSection AddSection(
IntermediateSection section
)
ParameterTypeDescription
sectionIntermediateSectionSection to add to the intermediate.

IntermediateSection Section added to the intermediate.

Returns whether a specifed intermediate level has been set for this intermediate.

public bool HasLevel(
string level
)
ParameterTypeDescription
levelstringIntermediate level.

bool True if the specifed intermediate level has been set for this intermediate.

Loads an intermediate from a path on disk.

public static Intermediate Load(
string path,
bool suppressVersionCheck
)
ParameterTypeDescription
pathstringPath to intermediate file saved on disk.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Intermediate Returns the loaded intermediate.

Load(assembly, resourceName, suppressVersionCheck) Method

Section titled “Load(assembly, resourceName, suppressVersionCheck) Method”

Loads an intermediate from a stream.

public static Intermediate Load(
System.Reflection.Assembly assembly,
string resourceName,
bool suppressVersionCheck
)
ParameterTypeDescription
assemblySystem.Reflection.AssemblyAssembly with intermediate embedded in resource stream.
resourceNamestringName of resource stream.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Intermediate Returns the loaded intermediate.

Load(assembly, resourceName, creator, suppressVersionCheck) Method

Section titled “Load(assembly, resourceName, creator, suppressVersionCheck) Method”

Loads an intermediate from a stream.

public static Intermediate Load(
System.Reflection.Assembly assembly,
string resourceName,
ISymbolDefinitionCreator creator,
bool suppressVersionCheck
)
ParameterTypeDescription
assemblySystem.Reflection.AssemblyAssembly with intermediate embedded in resource stream.
resourceNamestringName of resource stream.
creatorISymbolDefinitionCreatorISymbolDefinitionCreator to use when reconstituting the intermediate.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Intermediate Returns the loaded intermediate.

Load(path, creator, suppressVersionCheck) Method

Section titled “Load(path, creator, suppressVersionCheck) Method”

Loads an intermediate from a path on disk.

public static Intermediate Load(
string path,
ISymbolDefinitionCreator creator,
bool suppressVersionCheck
)
ParameterTypeDescription
pathstringPath to intermediate file saved on disk.
creatorISymbolDefinitionCreatorISymbolDefinitionCreator to use when reconstituting the intermediate.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Intermediate Returns the loaded intermediate.

Load(wixOutput, suppressVersionCheck) Method

Section titled “Load(wixOutput, suppressVersionCheck) Method”

Loads an intermediate from a WixOutput object.

public static Intermediate Load(
WixOutput wixOutput,
bool suppressVersionCheck
)
ParameterTypeDescription
wixOutputWixOutputWixOutput object.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Intermediate Returns the loaded intermediate.

Load(wixOutput, creator, suppressVersionCheck) Method

Section titled “Load(wixOutput, creator, suppressVersionCheck) Method”

Loads an intermediate from a WixOutput object.

public static Intermediate Load(
WixOutput wixOutput,
ISymbolDefinitionCreator creator,
bool suppressVersionCheck
)
ParameterTypeDescription
wixOutputWixOutputWixOutput object.
creatorISymbolDefinitionCreatorISymbolDefinitionCreator to use when reconstituting the intermediate.
suppressVersionCheckboolSuppress checking for wix.dll version mismatches.

Intermediate Returns the loaded intermediate.

Removes a section from the intermediate.

public bool RemoveSection(
IntermediateSection section
)
ParameterTypeDescription
sectionIntermediateSectionSection to remove.

bool True if the section was removed; otherwise false.

Saves an intermediate to a path on disk.

public void Save(
string path
)
ParameterTypeDescription
pathstringPath to save intermediate file to disk.

Saves an intermediate to a WixOutput.

public void Save(
WixOutput wixout
)
ParameterTypeDescription
wixoutWixOutputDestination to save.

Updates the intermediate level to the specified level.

public Intermediate UpdateLevel(
string level
)
ParameterTypeDescription
levelstringIntermediate level.

Get the id for the intermediate.

public string Id { get; set; }

Get the level of the intermediate.

public string Level { get; set; }

Get the localizations contained in this intermediate.

public System.Collections.Generic.IReadOnlyCollection<WixToolset.Data.Localization> Localizations { get; set; }

Get the sections contained in this intermediate.

public System.Collections.Generic.IReadOnlyCollection<WixToolset.Data.IntermediateSection> Sections { get; set; }