PDA

View Full Version : Support for Install .net framework 4.5.2 in Installshield



shsrivastava
02-02-2015, 08:49 AM
Hi,

I wanted to know how can i Install .net framework 4.5.2 using Installshield 2014 , I have also installed SP1 for Installshield 2014 but still .net framework 4.5.2 is not present under Redistributables tab. Please suggest the best possible way to Install .net framework 4.5.2 as a prerequisite.
I tried installing running it CA as exe , but installation gave error in .net log file as - failed to grab execution mutex. system error 258

Is there any possibility of .net framework 4.5.2 getting added as redistributable as part of installshield , which will make the task much simpler ?

Thanks
Shriniket

JSClark
02-03-2015, 02:45 PM
Here are the contents of a .prq file that can be used as a Setup Prerequisite for .NET Framework 4.5.2

The download URL should work as well.
=====
<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
<conditions>
<condition Type="2" Comparison="2" Path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" FileName="Version" ReturnValue="4.5.51209"></condition>
</conditions>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="4" ServicePackMajorMin="1"></operatingsystemcondition>
<operatingsystemcondition MajorVersion="6" MinorVersion="2" PlatformId="2" CSDVersion="" Bits="4"></operatingsystemcondition>
</operatingsystemconditions>
<files>
<file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\Microsoft.net\4.5\Full\NDP452-KB2901907-x86-x64-AllOS-ENU.exe" URL="http://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" CheckSum="EE01FC4110C73A8E5EFC7CABDA0F5FF7" FileSize="0,69999448"></file>
</files>
<execute file="NDP452-KB2901907-x86-x64-AllOS-ENU.exe" cmdline="/q /norestart" cmdlinesilent="/q /norestart" returncodetoreboot="1641,3010" requiresmsiengine="1"></execute>
<properties Id="{FD44D5DE-C58C-4FDF-8411-A9453E94DBFE}" Description="This prerequisite installs the .NET Framework 4.5.2 full standalone package."></properties>
<behavior Reboot="2"></behavior>
</SetupPrereq>

=====

shsrivastava
02-05-2015, 09:31 AM
Hi Clarrk.

Thanks for the help. 4.5.2 Installation is fine ... But application goes on reboot and continues installation after reboot. Is there a way to postpone reboot till complete application installation is finished. I dont want reboot to happen after 4.5.2 installation but after complete application installation , it could be either forceful or prompt can be displayed to user .