SOLVED
Home

Installing application that requires .NET 3.5 Framework on Windows 10 devices

%3CLINGO-SUB%20id%3D%22lingo-sub-298008%22%20slang%3D%22en-US%22%3EInstalling%20application%20that%20requires%20.NET%203.5%20Framework%20on%20Windows%2010%20devices%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-298008%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20win32%20application%20that%20requires%20.net%203.5%20framework.%20I%20am%20unable%20to%20figure%20out%20how%20to%20deploy%20this%20application%20using%20intune.%20I%20am%20encountering%20the%20following%20issue%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20first%20command%20in%20my%20script%20enables%20.net%203.5%20in%20the%20Windows%2010%20device%2C%20but%20then%20it%20requires%20a%20restart%2C%20without%20which%20the%20second%20line%20won't%20execute.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3Estart%20%2Fwait%20DISM%20%2FOnline%20%2FEnable-Feature%20%2FFeatureName%3ANetFx3%20%2FAll%3C%2FP%3E%3CP%3Ewscript%26nbsp%3Binstall.vbs%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20I%20solve%20such%20dependency%20issues%20using%20intune%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-298008%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Device%20Management%20(MDM)%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESoftware%20Management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-334923%22%20slang%3D%22en-US%22%3ERe%3A%20Installing%20application%20that%20requires%20.NET%203.5%20Framework%20on%20Windows%2010%20devices%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-334923%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20able%20to%20solve%20this%20by%20using%20PowerShell%20workflows%2C%20the%20script%20enables%20.netfx3%2C%20reboots%20the%20computers%20and%20resumes%20installing%20the%20application.%20I%20have%20to%20register%20the%20application%20for%20intune%20to%20detect%20it.%20The%20only%20issue%20is%20that%20intune%20see%20this%20as%20a%20failed%20installation%20-%20some%20more%20housekeeping%20scripts%20can%20fix%20this.%20I%20hope%20this%20will%20be%20fixed%20in%20intune.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-334332%22%20slang%3D%22en-US%22%3ERe%3A%20Installing%20application%20that%20requires%20.NET%203.5%20Framework%20on%20Windows%2010%20devices%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-334332%22%20slang%3D%22en-US%22%3E%3CP%3ECreate%20a%20script%3A%3C%2FP%3E%3CP%3E1)%20install%20.net%3C%2FP%3E%3CP%3E2)%20add%20scheduled%20task%20to%20install%20app%20afret%20reboot%3C%2FP%3E%3CP%3E3)%20reboot%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
rajeshkhanikar
Occasional Contributor

I have a win32 application that requires .net 3.5 framework. I am unable to figure out how to deploy this application using intune. I am encountering the following issue:

 

The first command in my script enables .net 3.5 in the Windows 10 device, but then it requires a restart, without which the second line won't execute.

 

start /wait DISM /Online /Enable-Feature /FeatureName:NetFx3 /All

wscript install.vbs

 

How do I solve such dependency issues using intune?

2 Replies

Create a script:

1) install .net

2) add scheduled task to install app afret reboot

3) reboot

Solution

I am able to solve this by using PowerShell workflows, the script enables .netfx3, reboots the computers and resumes installing the application. I have to register the application for intune to detect it. The only issue is that intune see this as a failed installation - some more housekeeping scripts can fix this. I hope this will be fixed in intune.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies