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
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
Try the
Application.ProductVersion
http://msdn.microsoft.com/en-us/library/system.windows.forms.application.productversion.aspx
Application.ProductVersion
http://msdn.microsoft.com/en-us/library/system.windows.forms.application.productversion.aspx
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
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?
ASKER
ASKER
Hi everyone,
Can anyone help me in this challenge?
Thanks in advance, Marcelo Camarate
Can anyone help me in this challenge?
Thanks in advance, Marcelo Camarate
ASKER
Hi everyone,
I keep waiting for some response. There is no workaround for this?
Regards, Marcelo Camarate
I keep waiting for some response. There is no workaround for this?
Regards, Marcelo Camarate
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Is in my last answer.
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