Hi Bill,
You have probably not configured the detection condition for MySQL correctly. There are several possible detection conditions you can use:
1.
Code: Select all
Criteria: "Registry Value"
Registry Value: HKLM\SOFTWARE\MySQL AB\MySQL Server 5.0\Version
Minimum: 5.0
Note that the key is specified with "HKLM" not "HKEY_LOCAL_MACHINE".
2.
Code: Select all
Criteria: "Product Version (identify by Upgrade Code)"
Upgrade Code: {2526D560-92EA-4EA8-A561-5FDBB9E42A3E}
Minimum: 5.0
A previous developer tried using file version criteria, looking at libmySQL.dll
It seems that this file does not contain a version resource.
For any given s/w, how would I know which file contains the version #?
Usually it is the main application EXE. There is no general rule, however.
Do I always have to have a verison number?
Not necessarily, you can test for instance if a registry key exists in order to detect a particular application. See the following page for more details:
http://www.advancedinstaller.com/user-g ... earch.html
What if I just want to test for the presence of a file to indicate the prereq is there, can I do that?
Using the "File Version" criteria and leaving the "Minimum" and "Maximum" fields empty will detect if the file exists.
Hope this helps.
Regards,
Ionut
FOLLOW US
Get the latest news in Application Packaging