yeilam
Posts: 19
Joined: Sun Aug 13, 2006 6:22 am

prerequisite: visual 2008 redistributable 32 vs 64

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
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: prerequisite: visual 2008 redistributable 32 vs 64

Hi Yigal,
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?
There is no limitation regarding this prerequisite, we already included this prerequisite in the next version of Advanced Installer which will be released next month.
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?
In order to install a prerequisite based on the Operating System type (32 or 64), you can go in the "Install Conditions" tab and select the appropriate OS types from the "Supported Windows Versions" list.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
yeilam
Posts: 19
Joined: Sun Aug 13, 2006 6:22 am

Re: prerequisite: visual 2008 redistributable 32 vs 64

Thanks for the answer.
(1) seems to be fine
about (2) I will not use side by side instalatin after all but 2 different ones.
Thanks.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: prerequisite: visual 2008 redistributable 32 vs 64

You're welcome Yigal. Glad to help.

Just let us know if you have any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”