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
- :
- Enabling .Net 3.5 on Windows Server 2008 R2
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 20, 2011
02:34 AM
Enabling .Net 3.5 on Windows Server 2008 R2
Windows Server 2008 R2 comes with the .Net Framework 3.5.1 pre-installed, but not not enabled unless you manually set-up certain server roles through the Server Manager.
I have tried adding the .Net Framework 3.5 Prerequisite to our installation package but it fails on the above OS with an error message, because it is pre-installed.
After trawling the Internet for several hours, I discovered that the .Net 3.5.1 features on Server 2008 R2 can be enabled through a command line:
If this is the best way to "switch on" the 3.5 Framework, then I would like to run the command line during the installation. I guess this could be done using Custom Actions but I don't know how to set the conditions so that it runs only on the above OS and at what point during the installation to run the command line.
Can anyone please advise? Also if anyone out there knows of a better way to enable the 3.5 Framework, any guidance would be much appreciated.
Thanks
I have tried adding the .Net Framework 3.5 Prerequisite to our installation package but it fails on the above OS with an error message, because it is pre-installed.
After trawling the Internet for several hours, I discovered that the .Net 3.5.1 features on Server 2008 R2 can be enabled through a command line:
"ServerManagerCmd -install Net-Framework"
If this is the best way to "switch on" the 3.5 Framework, then I would like to run the command line during the installation. I guess this could be done using Custom Actions but I don't know how to set the conditions so that it runs only on the above OS and at what point during the installation to run the command line.
Can anyone please advise? Also if anyone out there knows of a better way to enable the 3.5 Framework, any guidance would be much appreciated.
Thanks
4 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 06, 2011
06:05 PM
You can install the feature with the OCSetup program if you have the internal feature name (can't remember it off-hand). You can launch an immediate or deferred CA based on the properties you've set in your System Search.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 07, 2011
04:28 PM
How did you end up handling this?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2012
04:26 AM
I use this command line in my installscript, but it is for windows server 2008 R2, I did not find it for windows 7.
LaunchAppAndWait (System64Folder^"ocsetup.exe", " NetFx3 ", WAIT);
LaunchAppAndWait (System64Folder^"ocsetup.exe", " NetFx3 ", WAIT);
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 27, 2012
03:00 PM
We just released a new InstallShield prerequisite for .NET Framework 3.5 SP1:
Q210041: InstallShield Prerequisites for .NET Framework 3.5 SP1 on Windows 7 and Later, Windows Server 2008 R2 and Later
Q210041: InstallShield Prerequisites for .NET Framework 3.5 SP1 on Windows 7 and Later, Windows Server 2008 R2 and Later
