Installing Box Tools via Intune Application

New post

コメント

1件のコメント

  • WS Admin

    Very reassuring to find months old posts with no answers.

    https://support.box.com/hc/en-us/articles/360043695834-Large-Scale-Deployments-Box-Tools

    Get the Admin installer and package it into into a .intunewin file and upload as win32app

    https://e3.boxcdn.net/box-installers/boxedit/win/currentrelease/BoxToolsInstaller-AdminInstall.msi 

     

    Install command:
    msiexec /i "BoxToolsInstaller-AdminInstall.msi" /qn /norestart

    Uninstall command:
    msiexec /x "BoxToolsInstaller-AdminInstall.msi" /qn /norestart

     

     

    For detection I just did a script:

    $AppName = "Box Tools"
    $App = (get-package -name $AppName -erroraction silentlycontinue)

    ## Version check:
    # This variable should be updated to match the build being deployed.
    $minver = [Version]"4.29.0.1189"
    $AppVer = [Version]$App.Version

    if ($App){
        write-host "$AppName Installed"
        if ($AppVer -lt $minver) {
            ## Old version
            exit 1618;
        } else {
            ## Version is up to date
            exit 0;
        }

    } else {
        ## App Not Found
        exit 1618;
    }

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。