How to display version of my compiled app

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
MarkMelanson
Posts: 4
Last visit: Thu Feb 24, 2022 6:04 am

How to display version of my compiled app

Post by MarkMelanson »

Is there a built-in variable that I can use?
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: How to display version of my compiled app

Post by jvierra »

Use the PowerShell application to get the version:

[System.Windows.Forms.Application]::ProductVersion

Also note that the exe is not a "compiled" app by the normal usage of "compiled" in a computer environment. It is just a "packaged" script. It is still a script that is being executed as a script that is stored inside accustom EXE wrapper.

The Sapien "Packager" (PsBuild.exe) adjusts and adds support to the shell for various types of packages.
This topic is 6 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked