468,121 Members | 1,473 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,121 developers. It's quick & easy.

programatically retrieve path of the Poject .msi file

I am developing an add-in. I need to retrieve the path of .msi file, located in under project properties, from the deployment project (setup).

I was able retieve all project properties of all projects (ex: output path of the dll) except Deployment project. I am using
"project.ConfigurationManager.ActiveConfiguration. Properties" and
"Project.Properties" for retrieving all information.

But I am stil could not able to retrieve the path of the .msi file. For some reason I could not retrieve "project.ConfigurationManager.ActiveConfiguration. Properties" of the deployment project. The application is throwing an error saying "Object reference not set to an instance of an object". I could not find .msi file path from the "project.properties" method.

Can some body please tell how I could retrieve the path of .msi file, programmatically, which I could see by selecting deployment project properties.
Aug 9 '07 #1
0 976

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Logan McKinley | last post: by
3 posts views Thread by =?Utf-8?B?UGF1bA==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.