We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

get the installer version of Visual Studio setup project

Marcelo Camarate
on
Medium Priority
277 Views
Last Modified: 2012-05-11
Hi,

I use Visual Basic 2005 (ASP.NET) to develop my web applications. To install them, I do setup projects with the version property set to the software version. This is the version that appears in the list of "Control Panel / Programs and Features".

Is there any way to get this information in runtime for show it to the user?

Thanks in advance, Marcelo Camarate
Comment
Watch Question

Hi there,

I'd do it pragmatically and simply store the software version in your software.
You could use the version property during the buld time as far as I know.

--TheDoctor
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014

Commented:

Author

Commented:
Hi DocSeltsam, Thanks for your reply.

If I follow your sugestion, I have to be changing the software version in the project properties, right?

But that's exactly what I want to avoid. I already have to change the Version property in the Setup Project every new version. Would have to keep reminding myself to change it elsewhere, increasing the chances of error. That's why I'm trying to use the Version property of the Setup Project.


Hi CodeCruiser, Thanks for your reply.

I develop my web applications in ASP.NET / VB.NET 2005 and don't have ProductVersion in the Page.Application property.

Regards, Marcelo Camarate

Your sugestion
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014

Commented:
Are you deploying the website using a Windows Installer?
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014

Commented:

Author

Commented:
Hi CodeCruiser,

Sorry for reply only now but I was doing other things more urgent.

Your suggestion does not solve my problem. The only thing that I want is to get the number that is put in the version property of the Setup project, like below:

Regards, Camarate
 Version Property example

Author

Commented:
Hi everyone,

Can anyone help me in this challenge?

Thanks in advance, Marcelo Camarate

Author

Commented:
Hi everyone,

I keep waiting for some response. There is no workaround for this?

Regards, Marcelo Camarate
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Is in my last answer.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.