This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Solution Reached.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Feb 22, 2010
12:15 PM
Flash 10 Prerequisite
My application currently has a Flash 10 prerequisite which was built in InstallShield 2009 SP2. The prerequisite runs the Flash 10 msi if the conditions aren't properly met. The condition is as follows:
-A registry entry has a specified version value
--> Name: HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\FlashPlayer
--> Key: CurrentVersion
--> Value Data: 10,0,45,2
--> Default registry location on 64-bit
--> Run if: "is less than"
My prerequisite will run if the version of flash on the machine is 9 and works correctly if I change the registry version to 11, but my issue is with other versions of 10. Flash uses commas between the major/minor/build/revision numbers which is okay, but it doesn't seem like InstallShield knows how to perform the comparison.
Installed version on machine: 10,0,22,87
Prerequisite version to install: 10,0,45,2
Has anyone else ran into this issue as I'm not sure how to solve this problem. If the flash version numbers were stored like: 1002287 then this wouldn't be an issue. If I could look at the SafeVersions of flash I would but this isn't doable the way prerequisites are setup.
Thanks
-A registry entry has a specified version value
--> Name: HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\FlashPlayer
--> Key: CurrentVersion
--> Value Data: 10,0,45,2
--> Default registry location on 64-bit
--> Run if: "is less than"
My prerequisite will run if the version of flash on the machine is 9 and works correctly if I change the registry version to 11, but my issue is with other versions of 10. Flash uses commas between the major/minor/build/revision numbers which is okay, but it doesn't seem like InstallShield knows how to perform the comparison.
Installed version on machine: 10,0,22,87
Prerequisite version to install: 10,0,45,2
Has anyone else ran into this issue as I'm not sure how to solve this problem. If the flash version numbers were stored like: 1002287 then this wouldn't be an issue. If I could look at the SafeVersions of flash I would but this isn't doable the way prerequisites are setup.
Thanks
(2) Replies
‎Feb 22, 2010
01:42 PM
I found a helpful post on another thread that solved my problem. Here is my solution...
Instead of looking at the currentVersion registry key for flash I changed the prerequisite to look at: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX
The DisplayVersion which has versions with .'s, not ,'s. This registry key doesn't exist with flash 9 since flash 9 has a guid in the uninstall key.
I update to use the new registry information and everything works perfectly. Hopefully flash 11 doesn't break this.
Instead of looking at the currentVersion registry key for flash I changed the prerequisite to look at: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX
The DisplayVersion which has versions with .'s, not ,'s. This registry key doesn't exist with flash 9 since flash 9 has a guid in the uninstall key.
I update to use the new registry information and everything works perfectly. Hopefully flash 11 doesn't break this.