By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,611 Members | 1,635 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,611 IT Pros & Developers. It's quick & easy.

Upgrade Paths

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.