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:

3 VOTE
Status SUBMITTED
Created by Guest
Created on Jan 11, 2024

Variables for Custom Command Line

Similar to how variable support was added for post\pre-(un)install

Please add these variables to custom command line as well


For example, we have several apps and would like more control over the install location. Especially for supporting multiple versions of the app installed. The installer will write registry keys, to the path, and make icons and source folders. We can't reliably move these after install. Yet we can use /dir or /d to move this path yet can't add the version to this as this changes per release and will allow for only one version of app installed at a atime.

  • Attach files
  • Guest
    Reply
    |
    Jan 11, 2024

    I tried using a script to get content of the package.xml and edit the line containing the install command to swap out with version number

    Yet the pre script runs from the xml so would have needed to essentially run the installer twice for desired effect


    Was given recommendation by a support member to have a post-install uninstall the app, then reinstall using desired paths. Going to do this for now, yet having the app install itself twice feel excessive.



    Thank you

  • +2