For the installer I'm creating, I have a requirement that we cannot rely on the fact that there's an Internet connection. However, the software needs the Visual C++ 2015 Update 3 Redistributable. I've modified the Prerequisite file to use the latest version of vc_redist.x86.exe (I don't understand why InstallShield can't figure this out for me), but I do not understand if, and how, I can tell InstallShield to bundle the vc_redist.x86.exe so it does not need to be downloaded.
We currently provide the vc_redist.x86.ewe file separately, but management is insisting that the installer should be able to figure out if the redistributable is needed, and install it automatically, which I think is a reasonable request. Furthermore, since this application is a front-end for a satellite communication network management system that is often installed in remote locations, we cannot assume there is already an Internet connection available, therefore the vc_redist.x86.exe should be bundled in the installer.
Can this be done?
This is the contents of my .prq file:
We currently provide the vc_redist.x86.ewe file separately, but management is insisting that the installer should be able to figure out if the redistributable is needed, and install it automatically, which I think is a reasonable request. Furthermore, since this application is a front-end for a satellite communication network management system that is often installed in remote locations, we cannot assume there is already an Internet connection available, therefore the vc_redist.x86.exe should be bundled in the installer.
Can this be done?
This is the contents of my .prq file:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SetupPrereq>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" ServicePackMajorMin="2"/>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" ServicePackMajorMin="1"/>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion=""/>
<operatingsystemcondition MajorVersion="6" MinorVersion="3" PlatformId="2" CSDVersion=""/>
<operatingsystemcondition MajorVersion="5" MinorVersion="2" PlatformId="2" CSDVersion="" ProductType="2|3" ServicePackMajorMin="2"/>
<operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion=""/>
<operatingsystemcondition MajorVersion="5" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="1" ProductType="1" ServicePackMajorMin="3"/>
</operatingsystemconditions>
<conditions>
<condition Type="2" Comparison="32" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\VC\Servicing\14.0\RuntimeMinimum" FileName="UpdateVersion" ReturnValue="14.0.24212"/>
</conditions>
<files>
<file LocalFile=".\VC 2015 Redist\vc_redist.x86.exe" URL="https://download.microsoft.com/download/6/D/F/6DF3FF94-F7F9-4F0B-838C-A328D1A7D0EE/vc_redist.x86.exe" CheckSum="1A15E6606BAC9647E7AD3CAA543377CF" FileSize="0,13767776"/>
</files>
<execute file="vc_redist.x86.exe" cmdline="/q" cmdlinesilent="/q" returncodetoreboot="1641,3010"/>
<properties Id="{29AE0051-88F8-4ED7-A6F9-7EA37A6B11A3}" Description="This prerequisite installs the Microsoft Visual C++ 2015 Update 3 Runtime Libraries (x86)."/>
<behavior Optional="1" Hidden="1" Failure="4" Reboot="8"/>
</SetupPrereq>