I'm trying Advance Installer 10.9.1
I'm upgrading from Advance Installer 4 in order to support side by side installation for windows 32 and 64
I need to install as a prerequisite Visual C++ 2008 redistributable, files: vcredist_x64.exe OR vcredist_x86.exe
There are 2 problems:
1. In the Predefined prerequisites there are few Visual C++ redistributable options, like 2010 2012 etc., all in BOTH 32 and 64 EXCEPT for 2008 which has only 32 bit.
2. I'm building a setup which is suitable for both windows 32 and 64 (new feature for Advance Installer 10). How can I install the RIGHT EXE based on the type of installation?
To (1), I can create the 64 prerequisite manually (same registry condition as 32 but installing vcredist_x64.exe),
but I wonder why is it missing from the list?
Maybe there is a problem that Advanced Installer are aware of and I'm not?
To (2), what do you think about the following possible solution:
Write 2 prerequisites, for each of vcredist_x64.exe and vcredist_x86.exe; And add a 2nd condition for each:
HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion exists for 64 and not exists for 32.
Is there a more elegant criteria?
Can it be based on the actual installation type (32 or 64)?
Maybe an installation variable?
Thank you,
Yigal