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