0

I need to extract the product version from a binary in .NET. This works with the actual binary. However, when a chocolatey shim is referenced, then I only get the product version of the shim. Is there a way to programmatically read the path to the binary from the shim?

PSt
  • 15
  • 5

1 Answers1

0

I found it myself - calling the shim with the parameter --shimgen-help will also ouptut the target path.

PSt
  • 15
  • 5