InstallShield2015LimitedEdition 增加 Redistributables VS2013 vcredist
作者:互联网
1.因为项目安装时需要依赖vcredist_x86_2013.exe
2.InstallShield2015LimitedEdition中并没有内置2013只有2012和2015
增加方式:
1.找到下载文件目录
1) 双击Specify Application Data-> Redistributables中,随便找一个 "Microsoft Visual C++ 2012 *"的文件
2) 右键,download selected item
3) 看"输出"窗体控制台,会输出下载好的目录
4) 找到目录 打开一个 Microsoft Visual C++ 2015 Redistributable Package (x86).prq 在 "SetupPrerequisites"文件夹下.
5) 使用文本打开,找到
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SetupPrereq>
<conditions>
<condition Type="32" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A2563E55-3BEC-3828-8D67-E5E8B9E8B675}" FileName="DisplayVersion" ReturnValue="14.0.23026" Bits="1"/>
<condition Type="1" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BD9CFD69-EB91-354E-9C98-D439E6091932}" FileName="" ReturnValue="" Bits="1"/>
<condition Type="1" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{65AD78AD-D23D-3A1E-9305-3AE65CD522C2}" FileName="" ReturnValue="" Bits="1"/>
</conditions>
<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>
<files>
<file LocalFile="<ISProductFolder>\SetupPrerequisites\VC 2015 Redist\vc_redist.x86.exe" URL="http://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/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 Runtime Libraries (x86)." AltPrqURL="http://saturn.installshield.com/is/prerequisites/Microsoft Visual C++ 2015 Redistributable Package (x86).prq"/>
<behavior Reboot="2"/>
</SetupPrereq>
找到 properties 属性,找到下面的内容:
AltPrqURL="http://saturn.installshield.com/is/prerequisites/Microsoft Visual C++ 2015 Redistributable Package (x86).prq"
然后将地址复制到浏览器中,修改2015为2013就可以下载到配置文件。
在 "SetupPrerequisites"文件夹下,复制一份“Microsoft Visual C++ 2015 Redistributable Package (x86).prq”文件,改名为“Microsoft Visual C++ 2013 Redistributable Package (x86).prq”,刷新VS就可以看到配置.
然后就可以下载了。
64位的也是类似的操作。
转自:InstallShield2015LimitedEdition 增加 Redistributables VS2013 vcredist
标签:Redistributables,x86,C++,Visual,2015,InstallShield2015LimitedEdition,vcredist,Mi 来源: https://blog.csdn.net/jiongxian1/article/details/115026071