Hello,
In order to get the installation package version you can use the
ProductVersion property. Regarding the build time of an installation package, there is no predefined support for accessing this information.
However, in order to achieve what you want you can create your own custom code (an EXE, VBS, BAT file, etc) which receives the "ProductVersion" property as a parameter and write the current system date and the "ProductVersion" value in a text file placed in your build output location and, then add the custom EXE as a
new post-build event in your project. Then, after the text file is created by your post-build event next to the built installation package you can use the approach exposed in our
"Install a user specific file" article in order to deploy at install time the text file on Desktop or Application Folder directory.
If you have any questions let us know.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging