Removing previous version property problem

M

Manikandan

Hi,
I'm creating a setup project for my c# application(Contains solution,
c# project, setup project).
In setup project properties, i set removepreviousversion
property=true.
Created the installer and tested, installed successfully.
If i install again means it's asking a dialogue with an option to
repair, remove.
Now I make some changes in my c# codings and build the installer for
the same appliaction.
I didn't remove the previous installed application, now i click the
installer, it's giving a message
"Another version of this product is already installed.Installation of
this version cannot continue"
I didn't change the version number in setup project properties after
changing the code.
I want the installer to remove the previous version and to install
current version.
Is there any settings needed to achieve this?
Kindly help me

Thanks,
Mani
 
G

Guest

When you make changes to your program you should change the
"AssemblyVersion" number in the AssemblyInfo.cs file of your project. Also,
you should change the version of the installer, by clicking on the setup
project and going to the Version property. This will ask you to change the
product code. Say Yes. The package will compile and you can now safely run
it. It should remove any previous version that you had installed.

Adrian.
 

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