Another way is to call the MsiGetProductInfo function. Pass the product code
GUID as the first parameter (including the surrounding braces). Pass the
string "VersionString" for the second parameter.
Jim
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of V K Gangwar
Sent: Wednesday, September 26, 2007 10:24 PM
To: John Lalande; wix-users@lists.sourceforge.net
Subject: [WiX-users] Is there any way to find out version of your .MSI file
(installed)
Sorry,
I think i didn't mention my question properly.
Actually I wanted to know the version number of an already installed
package.
Thanks!!
Veerendra
John Lalande <[EMAIL PROTECTED]> wrote:
Veerendra
You could use Orca to open the MSI and look at the ProductVersion property
in the Properties table.
But I find it easier to author my packages so that the version is in the
Explorer tool tip for the MSI file.
The way I do this is to put the version in the Comments attribute of the
Package tag.
So that I don't have to update the comment every time I make a new version,
I simply use the same pre-processor variable definition that I use elsewhere
in my WiX source such as the Version attribute of the Product tag and the
Upgrade entries.
John
Date: Wed, 26 Sep 2007 07:28:48 -0700 (PDT)
From: V K Gangwar <[EMAIL PROTECTED]>
Subject: [WiX-users] Is there any way to find out version of your .MSI
file
To: wix-users@lists.sourceforge.net
Message-ID: < <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
Hello,
Is there any method to find out the version number (major.minor.build) of
our msi package.
Thanks in advance.
Regards,
Veerendra
_____
Be a better Heartthrob. Get
<http://us.rd.yahoo.com/evt=48255/*http:/answers.yahoo.com/dir/_ylc=X3oDMTI5
MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNs
awNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433> better
relationship answers from someone who knows.
Yahoo! Answers - Check it out.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users