Editing Xml Files During Installation - Symantec WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION EXPRESS V1.0 Installation Manual

Table of Contents

Advertisement

Windows Installer Editor Reference
See also:
Editing File Details
on page 129
Editing Assembly Settings for Files

Editing XML Files During Installation

When you add an XML file to the Files page, and then get details for the XML file, the
Dynamic Content tab appears, which shows the file's contents.
The purpose of the Dynamic Content tab is to let you modify the XML file by inserting
system-specific information such as local directory paths and user names. Because this
information is different for each server, you use Windows Installer properties to specify
dynamic items.
Note
If you add an XML file, but the Dynamic Content tab does not appear in the file's details
dialog box, the file was not recognized as a well-formed XML file. Check the file for
irregularities and verify it adheres to XML and Microsoft authoring standards.
To set values to be replaced in an XML file at run time
1.
In Installation Expert > Files page, add a valid XML file.
In the Visual Studio integrated editor, you also can use the Visual Studio Solution
page.
2.
Double-click the XML file and select the Dynamic Content tab.
The contents of the XML file appear in the list box.
3.
Mark Enable Dynamic Content.
The Edit button becomes enabled for editable lines only after you mark Enable
Dynamic Content.
4.
Select a line and click the Edit button.
Not all lines are editable, only lines that have name-value attributes. (Example:
<compilation defaultLanguage="c#" />.) The Attribute Editor dialog box appears.
5.
To edit an XML attribute:
a.
Select the attribute in the top list box.
b.
In Dynamic Value, type a new value to replace the current value at run time.
You can enter bracketed Windows Installer property names. You must have
added a mechanism elsewhere in the installation to populate the property.
(Example: Use the Custom Property dialog; see
Dialog
on page 420. Or use properties defined in
page 510.)
c.
Alternatively, you can select a property name from Property and click the
Insert into Dynamic Value button.
6.
Click OK on the Attribute Editor dialog box when finished.
At run time, the attribute is replaced with the dynamic value you specified. Windows
Installer properties are resolved to their value.
See also:
on page 134
Adding the Custom Property
Run Time Properties
Assembling an Installation
on
137

Advertisement

Table of Contents
loading

This manual is also suitable for:

Windows installer editor 7.0 sp2

Table of Contents