Summary
Create a Web application definition and marks it as running in-process
or out-of-process. If an application already exists at the specified
path, you can use this method to reconfigure the application from
in-process to out-of-process, or the reverse.
This not an officially Microsoft supported table.
Parameters
Attribute |
Type |
Description |
Required |
component |
string |
Reference to a component. Determines when the approot will be created. |
True |
urlproperty |
string |
URLProperty with stored url |
True |
inprocflag |
int |
Specifies whether the application being created is to run in-process (0), out-of-process (1), or in a pooled process (2). If the application already exists and is running, changing the value of this flag will cause the application definition to be deleted and a new application created to run in the specified process space. |
True |
Examples
Convert the virtual directory and port to a url and store the value in a property.
<approots>
<approot component="C__MainFiles" urlproperty="TARGETURL" inprocflag="2" />
</approots>
Syntax
[BuildElement("approots", ProcessXml = false)]
public SchemaElement[] InstallerAppRootsElement { get; set; }
Attributes
Type |
Description |
BuildElement |
|
Value
Type |
Description |
SchemaElement[] |
|