Chapter 9: Converting Windows Installer Packages to Virtual Applications
Testing Windows Installer Packages for Virtualization Compatibility
672
ADS-0950-UG00
AdminStudio 9.5 User Guide
Execution of Rules
Rules get evaluated and executed when building a virtual package. Rules also get executed when a Pre-
Conversion Evaluation is performed.
Components of a Rule
Rules are defined completely in XML format. The Windows Installer Converter Rules Engine will load any
*.xml
file
in the
C:\Program Files\AdminStudio\9.5\Repackager\System\Rules
folder that contains the root element of
<AdminStudioRules>
.
Rules are made up of two main items: a Fingerprint and an Action.
•
Fingerprint
—The condition associated with the Rule.
•
Action
—The action that will be taken when the Fingerprint condition has been satisfied.
Here is a very simple sample rule:
In this example, the following Fingerprint and Action are specified:
Table 9-9 •
Sample Custom Rule for Windows Installer Converter Rules Engine
<Rule title="Adobe Distiller Exclude AdobePDFSettings"
description="Exclude AdobePDFSettings registry settings"
author="AdminStudio.Default" provider="Any">
<Fingerprint name="Adobe Distiller AdobePDFSettings" description="">
<Registry
hive="HKEY_CURRENT_USER" key="Software\Adobe\Acrobat Distiller\AdobePDFSettings\*"/>
</Fingerprint>
<Action description="Exclude AdobePDFSettings">
<Message id="11006" text="Excluding the registry key Software\Adobe\
Acrobat Distiller\AdobePDFSettings. Adobe Distiller will recreate these settings on first
use." severity="Fix"/>
<Exclude>
<Registry hive="HKEY_CURRENT_USER" key="Software\Adobe\
Acrobat Distiller\AdobePDFSettings\*"/>
</Exclude>
</Action>
</Rule>
Table 9-10 •
Example of Fingerprint and Action in Sample Custom Rule
Item
Description
Fingerprint
The Fingerprint, which is named
Adobe Distiller AdobePDFSettings
, searches the virtual
packages for a Registry key of
Software\Adobe\Acrobat Distiller\AdobePDFSettings\*
in the
HKEY_CURRENT_USER
Registry hive.
Summary of Contents for ADMINSTUDIO 9.5
Page 1: ...AdminStudio 9 5 User Guide Version 9 5...
Page 50: ...Contents 50 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 52: ...52 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 156: ...156 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 440: ...440 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1090: ...1090 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1426: ...1426 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1686: ...1686 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1794: ...Chapter 24 AdminStudio Public API Reference 1794 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1842: ...Index 1842 ADS 0950 UG00 AdminStudio 9 5 User Guide...