Automating AYON Launcher Installation on User Machines Using the Command Line

Hello,

Is there a way to install AYON using a command line or Python script?

We’re deploying AYON in our studio, and having a command-line installation process would simplify the deployment for the IT team, especially when setting it up on artists’ machines.

Regards,
Tu

The installer build for Windows is built using InnoSetup - so any of its default command line flags apply.

I personally use e.g.

AYON-1.1.1-dev.1-win-pyside2-setup.exe /NOCANCEL /ALLUSERS /VERYSILENT /SP /SUPPRESSMSGBOXES

And allow any of these as the success codes:

0,1641,3010,2359302

Install for current user only

To install for /CURRENTUSER instead of /ALLUSERS you can swap that flag around. For example:

ayon-launcher-1.1.1-win.exe /CURRENTUSER /VERYSILENT

Having AYON installed for the current user MAY alleviate headless automatic update issues in some cases where we need to ‘update’ internals of the launcher - that way the headless update does not need admin permissions to update the installation. However, this is only relevant for some updates - most should work fine (like deploying new addon versions/bundles) and require no admin permissions anyway.


This was also the case in OpenPype and came up on discord before and here and here. Just linking those for if you’re still stuck and may need to read up on what others may have been doing so far.

3 Likes

Hello @tanh,
Could you please update the post title? to make it easier to follow up and find it when searching the forums?

e.g.

  • Automate AYON Launcher installation on user machines
  • AYON server installation
1 Like