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

Flexapp Configuration Update

MrSmith
MrSmith ✭✭✭
edited December 2021 in FlexApp Automation

This Module looks at the ProfileUnity Application inventory and compares it to your configuration looking for newer version in the inventory to update in your configuration.

  • 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 UpdateDIAinConfigV2.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"


This can be used with the same CSV you made for the Chocolatey AutoUpdate Modules. it just uses the name field

  • Edit the CSV with the applications you would like to package
  • UpdateExample:Name,Size,Installer,InstallerArgs
  • 7zip,20480,C:\windows\system32\cmd.exe,/c choco install 7zip --silent
  • import the UpdateDIAinConfigV2.0.psm1
    • import-module UpdateDIAinConfigV2.0.psm1
  • Run the following command: update-ConfigFlexapps -jobfile "C:\Users\administrator\Desktop\Automation\test.csv" -configname "Pro2020 Build"