Installer problem

G

Guest

hi,

I wrote an application with .net. Now I would like to create a setup cd
using the bootstrapper. Everything works fine.

But when I try to install my application on a computer where my application
is allready installed, the installer stoped and show me a messagebox with
exactly this information: "application allready exist".

In this case I would like to uninstall the application and afterwards
install the new version of my application. What is the easiest way to do
it?

I thought something like I give the new version a number for example 1.1.2
.. When I start the installer the bootstrapper check for version. And if it
finds version 1.1.1 then install new version. If it finds version 1.1.2 then
not.

I check the MSDN and found quite a lot but not exactly what I want. Thank
you very much for your support.

Regards,

Ronald
 
J

JohnFol

The Installer project has a property called "RemovePreviousVersion". This is
probably what you want
 
G

Guest

I played around with the "RemovePreviousVersion" property but could not get
it work. Basically my installer is doing mothing. I think, I should call
somekind of Uninstall.bat when the installer detect a newer version. But how
can I do it?

I appreciate any help.

Thanks,

Ronald
 

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

Top