MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: RemoveFile[Next]: ProductValidation
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Source Code->Commands->ProductFind

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:

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.


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: RemoveFile[Next]: ProductValidation


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday May 28 2022 at 3:11pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.