SOLVED

Intune - Win32 - Interactive Deployment

%3CLINGO-SUB%20id%3D%22lingo-sub-1104951%22%20slang%3D%22de-DE%22%3EIntune%20-%20Win32%20-%20Interactive%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104951%22%20slang%3D%22de-DE%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3Ein%20our%20Company%2C%20we%20got%20Intune.%3C%2FP%3E%3CP%3EWe%20use%20the%20PSADT%20(PowershellAppDeploymendToolkit)%20to%20install%20Software.%3C%2FP%3E%3CP%3ENow%20we%20have%20the%20problem%2C%20that%20Intune%20is%20installing%20in%20Non-Interactive%20Mode.%20The%20User%20don't%20see%20if%20an%20Update%2FInstallation%20is%20in%20progress.%3C%2FP%3E%3CP%3ESo%20i%20tried%20like%20this%20example%3A%20%3CA%20href%3D%22https%3A%2F%2Fsvdbusse.github.io%2FSemiAnnualChat%2F2019%2F09%2F14%2FUser-Interactive-Win32-Intune-App-Deployment-with-PSAppDeployToolkit.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fsvdbusse.github.io%2FSemiAnnualChat%2F2019%2F09%2F14%2FUser-Interactive-Win32-Intune-App-Deployment-with-PSAppDeployToolkit.html%3C%2FA%3E%3C%2FP%3E%3CP%3EBut%20The%20Software%20is%20still%20starting%20installing%20in%20Non-Interactive%20Mode.%20When%20i%20locally%20install%20over%20powershell%2C%20with%20the%20same%20command%20its%20working.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20got%20any%20idea%2C%20how%20can%20we%20realize%20an%20Interactive%20Install%20Mode%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20Regards%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPhil%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1104951%22%20slang%3D%22de-DE%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowershellAppDeploymendToolkit%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPSADT%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESoftware%20Management%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ew32%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1104974%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20-%20Win32%20-%20Interactive%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104974%22%20slang%3D%22en-US%22%3EHi%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20done%20it%20in%20the%20past%20%26amp%3B%20blogged%20about%20it.%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20take%20a%20look%20at%20this%3F%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2F365bythijs.be%2F2019%2F09%2F19%2Finstalling-visio-onto-an-existing-office-installation-with-psadt-and-intune%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2F365bythijs.be%2F2019%2F09%2F19%2Finstalling-visio-onto-an-existing-office-installation-with-psadt-and-intune%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1119930%22%20slang%3D%22de-DE%22%3ERe%3A%20Intune%20-%20Win32%20-%20Interactive%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1119930%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F186539%22%20target%3D%22_blank%22%3E%40Thijs%20Lecomte%3C%2FA%3E%3C%2FP%3E%3CP%3EThank%20you%2C%20thats%20the%20Solution%20and%20a%20very%20good%20documentary%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3EThanks%20a%20lot.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1120629%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20-%20Win32%20-%20Interactive%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1120629%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20about%20using%20.bat%20script%20to%20customize%20the%20switches%20%3F%20i%20have%20used%20bat%20script%20with%20command%20like%20setup.exe%20%2Fpassive%20or%20setup.exe%20%2F%20active%20etc%26nbsp%3B%20and%20it%20seems%20to%20fulfill%20our%20requirement.%20But%20still%20PowerShell%20is%20the%20best%20option%20available%20there.%20But%20which%20is%20the%20best%20Practice%20for%20customization%20%3F%20PS%20or%20bat%20Script%20%3F%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F516442%22%20target%3D%22_blank%22%3E%40MrMueller%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1120728%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20-%20Win32%20-%20Interactive%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1120728%22%20slang%3D%22en-US%22%3EI%20prefer%20to%20not%20use%20a%20bit%20file%20and%20configure%20the%20switches%20in%20INtune%2C%20that%20way%20you%20can%20easily%20change%20them.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1120858%22%20slang%3D%22de-DE%22%3ERe%3A%20Intune%20-%20Win32%20-%20Interactive%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1120858%22%20slang%3D%22de-DE%22%3EHi%2C%3CBR%20%2F%3EIn%20use%20a%20Script%2C%20which%20is%20detecting%20if%20a%20software%20is%20open%20or%20not.%20If%20it%20opened%20the%20installation%20will%20be%20nonSilent.%20If%20the%20program%20closed%20(no%20user%20using%20it)%20it%20will%20be%20installed%20silent.%20%3CBR%20%2F%3EIn%20Intune%20i%20use%20the%20powershell.exe%20-executionpolicy%20bypass%20-file%3CBR%20%2F%3E%3CBR%20%2F%3E%22.%2Fdetection.ps1%22%20This%20is%20working%20fine%20for%20us.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1305470%22%20slang%3D%22en-US%22%3ERe%3A%20Intune%20-%20Win32%20-%20Interactive%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1305470%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20that%20the%20%22best%22%20we%20got%20to%20do%20interactive%20installs%3F%3C%2FP%3E%3CP%3EBelive%20me%2C%20I%20would%20love%20everything%20to%20be%20silent%20and%20just%20work.%3C%2FP%3E%3CP%3EBut%20(especially%20in%20education)%20one%20will%20get%20quite%20few%20random%20install%20that%20are%20either%20totally%20NON-silent%2C%20or%20half-baked%20semi-silent%3C%2FP%3E%3CP%3EThere%20is%20nothing%20I%20can%20do%20with%20them%2C%20but%20run%20in%20System%20context%2C%20but%20allow%20user%20interaction%20(so%20the%20prompts%20can%20be%20followed)%3C%2FP%3E%3CP%3EWith%20SCCM%20is%20was%20so%20easy...%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,

in our Company, we got Intune.

We use the PSADT (PowershellAppDeploymendToolkit) to install Software.

Now we have the problem, that Intune is installing in Non-Interactive Mode. The User don´t see if a Update/Installation is in progress.

So i tried like this example: https://svdbusse.github.io/SemiAnnualChat/2019/09/14/User-Interactive-Win32-Intune-App-Deployment-wi...

But The Software is still starting installing in Non-Interactive Mode. When i locally install over powershell, with the same command its working.

 

You got any idea, how we can realise a Interactive Install Mode?

 

Best Regards

 

Phil

6 Replies
best response confirmed by MrMueller (New Contributor)
Solution
Hi

I have done it in the past & blogged about it.

Could you take a look at this?
https://365bythijs.be/2019/09/19/installing-visio-onto-an-existing-office-installation-with-psadt-an...

@Thijs Lecomte

Thank you, thats the Solution and a very good dokumentation :)

Thanks a lot.

 

 

 

How about using .bat script to customize the switches ? i have used bat script with command like setup.exe /passive or setup.exe / active etc  and it seems to fulfill our requirement. But still PowerShell is the best option available there. But which is the best Practice for customization ? PS or bat Script ?@MrMueller 

I prefer to not use a bit file and configure the switches in INtune, that way you can easily change them.
Hi,
In use a Script, which is detecting if a Software is open or not. If it opened the installation will be nonSilent. If the Program closed (no user using it) it will be installed silent.
In Intune i use the powershell.exe -executionpolicy bypass -file „./detection.ps1“

This is working fine for us.

Is that the "best" we got to do interactive installs?

Belive me, I would love everything to be silent and just work.

But (especially in education) one will get quite few random install that are either totally NON-silent, or half-baked semi-silent

There is nothing I can do with them, but run in System context, but allow user interaction (so the prompts can be followed)

With SCCM is was so easy...