Skip to Main Content
Patch My PC Feature and Application Request

A community where customers and the community can provide feedback to make a better product for everyone! For more details on how we prioritize request, please see:

1 VOTE
Status SUBMITTED
Created by Joe Hegyi
Created on Jan 5, 2024

Option to define $app* variables based on EXE/MSI properties

Allow the ability to set the $appVendor, $appName, $appVersion, $installtitle, $installname, and log file naming variables based on properties of the EXE or MSI installers. I can get the information from the files themselves, but must do so prior to the AppDeployToolkitMain.ps1 script being loaded or they cannot be used when naming the log files.

I've also noticed that even if I define the above variables prior to AppDeployToolkitMain.ps1 being loaded, they get overwritten.

  • Attach files
  • Admin
    Dan Gough
    Reply
    |
    Apr 9, 2024

    If you leave the $appName blank, it will pull the information from the MSI in the Files folder, and also auto-install it unless you comment out or remove the Zero-Config code blocks in Deploy-Application.ps1.

    As far as I know, it does not support this for EXEs however.