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
- :
- Enable Window Feature .NET Framework 3.5 for Window Server 2012
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
‎Oct 24, 2014
08:01 AM
Enable Window Feature .NET Framework 3.5 for Window Server 2012
Hi,
How can I automatically enable Window Feature of .NET Framework 3.5 during installer, for window server 2012 and window 8. Since this feature has been pre-installed with these windows, installed doesn't do anything. I tried Pre-requirest with .NET Framework 3.5, but that's just install .NET Framework 3.5 SP1, not enable the feature, right?
How can I enable this feature from installer?
I am using InstallShield 2012 Spring.
Yun
How can I automatically enable Window Feature of .NET Framework 3.5 during installer, for window server 2012 and window 8. Since this feature has been pre-installed with these windows, installed doesn't do anything. I tried Pre-requirest with .NET Framework 3.5, but that's just install .NET Framework 3.5 SP1, not enable the feature, right?
How can I enable this feature from installer?
I am using InstallShield 2012 Spring.
Yun
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 24, 2014
10:15 AM
Search for "dism.exe" here in the forum.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 28, 2014
07:58 AM
Create a custom action. Execute a batch file using command line
batch file should contain
---------------------------------------
@echo off
setlocal
for /f "tokens=4-5 delims=. " %%i in ('ver') do (set VERSION=%%i.%%j
set MAJ=%%i
set MIN=%%j
)
if "%MAJ%" == "6" if "%MIN%" geq "2" goto InstallDotNet3
if "%MAJ%" geq "7" goto InstallDotNet3
goto Exit
:InstallDotNet3
echo "Enabling DOT NET 3.5 framework"
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
:Exit
endlocal
-------------------------------------------------
And run that custom action in differed in system context as you need admin privileges for that.
From my side I had to check for that but i did not get direct solution for enabling .net 3.5
batch file should contain
---------------------------------------
@echo off
setlocal
for /f "tokens=4-5 delims=. " %%i in ('ver') do (set VERSION=%%i.%%j
set MAJ=%%i
set MIN=%%j
)
if "%MAJ%" == "6" if "%MIN%" geq "2" goto InstallDotNet3
if "%MAJ%" geq "7" goto InstallDotNet3
goto Exit
:InstallDotNet3
echo "Enabling DOT NET 3.5 framework"
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
:Exit
endlocal
-------------------------------------------------
And run that custom action in differed in system context as you need admin privileges for that.
From my side I had to check for that but i did not get direct solution for enabling .net 3.5