Jeff

I set the name and version information in the Description field of the Package 
definition (as well as the version of the Product).   This becomes part of the 
SummaryInfo.

This is available through the file properties of the final MSI - ie right click 
on the MSI, select Properties and go to the details tab.  

Example

        <Product Id="{4E2AD5FF-23F5-0107-0001-000D566C6167}" 
                        UpgradeCode="4E2AD5FF-23F5-0000-0000-001143F0301B" 
Name="Service4" Language="1033"                                                 
             Version="$(env.projectVersion).$(env.BUILD)" 
Manufacturer="Baytech">
        <Package Id="????????-????-????-????-????????????" 
                Description="Bay Technologies, Service4, Version:       
$(env.projectVersion).$(env.BUILD) " 
                Comments="This installer database contains the logic and data 
required to install or update Service4" 
                Manufacturer="Bay Technologies Pty. Ltd." 
                InstallerVersion="200" Compressed="yes"/>

Michael

-----Original Message-----
From: s...@pacaccess.com [mailto:s...@pacaccess.com] 
Sent: Tuesday, 16 March 2010 12:27 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Is it possible to add a version umber to the built MSI?

I'd like to add the build number somewhere within the properties of the
MSI which is generated, so I can easily tell the version of my product
which will be installed.  I've set:
        <Product ... Version="1.2.3.4" ...>
...but this seems to only set the version the system's Add/Remove programs
sees. (When I get properties on my MSI, it doesn't display "1.2.3.4"
anywhere)

I came across this posting:
http://blog.tentaclesoftware.com/archive/2009/05/03/38.aspx
...but this is to change the name of the MSI and have the name of the MSI
include the build number.  I wish to keep the name the same so that
solution won't work for me.  What I'd like to do is have the version
number embedded within it so when one gets the properties on it, the
version number is displayed.  Is this possible?

Thanks,

Jeff



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to