473,657 Members | 2,550 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1200
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.co m

"jonny" <an*******@disc ussions.microso ft.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
917
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 (worried mainly because server OS's don't have upgrade paths anymore, we tried to 'upgrade' from 2000 to 2003 and couldn't, had to purchase all new because of the license agreements) and because of this don't want to have to respend thousands of...
8
3383
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 it up as C:\domains\appA. Locally, my IIS root points to C:\domains. I don't point it to C:\domains\appA since if I have an appB under C:\domains I wouldn't be able to get to it. So to access it via my browser I go to localhost/appA.
8
1579
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 see that the 7.4.1 port is available. So now I have several, very specific needs: 1) having now done some development in 7.4, I've decided I need to be able to exceed the default limit of 16 arguments for plpgsql functions 2) I would like to...
3
1872
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 analyzing all of the files. I noticed (on the same machine) that some user profiles appear to abbreviate the absolute paths to these files thus breaking my data loading mechanism. Does anyone know how I can programmatically change this filepath...
2
1713
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 do my data results pages. I am now using sharepoint services also which I was not using previously. The Include file '../_fpclass/fpdbform.inc' cannot contain '..' to indicate the parent directory. Terry
6
3154
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 guess not? e.g., when I do include './Scripts/AddNav.php';
6
1798
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 would be nice to have the program detect, on first launch, whether the back end database is blank, and ask the user if they want to begin a new database (putting them into the blank one), or import data from the previous version (the access 97...
2
3403
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
3121
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 automatically launched and tries to convert the VB6 projects. None of the VB projects in the group are converted. The wizard asked that these projects to be opened in VB6 and be compiled suceessfully before VS2005 can convert them. So I digged out my...
0
8326
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8845
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8743
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8522
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7355
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4333
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1973
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.