microsoftconnect / intune-app-wrapping-tool-android

Use the Intune App Wrapping Tool for Android to enable Android apps to be managed by Microsoft Intune
29 stars 11 forks source link

InstallAWT.exe silently/unattended #45

Open arpalmares opened 3 years ago

arpalmares commented 3 years ago

We are using Azure DevOps to create a CI/CD pipeline for our mobile build. We were able to successfully integrate the latest wrapping tool in the iOS pipeline but struggling to get the latest tool to be used in android.

This is just to ensure that our builds are always using the latest wrapping tool. In installing the wrapper for android, we are unable to install the exe file silently or unattended mode because of the dialog boxes that needs to be accepted.

Is this possible to run in a PowerShell script? I tried variations and could not find any help for the parameters that the exe file accepts.

InstallAWT.exe /silent InstallAWT.exe /unattended InstallAWT.exe /? InstallAWT.exe /help

Nathan187 commented 3 years ago

did you ever get an answer to this?

glucaci commented 3 years ago

@aanavath @meghandaly @msintuneappsdk there is any plan to support command line setup?

Heimo001 commented 3 years ago

Install it on your computer, zip "\Program Files (x86)\Microsoft Intune Mobile Application Management\" and upload the zip to any artifact storage.

Download and extract the zip to your agents "Program Files (x86)" directory.

iamrakesh commented 3 years ago

We too did it same way as explained by @Heimo001

E-N-G-XOR commented 9 months ago

Use a docker image... works great! you just need to install java and the tools and you are set... You can bypass the annoying setup installation with an archiving program like winrar... Just change the exe file to a zip extension and extract with zip program..... You will have to do it twice....

download from git C:\git-master\intune-app-wrapping-tool-android-master\InstallAWT.exe extract exe file C:\unpack-1\InstallAWT.exe extract exe file 'C:\unpack-2\InstallAWTCore.exe copy lib, and psm1 files to programs folder or where ever you want and you are all set... import the module invoke cmd....

d2callpod commented 8 months ago

@Heimo001 solution works for me as well. But it's not ideal.

The wrapper should support this. It's something that is highly likely to be used with CI.