I'm using the AI Pro 11.1 build 56565 on a Win7 64 bit system.
I'm installing the VC++ 2012 x86 redistributable as a pre-requisite. The default Install Condition AI uses for this is to check the following registry entry:
HKLM\SOFTWARE\Microsoft\DevDiv\VC\Servicing\11.0\RuntimeMinimum\Version
If it doesn't find this entry, then it tells the user that the redistributable did not install successfully.
The problem is that this registry entry is only valid for 32-bit systems. If installing on a 64-bit system, the redistributable writes it here instead:
HKLM\SOFTWARE\Wow6432Node\Microsoft\DevDiv\VC\Servicing\11.0\RuntimeMinimum\Version
I thought that by checking the "Use 64-bit locations when evaluating conditions on a 64-bit machine" checkbox under Install Conditions would look in the correct location if installing on a 64-bit system but it does not. It always reports that it wasn't installed correctly.
I do not see any documentation about where AI looks if this checkbox is checked. But apparently it's not in the Wow6432Node section that is used on 64-bit Windows.
I was able to resolve the issue by adding both of the registry entries and selecting "Install only if all conditions are false". That way both the 32-bit and 64-bit registry locations are checked to confirm installation of the prerequisite.
However, I would think AI needs to either default both registry entries if you're using the VC++ 2012 redistributable or the "Use 64-bit locations..." checkbox should cause it to check the Wow6432Node. If I forget to add the additional registry entry as an install condition, then the vast majority of Win7 users (which are 64-bit) will be calling me saying the redistributable didn't install when it really did.
Thanks
Phil
FOLLOW US
Get the latest news in Application Packaging