Our application requires the 32-bit VC9 runtime to be istalled. We use the 'checkvc91' script to detect if it's installed already and if not then install it.
This works on most machines. However, it seems that on 64-bit machines which have the 64-bit version of the runtime installed but NOT the 32-bit version this script returns thinking the runtime is installed already. Our application won't run as it needs the 32-bit version.
Is there a way to resolve this problem with the installation?
Thanks.
Detecting VC runtimes 64-bit vs 32-bit
Re: Detecting VC runtimes 64-bit vs 32-bit
You may be able to modify the way the checks are made using:
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}\DisplayVersion
for x86...
Note, a check at:
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}\DisplayVersion
in 32-bit mode should work.
Use:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BBBE35B2-9349-3C48-BD3D-F574B17C7924}\DisplayVersion
for x64 version...
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}\DisplayVersion
for x86...
Note, a check at:
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}\DisplayVersion
in 32-bit mode should work.
Use:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BBBE35B2-9349-3C48-BD3D-F574B17C7924}\DisplayVersion
for x64 version...
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Re: Detecting VC runtimes 64-bit vs 32-bit
But the first question to answer is whether both versions can be installed simultaneously.
You may end up having to create two distinct versions of your software, one which can work with VCx64 runtimes. You could deploy a web installer and have it download the most appropriate version for the environment.
You may end up having to create two distinct versions of your software, one which can work with VCx64 runtimes. You could deploy a web installer and have it download the most appropriate version for the environment.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

