Adding prerequisites Visual C++ runtime redistributable

Vinay MS picture Vinay MS · Jul 29, 2010 · Viewed 14.2k times · Source

I have problem during installing visual c++ runtime libraries for windows 7. I prepare the setup using installshield 2010,their is an option to set visual c++ 2010 as prerequisites but no option for VC++ 2008.

How I can create(or anybody created already) .prq file, so that I can build my application.

Please help me as soon as possible.

Answer

Ogmios picture Ogmios · Dec 23, 2012

You can download the prerequisite files using the link from the AltPrqURL attribute from one of the installed .prg files (default location c:\Program Files (x86)\InstallShield\2012SpringLE\SetupPrerequisites) and change this link according to your needs. e.g.:

<operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="1" ProductType="2|3"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" Bits="1"></operatingsystemcondition>

<operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="4" ProductType="2|3"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" Bits="4"></operatingsystemcondition>

The Visual C++ 2010 Redistributable Package (x64) is also missing from InstallShield 2012 LE: http://saturn.installshield.com/is/prerequisites/microsoft visual c++ 2010 redistributable package (x64).prq

Important: my Visual Studio 2012 + InstallShield 2012 LE did not list the new x64 redistributables with their default name. Solution: just change the file names.