AutoElevate Deploy

ChrisA_NIM Member Posts: 2
edited December 4 in Scripts

Anyone have a working script to deploy the AE agent via Atera.? I've been working on the syntax unsuccessfully. The installer is an MSI only.



  • tanderson
    tanderson Member Posts: 136 ✭✭✭

    @ChrisA_NIM Here is an example of what the installation command might look like (assuming the AESetup.msi file is located in the “C:\Downloads” folder) for a silent unattended installation and to make a log file called AEInstallLog:

    msiexec /i C:\Downloads\AESetup.msi /quiet /lv AEInstallLog.log LICENSE_KEY="123456789ABCDEFGYOURLICENSEKEYHERE" COMPANY_NAME="Contoso, Inc." COMPANY_INITIALS="CI" LOCATION_NAME="Main Office" AGENT_MODE="live"

    You can create a download script like this using Onedrive or SharePoint, for example:

    $url = "" # Replace with your URL
    $output = "C:\path\to\" # Replace with your desired file path

    Invoke-WebRequest -Uri $url -OutFile $output

    You can make your own file location with this script if you want:

    New-Item "C:NameOfFolder" -Type Directory

  • tanderson
    tanderson Member Posts: 136 ✭✭✭

    @ChrisA_NIM If you want your own location run that script first. Then run the download script. Then the install.

  • ChrisA_NIM
    ChrisA_NIM Member Posts: 2

    Thanks. My issues is I can upload the msi via atera "upload script" with arguments and it will auto run the msiexec command but it's not executing correctly. I only have this issue with MSI files, exe files execute flawlessly via atera upload script (SentinelOne CyberCNS, etc) . So I'm looking having to create a download repository to download from like your SharePoint example but I really don't want and unsecured download source with my agents. Otherwise I'm going to have to upload the msi to every device manually.

    I currently do this with my Axcient msi's where I have to download the agent to a common location then run the per customer script to install just like your example msiexec /i C:\Downloads\AESetup.msi /quiet /lv AEInstallLog.log

  • kim
    kim Member Posts: 109 ✭✭✭

    Hi @ChrisA_NIM, would chocolatey help in this instance? I haven't had to use it before because most of my stuff are exe files, but I completely agree with you that posting it to an unsecured location poses a lot of security risks.