How to insert a file version into an MSI file using Visual Studio?

I have an installation project for my C # program, and this installation project has a version in its properties. I would like the MSI file that was generated to include this Version in it, so I can hover over it in Explorer and see what version of this file is.

I am using VS2008. How can i do this?

+2
source share
5 answers

If you simply add the text “Version: 1.5.0” to the “Description” property of the installation project, the version number is also displayed in the MSI file as follows:

http://screencast.com/t/A499i6jS

+6
source

, , . , MSI , . , MSI, Orca ProductVersion ( ).

+1

, MSI . , MSI PE , . Msiexec.exe . , , MSI , .. .

+1

.vdproj . "", "ProductVersion" "".

 "Product"
    {
    "Name" = "8:Microsoft Visual Studio"
    "ProductName" = "8:tidAxCleanupScript"
    "ProductCode" = "8:{0949AAAD-2C29-415E-851C-825C74C9CA81}"
    "PackageCode" = "8:{8F012EF1-D5D0-43DC-BBFD-761A639DDB07}"
    "UpgradeCode" = "8:{38DE1949-0782-4EF3-BDC2-080EB5B73EF8}"
    "RestartWWWService" = "11:FALSE"
    "RemovePreviousVersions" = "11:TRUE"
    "DetectNewerInstalledVersion" = "11:TRUE"
    "InstallAllUsers" = "11:FALSE"
    "ProductVersion" = "8:**1.5.0**"
    "Manufacturer" = "8:**Default Company Name**"
    "ARPHELPTELEPHONE" = "8:"
+1

, , msi AssemblyInfo ?

0

All Articles