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
- :
- Re: How to determine version of FLASH with InstallShield 2009
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 10, 2009
03:26 PM
How to determine version of FLASH with InstallShield 2009
I am currently using InstallShield 2009 and one of the required components that needs to be installed in Adobe Flash Player. However, we only want to install it IF it is below a certain version.
For example, if we deploy our InstallShield setup.exe on a system where Flash is not installed we should install version 10.0.32.18 (which is included in the package), however if the system has a version of Flash installed that is newer then 10.0.32.18 we should not attempt to install it.
In the past when I was using Flash9 I would simply check System32\Macromed\Flash\flash9d.ocx version and if it was below 9.0.47.0 then install it - but now with Flash10 things get a little complicated - as I don't know what file to check.
Is there a general way (for all versions) that I can check what Flash is installed, or is there a specific way I can check what version of Flash 10 is installed and if it isn't then just check 9 as I did before?
Any help/advice would be much appreciated. Thanks,
For example, if we deploy our InstallShield setup.exe on a system where Flash is not installed we should install version 10.0.32.18 (which is included in the package), however if the system has a version of Flash installed that is newer then 10.0.32.18 we should not attempt to install it.
In the past when I was using Flash9 I would simply check System32\Macromed\Flash\flash9d.ocx version and if it was below 9.0.47.0 then install it - but now with Flash10 things get a little complicated - as I don't know what file to check.
Is there a general way (for all versions) that I can check what Flash is installed, or is there a specific way I can check what version of Flash 10 is installed and if it isn't then just check 9 as I did before?
Any help/advice would be much appreciated. Thanks,
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 14, 2009
10:07 PM
If you already have an existing and working approach to check System32\Macromed\Flash\flash9d.ocx, why can't you check Flash10c.ocx? Well, the problem is that this approach dies when flash 11 available, unless your code is smart to handle flashxxx.ocx.
Maybe you can try to check registry instead:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX]
"DisplayVersion"="10.0.32.18"
Maybe you can try to check registry instead:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX]
"DisplayVersion"="10.0.32.18"