This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- .NET Framework 3.5 with SP1 Setup Prerequisite
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Aug 12, 2008
05:31 PM
.NET Framework 3.5 with SP1 Setup Prerequisite
Hi,
Do we have a support for this new version? 🙂
Thanks.
Do we have a support for this new version? 🙂
Thanks.
(16) Replies
‎Aug 12, 2008
11:00 PM
I was reading a blog today that's interesting....
http://blogs.msdn.com/heaths/archive/2008/08/12/isa-proxy-client-may-be-required-to-download-vs-2008-sp1.aspx
Sounds like even more integration / distribution hell for ISV's trying to create vertical applications using the framework.
Oh an ya, as if 190MB wasn't big enough, they have now managed to bump it up to 215MB. 13% increase.... wish my 401K would do that.
http://blogs.msdn.com/heaths/archive/2008/08/12/isa-proxy-client-may-be-required-to-download-vs-2008-sp1.aspx
Sounds like even more integration / distribution hell for ISV's trying to create vertical applications using the framework.
Oh an ya, as if 190MB wasn't big enough, they have now managed to bump it up to 215MB. 13% increase.... wish my 401K would do that.
‎Sep 10, 2008
02:57 PM
Does anyone know if an official prerequisite is available yet (particularly one that will let me specify 'download from the web')?
Would be useful if these things came out close to the release of the software.
Thanks
Would be useful if these things came out close to the release of the software.
Thanks
‎Sep 11, 2008
10:28 PM
I roll my own, but it would be nice to get an official one so I don't have to listen to InstallAware PR spam....
‎Sep 12, 2008
10:07 AM
I could do as well, but the downside is that then we have to carry the redistributable around in our setup - which increases the disk footprint for our installers, which increases the copy/download time for them as well. With the "official" setup prerequisite comes the download from their web site.
Once they start providing this type of "service", they can't be intermittment / occasional about it - can't skip service packs for example - it has to be all or none.
Once they start providing this type of "service", they can't be intermittment / occasional about it - can't skip service packs for example - it has to be all or none.
‎Sep 12, 2008
02:23 PM
We supplied the official prereqs in this KB article: http://kb.acresso.com/selfservice/documentLink.do?externalID=Q200284
The article says that the prereqs are for IS 2009, and although we didn't test these for IS 2008 you shouldn't have any issues using them with IS 2008.
The article says that the prereqs are for IS 2009, and although we didn't test these for IS 2008 you shouldn't have any issues using them with IS 2008.
(If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".)
‎Oct 21, 2008
11:36 AM
Sheryl,
I'm using IS 2008 and the article mentions downloading from the Redistributables view, but I don't see anything for Framework 3.5 that is downloadable.
Is there some direct place from which we can download?
thanks,
I'm using IS 2008 and the article mentions downloading from the Redistributables view, but I don't see anything for Framework 3.5 that is downloadable.
Is there some direct place from which we can download?
thanks,
‎Oct 21, 2008
11:41 AM
In the KB article that I mentioned in my previous post there is an attachment at the bottom named public_dotnet35SP1PRQs.ZIP. Download that and you will have the 3.5 SP1 prerequisite.
(If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".)
‎Nov 04, 2009
05:27 PM
I'm having a problem with the "Microsoft .NET Framework 3.5 SP1.prq"
There is a "File Can't be Found (Error 404)" error on "http://saturn.installshield.com/is/prerequisites/microsoft .net framework 3.5 sp1.prq"
It seems to be caused by the section: "AltPrqURL="http://saturn.installshield.com/is/prerequisites/microsoft .net framework 3.5 sp1.prq">"
Is this URL incorrect? I downloaded the prq file from http://kb.flexerasoftware.com/selfservice/documentLink.do?externalID=Q200284
There is a "File Can't be Found (Error 404)" error on "http://saturn.installshield.com/is/prerequisites/microsoft .net framework 3.5 sp1.prq"
It seems to be caused by the section: "AltPrqURL="http://saturn.installshield.com/is/prerequisites/microsoft .net framework 3.5 sp1.prq">"
Is this URL incorrect? I downloaded the prq file from http://kb.flexerasoftware.com/selfservice/documentLink.do?externalID=Q200284
‎Nov 05, 2009
04:07 PM
That URL is valid. I am not having any problems downloading that file from the server. Are you still having problems?
(If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".)
‎Apr 13, 2010
07:02 PM
How does this work for Windows 2008 R2? On that platform, you can't install .Net 3.5 with dotnetfx35.exe - you get an error telling you to use the Role Management tool. Is there an updated pre-req to handle this case? Or is there another way?
‎Apr 14, 2010
01:18 PM
Under a search for "programmatically install .net 3.5 on server 2008 r2", I ran across a suggestion to run
So if you're concerned specifically with Windows Server 2008R2, it should be straightforward to wire up either alternate version of the prerequisite for that OS, but stick with the simple EXE case for IS2008.
servermanagercmd -install Net-FrameworkThis was of course followed by a correction that this exe is deprecated and may not work in later versions of Windows, suggesting a PowerShell cmdlet instead (perhaps something like described on http://blogs.msdn.com/sqlblog/archive/2010/01/08/how-to-install-net-framework-3-5-sp1-on-windows-server-2008-r2-environments.aspx could be launched with our prerequisite's ShellExecute support - but that part's available only in more recent versions of InstallShield).
So if you're concerned specifically with Windows Server 2008R2, it should be straightforward to wire up either alternate version of the prerequisite for that OS, but stick with the simple EXE case for IS2008.
‎Aug 31, 2010
08:58 AM
I have created a simple prerequisite that run a batch file with this line:
When I run the bat file it works Ok but when running as prerequisite I get errors
I thought it have something to do with permissions issue
So I tried to run the setup as Administrator, set the prerequisite to require administration privilege and set the setup required execution level but nothing works
( I'm using InstallShield 2010 Basic MSI )
Maybe you can share some info about it ?
powershell.exe Import-Module ServerManager ; Add-WindowsFeature as-net-framework
When I run the bat file it works Ok but when running as prerequisite I get errors
I thought it have something to do with permissions issue
So I tried to run the setup as Administrator, set the prerequisite to require administration privilege and set the setup required execution level but nothing works
( I'm using InstallShield 2010 Basic MSI )
Maybe you can share some info about it ?
‎Sep 01, 2010
04:57 AM
Hi
PowerShell seems to work Ok ( I also activated the "Windows PowerShell integration scripting environment" )
See the error I'm getting
Have to created your own prerequisite or downloaded it since I can't find one for 2008 R2.
And most importent what do you have in your script ?
PowerShell seems to work Ok ( I also activated the "Windows PowerShell integration scripting environment" )
See the error I'm getting
Have to created your own prerequisite or downloaded it since I can't find one for 2008 R2.
And most importent what do you have in your script ?
C:\Windows>cd c:\windows
C:\Windows>powershell.exe Import-Module ServerManager ; Add-WindowsFeature as-net-framework
Import-Module : The specified module 'ServerManager' was not loaded because no valid module file was found in any module directory.
At line:1 char:14
+ Import-Module <<<< ServerManager ; Add-WindowsFeature as-net-framework
+ CategoryInfo : ResourceUnavailable: (ServerManager:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
The term 'Add-WindowsFeature' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:49
+ Import-Module ServerManager ; Add-WindowsFeature <<<< as-net-framework
+ CategoryInfo : ObjectNotFound: (Add-WindowsFeature:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
‎Oct 01, 2010
03:12 PM
I was getting the same error message as eladef when running on Windows 2k8 R2 64-bit. The problem, as far as I could tell, was that the batch file (or vbscript) would run as a 32bit process and therefore launch powershell in 32bit mode and for some reason, powershell will fail when running in this mode. Actually, you can run powershell from the SysWow64 folder and try these commands and you will see they will fail.
I could not figure out how to execute powershell in 64bit mode so I created a small managed .exe and compiled it for AnyCPU and this does work properly. Then I create a prerequisite to launch my managed exe. The exe launches powershell and powershell is in 64-bit mode. I have not tested this on a 32bit Server 2008 R2 but I believe it should work.
Here's the code for my managed .exe, hope this helps:
[code]
using System;
using System.Diagnostics;
namespace PrerequisiteHelper
{
class Program
{
static void Main(string[] args)
{
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = "powershell.exe";
startInfo.Arguments = "Import-Module ServerManager ; Add-WindowsFeature as-net-framework";
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.UseShellExecute = true;
Process p = new Process();
p.StartInfo = startInfo;
p.Start();
p.WaitForExit();
}
}
}
[/code]
I could not figure out how to execute powershell in 64bit mode so I created a small managed .exe and compiled it for AnyCPU and this does work properly. Then I create a prerequisite to launch my managed exe. The exe launches powershell and powershell is in 64-bit mode. I have not tested this on a 32bit Server 2008 R2 but I believe it should work.
Here's the code for my managed .exe, hope this helps:
[code]
using System;
using System.Diagnostics;
namespace PrerequisiteHelper
{
class Program
{
static void Main(string[] args)
{
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = "powershell.exe";
startInfo.Arguments = "Import-Module ServerManager ; Add-WindowsFeature as-net-framework";
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.UseShellExecute = true;
Process p = new Process();
p.StartInfo = startInfo;
p.Start();
p.WaitForExit();
}
}
}
[/code]