Welcome to the Liquidware Community Site.
Current and Future Clients/Partners are Welcome.

Flexapp Automation Using Chocolatey

MrSmith ✭✭✭
edited November 2021 in FlexApp Automation


  • Install and setup your Flexapp Automation infrastructure.
  • Install the Chocolatey Agent into the FPA agent systems
  • Edit the MakeSecurePasswordFile.ps1 and change the output paths
    • $credentialFilePath = "C:\Users\administrator\Desktop\Automation\password.txt"
      • $AESKeyFilePath = "C:\Users\administrator\Desktop\Automation\aeskey.txt"
  • Edit UpdateBatchWChoco2.0.psm1
    • [string]$global:servername= "proserver"
  • Create a password and AES file by running MakeSecurePasswordFile.ps1
    • $user = "administrator"
      • $passwordFileLocation = "C:\Users\administrator\Desktop\Automation\password.txt"
    • $AESKeyFilePath = "C:\Users\administrator\Desktop\Automation\aeskey.txt"

  • Edit the CSV with the Chocolatey applications you would like to package/Update
    • Example:
      • Name,Size,Installer,InstallerArgs
      • 7zip,20480,C:\windows\system32\cmd.exe,/c choco install 7zip --silent
  • import the UpdateBatchWChoco2.0.psm1
    • import-module UpdateBatchWChoco2.0.psm1
  • Run the following command:
    • update-FPABatchJob -jobfile "C:\Users\administrator\Desktop\Automation\test.csv" -argfile "C:\Users\administrator\Desktop\argfileDemo.json" -server "https://proserver:9075"


  • MrSmith
    MrSmith ✭✭✭
    edited January 26

    Update to the Update Script

    Changed how the inventory is listed now looks for latest version of application VS first one found. (function in place in till 6.8.5 released)

    Changed the colors around a little Black on Red changed to Yellow on Red

  • MrSmith
    MrSmith ✭✭✭

    Updated 5/9/22

    Fixed versioning in the naming structure it is now a proper it will also reformat odd version numbers to a standard version form. (IE. no more, it will be this might require some apps to be repacked if they have "illegal" version numbers.