The "ProductFind" Command |
This command is used to find product(s) that match an "upgrade code" GUID. This is useful for detecting any prerequisite products that you might need installed (for launch conditions). It can also be used to prevent downgrades of your product.
The "Upgrade" table and the "FindRelatedProducts" action is used for the searching.
If you are validating that other products exist and you are packaging your own application you may want to think about the need for your application to do its own validations to ensure the required products haven't been uninstalled since the installation.
This command takes these parameters:
You should pass "" if you don't want the install to abort.
EXAMPLE |
Abort the installation if the required product is not already installed.
<$ProductFind UpgradeCode="{18346483-1764-4B87-ABC4-D48FFB73907E}" Product="Some Product">
For another example see the "prevent downgrades of your product" section.