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"


Comments

  • MrSmith
    MrSmith ✭✭✭

    5/9/22

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