473,322 Members | 1,188 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,322 software developers and data experts.

Upgrade Paths

hi all,

I need to find out whether an install was an upgrade or a
clean install. Is this possible?

e.g user has 4.2 they upgrade to 4.3
bool upgrade = true

or user installs new 4.3
bool upgrade = false
Nov 16 '05 #1
1 1189
Jonny,

What I would do is have the install program write a value to the
registry or a file where the last modified date is keyed to the version (or
something that tells you what the version is on install). Then, in the
program, you can check during upgrades or runtime by comparing the
originally installed version against the current version.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"jonny" <an*******@discussions.microsoft.com> wrote in message
news:17*****************************@phx.gbl...
hi all,

I need to find out whether an install was an upgrade or a
clean install. Is this possible?

e.g user has 4.2 they upgrade to 4.3
bool upgrade = true

or user installs new 4.3
bool upgrade = false

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Brian Henry | last post by:
Does anyone know if Microsoft is planning on offering an upgrade for VS.NET 2003 users? I remember in the past dev tools had upgrades, but I don't know if they plan on slashing that now or not...
8
by: nick | last post by:
I have a problem and I've been using a cheezy work around and was wondering if anyone else out there has a better solution. The problem: Let's say I have a web application appA. Locally, I set...
8
by: bill.postgresql-users | last post by:
I installed 7.4 from the FreeBSD ports collection (I'm running 4.9-RELEASE). Did nothing special, just make && make install and all was well. I now have updated my ports collection via cvsup and...
3
by: JeffDotNet | last post by:
I wrote a small data processing application that writes a summary of several hundred files. I use drag and drop on a panel (Panel1) to grab the absolute path to each of these files. Then I begin...
2
by: Terry On Windigo | last post by:
When I upgraded to Server 2003, I get this error now in my asp script which is saving a form to an asp database. Do I need to do something different now? I have used FP to design my forms, and to...
6
by: Jon Slaughter | last post by:
do I have to prefix every absolute path with document root to get it to work? For some reason I thought that prefixing a path with '/' or './' with make it absolute w.r.t to document root but I...
6
by: ARC | last post by:
I'm almost ready to build an upgrade routine for a commercial app that will need to import data from an existing Access 97 back-end database to an Access 2007 back-end blank database. Ideally, it...
2
by: jerryyang_la1 | last post by:
Hi, What is the best way to upgrade from PHP 4.3.6 to 5.2.4 ? I'm running windows 2003 server. Thanks
2
by: js | last post by:
I newly installed Windoz Vista on my machine. I am trying to upgrade several VB6 ACTIVEX DLLs to VB.net. I tried to open the original VBG in Visual Studio 2005. The VB Upgrade Wizard was...
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
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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.