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
- :
- SUITE: Cannot enable NetFx3 on Server 2012 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
‎Nov 03, 2015
05:52 AM
SUITE: Cannot enable NetFx3 on Server 2012 R2
Our application requires .NET Framework 3.5 SP1 be installed. On Server 2012 R2 I get the following error when this tries to run.
Failed to DismEnableFeature (NetFx3): error 0xc004000d, 'One or several parent features are disabled so current feature can not be enabled.
I can enable the feature using Server Manager, but I would like to fix this.
If I open powershell I can use Dism /online /Enable-Feature /FeatureName:NetFx3 /All and it will install successfully.
It appears that the /All is missing from the InstallShield implementation of this option. Is this correct? Is there any way to modify this functionality or should I just execute my own powershell script within the installer?
EDIT: I take back my above comments regarding the DISM. The install got to 66.6% through and failed even with Powershell. I am digging deeper to see if I can figure out why I cannot enable this feature. Using Server Manager it works.
EDIT: After running windows update I was able to successfully enable the feature from the PowerShell prompt using DISM.
EDIT: After retesting my scenario, I still cannot get the feature to enable from the install, even after Windows Updates have been applied, and the system restarted. I think I am going to log a bug.
Failed to DismEnableFeature (NetFx3): error 0xc004000d, 'One or several parent features are disabled so current feature can not be enabled.
I can enable the feature using Server Manager, but I would like to fix this.
If I open powershell I can use Dism /online /Enable-Feature /FeatureName:NetFx3 /All and it will install successfully.
It appears that the /All is missing from the InstallShield implementation of this option. Is this correct? Is there any way to modify this functionality or should I just execute my own powershell script within the installer?
EDIT: I take back my above comments regarding the DISM. The install got to 66.6% through and failed even with Powershell. I am digging deeper to see if I can figure out why I cannot enable this feature. Using Server Manager it works.
EDIT: After running windows update I was able to successfully enable the feature from the PowerShell prompt using DISM.
EDIT: After retesting my scenario, I still cannot get the feature to enable from the install, even after Windows Updates have been applied, and the system restarted. I think I am going to log a bug.
5 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2015
09:44 AM
It sounds like something may be off with the section in your project. You can ensure that InstallShield enables the necessary parents by listing them in the an appropriate child element of your project. See this related thread for some more details.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2015
12:37 PM
Michael, the message indicates that it tried to run. So I do not think it is a detection issue. The message states: 'One or several parent features are disabled so current feature can not be enabled.'
As far as I know there are no prerequisites for .NET Framework.
Also this works on other operating systems such as Windows 8, 8.1, Server 2008 R2, etc.
As far as I know there are no prerequisites for .NET Framework.
Also this works on other operating systems such as Windows 8, 8.1, Server 2008 R2, etc.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2015
01:17 PM
I am running into some interesting behavior.
So I removed the Windows Feature install for NetFx3. I created a new powershell script with
I scheduled this to run OnPackagesConfiguring.
I set the action to run with elevated privilege.
It runs, but fails.
I see a large 'Windows Features' dialog stating that
I can still open PowerShell and install from the cmd line using the same command.
So I removed the Windows Feature install for NetFx3. I created a new powershell script with
Dism /online /enable-feature /featurename:netfx3 /all
I scheduled this to run OnPackagesConfiguring.
I set the action to run with elevated privilege.
It runs, but fails.
I see a large 'Windows Features' dialog stating that
The following feature couldn't be installed:
.NET Framework 3.5 (includes .NET 2.0 and 3.0)
Windows Server roles and features cannot be automatically installed or uninstalled via the Windows Features Control Panel.
To install Windows Server roles and features, start Server Manager, or use the Server Manager cmdlets for Windows PowerShell.
I can still open PowerShell and install from the cmd line using the same command.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2015
02:34 PM
Final Update:
I must have some problem with my package. I created a new suite package, added my primary msi, and added NetFx3 to this package. Before running Windows updates the package fails to install, but after Windows Updates the package installs successfully.
I will try to isolate what could be causing the difference. One difference is that the suite project file is a conversion from IS2013 while my test scenario is a new IS2015 project.
I must have some problem with my package. I created a new suite package, added my primary msi, and added NetFx3 to this package. Before running Windows updates the package fails to install, but after Windows Updates the package installs successfully.
I will try to isolate what could be causing the difference. One difference is that the suite project file is a conversion from IS2013 while my test scenario is a new IS2015 project.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2015
07:05 AM
So the issue is ultimately with upgrading a 2013 suite project to 2015.
When I create a new 2015 suite package and set the Windows Feature the package works. When I do the same to my 2013 project file then it does not work.
So I compared the two project files.
The issue is in the section. Under the following was missing:
I added these lines to my project file and all is good.
When I create a new 2015 suite package and set the Windows Feature the package works. When I do the same to my 2013 project file then it does not work.
So I compared the two project files.
The issue is in the
NetFx3 NetFx3ServerFeatures;NetFx3 NetFx3ServerFeatures;NetFx3 NetFx3
I added these lines to my project file and all is good.
