Groups | Blog | Home
all groups > visual studio .net setup > may 2004 >

visual studio .net setup : Trying to get the deployment version programmatically



Theresa
5/21/2004 3:16:10 AM
The version number (and the other deployment attributes, such as program path) you specify in the Deployment Project Properties - how do I reach it programmatically? I want to display it in the software

Thanks! :

Phil Wilson
5/21/2004 7:40:47 AM
Most of that can be obtained by calling MsiGetProductInfo. If you know a
component GUID of something installed into the main application folder, you
can use MsiGetComponentPath to get the program path.
--
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]
path) you specify in the Deployment Project Properties - how do I reach it
programmatically? I want to display it in the software.
[quoted text, click to view]

AddThis Social Bookmark Button