这不是一个问题,而是一个帖子。 要在Install Shield 2015专业版中支持.Net FW 4.6.1,请按照中提到的步骤操作 https://community.flexerasoftware.com/showthread.php?220164-prq-for-Microsoft-NET-Framework-4-6-1-Full
但请在* .prq文件中验证.Net 4.6.1的注册表路径。
如果这不能一次性使用,并且您收到类似的错误,如下所示:
“流式传输出错 'Microsoft.net \ 4.6 \ Full \ NDP461-KB3102436-x86-x64-AllOS-ENU.exe'进入 SETUP.EXE“
然后在管理模式下运行InstallShield 2015 professional并尝试。
经过一些分析后,我发现了实际问题。
* .prq文件中的问题:
我尝试在Win7(32& 64)系统中安装它,设置没有提示缺少4.6.1。然后我再次检查了* .prq文件 发现它不包括支持Win7和其他操作系统的条目 32位因此,最好从.Net 4.5 full.prq文件中复制支持的操作系统信息。 请检查其他* .prq文件中缺少的操作系统信息,并添加到您的prq文件中。
- 醇>
以某种方式使用此4.6.1.prq文件IS 2015正在下载错误的4.6.1离线安装程序。所以,我不得不下载离线安装程序 来自https://www.microsoft.com/en-us/download/details.aspx?id=49982 并将其复制到“C:\ Program Files (x86)\ InstallShield \ 2015 \ SetupPrerequisites \ Microsoft .net \ 4.6 \ Full“ 夹
现在它在Win7 32& 64位并正常工作
Microsoft .NET Framework 4.6.1 Full.prq文件:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SetupPrereq>
<conditions>
<condition Type="2" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" FileName="Release" ReturnValue="394254"/>
</conditions>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="1" ProductType="2|3"> </operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="1"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="4" ProductType="2|3"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="4"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" Bits="1"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" Bits="4"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="3" PlatformId="2" CSDVersion="" Bits="1"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="3" PlatformId="2" CSDVersion="" Bits="4"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="1"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="10" MinorVersion="0" PlatformId="2" CSDVersion="" Bits="4"></operatingsystemcondition>
</operatingsystemconditions>
<files>
<file LocalFile=".\Microsoft.net\4.6\Full\NDP461-KB3102436-x86-x64-AllOS-ENU.exe" URL="https://download.microsoft.com/download/E/4/1/E4173890-A24A-4936-9FC9-AF930FE3FA40/NDP461-KB3102436-x86-x64-AllOS-ENU.exe" CheckSum="864056903748706E251FEC9F5D887EF9" FileSize="0,67681000"/>
</files>
<execute file="NDP461-KB3102436-x86-x64-AllOS-ENU.exe" cmdline="/showrmui /passive " cmdlinesilent="/q /norestart" returncodetoreboot="1641,3010" requiresmsiengine="1"/>
<properties Id="{D88AEC72-8F72-4075-B2EA-1FF6363E0E51}" Description="This prerequisite installs the .NET Framework 4.6.1 full standalone package."/>
<behavior Reboot="2"/>
</SetupPrereq>
答案 0 :(得分:0)
以下是可用于为Microsoft .NET Framework 4.6.1完整先决条件创建自己的.prq文件的文本。
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SetupPrereq>
<conditions>
<condition Type="2" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" FileName="Release" ReturnValue="394254"/>
</conditions>
<operatingsystemconditions>
<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="10" MinorVersion="0" PlatformId="2" CSDVersion=""/>
</operatingsystemconditions>
<files>
<file LocalFile=".\Microsoft.net\4.6\Full\NDP461-KB3102436-x86-x64-AllOS-ENU.exe" URL="https://download.microsoft.com/download/E/4/1/E4173890-A24A-4936-9FC9-AF930FE3FA40/NDP461-KB3102436-x86-x64-AllOS-ENU.exe" CheckSum="864056903748706E251FEC9F5D887EF9" FileSize="0,67681000"/>
</files>
<execute file="NDP461-KB3102436-x86-x64-AllOS-ENU.exe" cmdline="/showrmui /passive " cmdlinesilent="/q /norestart" returncodetoreboot="1641,3010" requiresmsiengine="1"/>
<properties Id="{D88AEC72-8F72-4075-B2EA-1FF6363E0E51}" Description="This prerequisite installs the .NET Framework 4.6.1 full standalone package."/>
<behavior Reboot="2"/>
</SetupPrereq>
注意: 条件设置为仅64位,Windows 7,Windows 8,Windows 10 截至2016年1月18日,下载位置不错。不知道它会持续多长时间。
帮助: 对于那些刚刚制作先决条件.prq文件的人:
将66 MB文件下载到C:\ Program Files(x86)\ InstallShield \ 2015 \ SetupPrerequisites \ Microsoft.net \ 4.6 \ Full \ 你应该很好。
编辑任何条件: 右键单击Microsoft .NET Framework 4.6.1 Full.prq项,然后选择“编辑先决条件”