How can I generate a MSI package name according to its version?
-
12-09-2019 - |
Question
In a Visual Studio setup project, is there a way to generate automaticaly the MSI fileName according to the current application version number?
Solution
Are you able to fire post-build code when your .MSI is built? If so, you can use File.IO to rename the file and use something like:
System.Deployment.Application.ApplicationDeployment.CurrentDeployment.CurrentVersion
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow