473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

I would like to get the Version from the Deployment Project Properties

I was given a solution that creates an MSI file for our application. I would like to modify the Installer.cs code to output the Version number from the Deployment Project Properties to a log file during the running of our installer.

The Version number I'm talking about is initially set to 0.0.1 and when incremented it asks you to change the ProductCode also.

Is it possible to access the Version number from the C# installer code.

Thanks.
Dave
Mar 8 '12 #1
2 2197
michaeldebruin
134 100+
Although I can't remember how, it know it is possible to access the version number using C#. But if you want to use an auto increase on the version number. This can be done within visual studio. Just go to project --> properties --> publish and check the auto increase under the version number.
Mar 9 '12 #2
Thanks. I'm still looking myself. Not sure about the auto increase, I'll have to see if it's something we want to do.
Mar 9 '12 #3

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

Similar topics

1
by: RK | last post by:
Hi I am having this problem with my deployment project. 'Another version of this product is already installed. Installtion of this version cannot continue. Configure or remove existing version...
5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
0
by: Bob Curry | last post by:
I have a pretty simple project (C++) which I'm trying to deploy using a VS.NET deployment project. The problem I'm having is that when the deployment project is executing, it finds a previous...
4
by: evan | last post by:
Hi, Does anyone know how to access (at runtime) the "Version" parameter of the deployment project? I need to be able to display the "Version" of the deployment project in an 'About' box. ...
4
by: Tim Marsden | last post by:
Hi, I have written an App in vb.Net (2003) which references Excel 2000. This creates a Interop_Excel.dll which I need to reference in my project. All OK so far. I had to modify the...
10
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
In a web deployment project I want to encrypt the connection strings. I use to do this with a batch file with something like this. aspnet_regiis.exe -pef "connectionStrings" ..\ -prov...
3
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
I have an asp.net project with an WebDeployment Project. At the end of the msbuild file I put: <Target Name="AfterBuild"> <Exec WorkingDirectory="$(OutputPath)"...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
0
by: dfrench | last post by:
I have a visual studio 2008 solution(win forms) I have a Deployment project with it to install the software I upgrade the version number on the deployment project and build it When I run this on...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.