Giter Club home page Giter Club logo

win32intunewebapp's Introduction

IntuneWinAppUtil

Packaged to IntuneWin with the Microsoft Win32 Content Prep Tool: https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool

Package command used: IntuneWinAppUtil.exe -c '.\Source' -s '.\Source\Add-WebApp.ps1' -o '.\Package'

Example Win32 App Configuration

Install command: PowerShell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -File "Add-WebApp.ps1" -ShortcutName "MyApps" -ShortcutUrl "https://myapps.microsoft.com" -ShortcutIconUrl "https://myintuneiconstorage.blob.core.windows.net/icons/microsoft-myapps.ico" -ShortcutInStartMenu "true" -ShortcutOnDesktop "true" -ShortcutInStartup "false"

Uninstall command: PowerShell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -File "Remove-WebApp.ps1" -ShortcutName "MyApps"

App can run either in System (for all users) or User (current user only) context.

Detection rules

Depending on how you deploy the shortcut you can create one or more detection rules.


NOTE

The .ico file used in the detection rules is always downloaded as $ShortcutName.ico


Detection when running in System context

Rules format: Manually configure detection rules

If a ShortcutIconUrl was provided

Rule type: File
Path: %PROGRAMDATA%\Icons
File: My Apps.ico
Detection method: File or folder exists

If ShortcutOnDesktop is set to $true

Rule type: File
Path: %PUBLIC%\Desktop
File: My Apps.lnk
Detection method: File or folder exists

If ShortcutInStartMenu is set to $true

Rule type: File
Path: %PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs
File: My Apps.lnk
Detection method: File or folder exists

If ShortCutInStartup is set to $true

Rule type: File
Path: %PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Startup
File: My Apps.lnk
Detection method: File or folder exists

Detection when running in User context

Rules format: Manually configure detection rules

If a ShortcutIconUrl was provided

Rule type: File
Path: %APPDATA%\Icons
File: My Apps.ico
Detection method: File or folder exists

If ShortcutOnDesktop is set to $true and using OneDrive Known Folder Move

Rule type: File
Path: %ONEDRIVE%\Desktop
File: My Apps.lnk
Detection method: File or folder exists

If ShortcutOnDesktop is set to $true and not using OneDrive Known Folder Move

Rule type: File
Path: %USERPROFILE%\Desktop
File: My Apps.lnk
Detection method: File or folder exists

If ShortcutInStartMenu is set to $true

Rule type: File
Path: %APPDATA%\Microsoft\Windows\Start Menu\Programs
File: My Apps.lnk
Detection method: File or folder exists

If ShortCutInStartup is set to $true

Rule type: File
Path: %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
File: My Apps.lnk
Detection method: File or folder exists

win32intunewebapp's People

Contributors

jseerden avatar

Stargazers

James Kasparek avatar Zerneo avatar  avatar Nevenko avatar Daniel avatar Aaron Anderson avatar

Watchers

 avatar

Forkers

morno

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.