How to know wether it is already installed

  • Thread starter Thread starter Mamatha
  • Start date Start date
M

Mamatha

Hi

I had setup a VB.NET application using Setup factory 5.0.
I set the serial number key to the application for asked
in the runtime.
I installed that application successfully with the serial
number.I want to reinstall the application with the same
serial number,at that time i want to display a message
like "It was already installed do u want to overwrite it"
or i want to display a screen like enter previous serial
number of the application.
How can i do tis with the setup factory 5.0,if any one
knows please let me know,thanks in advance.

Mamatha
 
Hi Mamatha
what i know is that Visual studio installer project can do that , it can
check for installed component , you can also choose which component will be
uninstalled and which remains on the disk even when uninstall occur.
What you can do is to save that piece of info on some file on the disk.
then choose that file to remain after uninstall . Then when installing on a
custom action check on that file and act accordingly. Even better, you can
create a registry entry for your product, which contain an encrypted value
of the product key, and then check on that.

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 

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