Skip to content

Conversation

@Trenly
Copy link
Contributor

@Trenly Trenly commented Oct 14, 2025

Sometimes the Manifest name is just too long. While I would love to be able to give users the ability to control the format directly using token replacement and all sorts of other cool stuff, that's a bit much for right now.

To help alleviate the issue, I've added a setting that controls how installer file names are generated. With this change, instead of being forced into the Package ID and version with timestamp, it is now possible to have the default installer log name be shorter. While this doesn't actually resolve the issue, it does make it possible to at least mitigate

  • Manifest - Default, matches current behavior
  • Timestamp - Includes just the timestamp as the installer log name
  • GUID - Creates a new GUID and uses that as the installer log name
  • ShortGuid - Creates a new GUID and uses the first 8 characters as the installer log name

Note that this only affects the installer log name, not the WinGet log name, and only for installers which support passing of the log name. This PR does not affect the behavior of --log <location>


Microsoft Reviewers: Open in CodeFlow

@github-actions

This comment has been minimized.

@Trenly Trenly marked this pull request as draft October 29, 2025 17:53
@Trenly Trenly force-pushed the LogName branch 2 times, most recently from e3e4014 to 81d76e6 Compare October 29, 2025 18:56
@Trenly Trenly marked this pull request as ready for review October 29, 2025 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant