Link to home
Start Free TrialLog in
Avatar of Marcelo Camarate
Marcelo Camarate

asked on

get the installer version of Visual Studio setup project

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
Avatar of DocSeltsam
DocSeltsam
Flag of Germany image

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
Avatar of Nasir Razzaq
Avatar of Marcelo Camarate
Marcelo Camarate

ASKER

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
Are you deploying the website using a Windows Installer?
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
 User generated image
Hi everyone,

Can anyone help me in this challenge?

Thanks in advance, Marcelo Camarate
Hi everyone,

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

Regards, Marcelo Camarate
ASKER CERTIFIED SOLUTION
Avatar of Marcelo Camarate
Marcelo Camarate

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is in my last answer.