x64 C++ redistributable following 8.1 upgrade - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Kim.Martin
Posts: 15
Joined: Mon Oct 18, 2010 5:27 pm

x64 C++ redistributable following 8.1 upgrade

I have an installer that offers to install platform dependant prerequisites including C++ redistributables. Up to version 8.0.2, this was working fine.

However, I have today installed version 8.1 and users are complaining that they are offered the x64 C++ package on x86 machines...
install.png
install.png (24.08 KiB) Viewed 3255 times
I cannot see that anything has changed on the project (.aip) designer...
project.png
project.png (28.86 KiB) Viewed 3255 times
However, just opening the old project and saving it makes the following change to the line in the .aip:

8.0.2 version...

<ROW PrereqKey="Visual_C_2010_Redi_1" DisplayName="Visual C++ 2010 Redistributable x64" SetupFileUrl="_support\SetupOnly\microsoft\vcredist_x64.exe" Location="0" ExactSize="0" MinWin9xVer="47" MinWinNTVer="47" Operator="1" Options="z" TargetName="vcredist_x64.exe" Type="1" Feature="Visual_C_2010_Redistributable_x64"/>

8.1 version...

<ROW PrereqKey="Visual_C_2010_Redi_1" DisplayName="Visual C++ 2010 Redistributable x64" SetupFileUrl="_support\SetupOnly\microsoft\vcredist_x64.exe" Location="0" ExactSize="0" Win9xVersions="Windows 95, Windows 95 OSR, Windows 95 OSR2.5, Windows 98, Windows 98 SE, Windows Millennium" WinNTVersions="Windows NT 4.0, Windows NT 4.0, Windows NT 4.0 Service Pack 1, Windows NT 4.0 Service Pack 2, Windows NT 4.0 Service Pack 3, Windows NT 4.0 Service Pack 4, Windows NT 4.0 Service Pack 5, Windows NT 4.0 Service Pack 6, Windows 2000, Windows 2000, Windows 2000 Service Pack 1, Windows 2000 Service Pack 2, Windows 2000 Service Pack 3, Windows 2000 Service Pack 4, Windows XP x86, Windows XP x86, Windows XP x86 Service Pack 1, Windows XP x86 Service Pack 2, Windows XP x86 Service Pack 3, Windows Server 2003 x86, Windows Server 2003 x86, Windows Server 2003 x86 Service Pack 1, Windows Server 2003 x86 Service Pack 2, Windows Vista x86, Windows Vista x86, Windows Vista x86 Service Pack 1, Windows Vista x86 Service Pack 2, Windows Server 2008 x86, Windows 7 x86, Windows 7 x86, Windows 7 x86 Service Pack 1" Operator="1" Options="z" TargetName="vcredist_x64.exe" Type="1" Feature="Visual_C_2010_Redistributable_x64"/>

I have tested it and found this change of behaviour (now incorrect) on XP x86 and Windows 7, x86.

Can anyone shed any light on this? Thank you. Kim.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: x64 C++ redistributable following 8.1 upgrade

Hello,

It seems this is caused by a conversion bug in Advanced Installer 8.1. Thank you for bringing this to our attention a fix shall be included in the next version.

Until then the solution to fix your aip file is very easy, simply replace the following part of your aip:

Code: Select all

Win9xVersions="Windows 95, Windows 95 OSR, Windows 95 OSR2.5, Windows 98, Windows 98 SE, Windows Millennium" WinNTVersions="Windows NT 4.0, Windows NT 4.0, Windows NT 4.0 Service Pack 1, Windows NT 4.0 Service Pack 2, Windows NT 4.0 Service Pack 3, Windows NT 4.0 Service Pack 4, Windows NT 4.0 Service Pack 5, Windows NT 4.0 Service Pack 6, Windows 2000, Windows 2000, Windows 2000 Service Pack 1, Windows 2000 Service Pack 2, Windows 2000 Service Pack 3, Windows 2000 Service Pack 4, Windows XP x86, Windows XP x86, Windows XP x86 Service Pack 1, Windows XP x86 Service Pack 2, Windows XP x86 Service Pack 3, Windows Server 2003 x86, Windows Server 2003 x86, Windows Server 2003 x86 Service Pack 1, Windows Server 2003 x86 Service Pack 2, Windows Vista x86, Windows Vista x86, Windows Vista x86 Service Pack 1, Windows Vista x86 Service Pack 2, Windows Server 2008 x86, Windows 7 x86, Windows 7 x86, Windows 7 x86 Service Pack 1"
With this:

Code: Select all

Win9xVersions="Windows 9x/ME" WinNTVersions="Windows NT/2k/XP/Vista/Windows7 x86"
After this save the aip, reload it in Advanced Installer and rebuild the setup, the prerequisite should work correctly now.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kim.Martin
Posts: 15
Joined: Mon Oct 18, 2010 5:27 pm

Re: x64 C++ redistributable following 8.1 upgrade

Thank you Bogdan

That seems to be working now. Many thanks for the fast response.

Kim

Return to “Common Problems”