09.12.2012 Views

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

InstallShield 2012 Express Edition User Guide - Knowledge Base ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Specifying Registry Keys in the Element<br />

Chapter 8: Organizing Files for Your Installation<br />

Registering COM Servers<br />

If you want to list a key under the element, you must add the key as a registry subelement.<br />

Following is a sample of a properly formatted registry subelement that blocks changes to an<br />

InprocServer32 registry key, all of its values, and all of its subkeys:<br />

<br />

Following is a sample of a properly formatted registry subelement that blocks changes to only the default<br />

value of an InprocServer32 registry key:<br />

<br />

Following is a sample of a properly formatted registry subelement that blocks changes to only the<br />

ThreadingModel value name for an InprocServer32 registry key:<br />

<br />

Table 8-9: Recognized Attributes for the Subelement<br />

Attribute Description<br />

key This attribute must be lowercase. The value of this attribute (for example,<br />

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{00000231-0000-0010-<br />

8000-00AA006D2EA4}\InprocServer32 in the above examples) indicates the<br />

name of the registry key that you want to filter.<br />

value This attribute is optional:<br />

• To block changes to an entire registry key, do not include the value<br />

attribute.<br />

• To block changes to the default value of the specified key, set the value of<br />

this attribute to a null value.<br />

• To block changes to the name of a value of the specified key, set the value<br />

of this attribute to the name of that registry value.<br />

Any other attributes for the subelement are optional and are not recognized by the COM<br />

extraction process. You may want to add additional attributes to identify why an item is being excluded.<br />

Important: Ensure that your XML code is well formed; if its not well formed, all of the filters fail. In most cases, you can<br />

identify improperly formed XML code by opening the Filters.xml file in Internet Explorer. You should be able to expand<br />

and contract the , , and elements; if you cannot, check the code for errors.<br />

If you add subelements to the or elements, be sure that you do not place them within the<br />

commented-out section, since <strong>InstallShield</strong> ignores that area of the Filters.xml file.<br />

The following sample XML code shows the format of the Filters.xml file:<br />

<br />

<br />

<br />

<br />

<br />

<strong>InstallShield</strong> <strong>2012</strong> <strong>Express</strong> <strong>Edition</strong> <strong>User</strong> <strong>Guide</strong> ISE-1800-UG01 197

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!