Upgrade Paths

  • Thread starter Thread starter jonny
  • Start date Start date
J

jonny

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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top