How can I create an MSI package name according to its version?

In a Visual Studio installation project, is there a way to automatically generate the MSI file name according to the current version number of the application?

+3
source share
1 answer

Can you run post build code when creating .MSI? If so, you can use File.IO to rename the file and use something like:

System.Deployment.Application.ApplicationDeployment.CurrentDeployment.CurrentVersion
+1
source

Source: https://habr.com/ru/post/1714608/


All Articles