I took the following prq from this forum to install the x86 c++ 2013 redistributables (see below). I created a prq file, copied the code in the file and saved it. When I opend my a simple ism, underprequisites I found the prequiste and added it to the project.
When I run the setup.exe that is generated the install prompts come up and the redistributables are installed however the ism pops up a window indicating the install failed. When I check Programs and Features in windows it shows
that they were installed. What changes need to be made so the ism script realizes the installation was successful?
<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
<conditions>
<condition Type="1" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{ce085a78-074e-4823-8dc1-8a721b94b76d}" FileName="" ReturnValue=""></condition>
</conditions>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" ServicePackMajorMin="2"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="1" ServicePackMajorMin="1"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion=""></operatingsystemcondition>
</operatingsystemconditions>
<files>
<file LocalFile="<ISProductFolder>\SetupPrerequisites\VC 2013 Redist\x86\vcredist_x86.exe" URL="http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" CheckSum="C54A3EF830D176AEB6221B0BA2352A9F" FileSize="0,6499016"></file>
</files>
<execute file="vcredist_x86.exe" cmdline="/q" cmdlinesilent="/q" returncodetoreboot="1641,3010"></execute>
<properties Id="{340b0957-35ca-1324-bbc9-ba5db9082dad}" Description="This prerequisite installs the Microsoft Visual C++ 2013 Runtime Libraries (x86)." AltPrqURL="http://saturn.installshield.com/is/prerequisites/microsoft visual c++ 2013 redistributable package (x86).prq"></properties>
<behavior Reboot="2"></behavior>
</SetupPrereq>
When I run the setup.exe that is generated the install prompts come up and the redistributables are installed however the ism pops up a window indicating the install failed. When I check Programs and Features in windows it shows
that they were installed. What changes need to be made so the ism script realizes the installation was successful?
<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
<conditions>
<condition Type="1" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{ce085a78-074e-4823-8dc1-8a721b94b76d}" FileName="" ReturnValue=""></condition>
</conditions>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" ServicePackMajorMin="2"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="1" ServicePackMajorMin="1"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion=""></operatingsystemcondition>
</operatingsystemconditions>
<files>
<file LocalFile="<ISProductFolder>\SetupPrerequisites\VC 2013 Redist\x86\vcredist_x86.exe" URL="http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" CheckSum="C54A3EF830D176AEB6221B0BA2352A9F" FileSize="0,6499016"></file>
</files>
<execute file="vcredist_x86.exe" cmdline="/q" cmdlinesilent="/q" returncodetoreboot="1641,3010"></execute>
<properties Id="{340b0957-35ca-1324-bbc9-ba5db9082dad}" Description="This prerequisite installs the Microsoft Visual C++ 2013 Runtime Libraries (x86)." AltPrqURL="http://saturn.installshield.com/is/prerequisites/microsoft visual c++ 2013 redistributable package (x86).prq"></properties>
<behavior Reboot="2"></behavior>
</SetupPrereq>