Accessing Win32 App metadata from detect/prereq/program scripts

Copper Contributor

I have been trying to standardize some workflows w Intune Win32 apps. Reusing components would be ideal, but how you inject the specific context into an instance of a win32 app is where i am researching.

 

For Detect and Requirement scripts those execute before the intunewin is downloaded or extracted so including a psd1 might work for the Program phase, but can't help the others. Arguments are also more of a Program phase thing and not really supported w Detection and Pre-req phase.

 

One thing I was wondering though was if agentexecutor set any process environment variables available in the Intune App itself. Basically is any of the content in the App Information page available to scripts running in detect, requirement, and program phases?

0 Replies