473,408 Members | 2,405 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Removing previous version property problem

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

Jul 18 '07 #1
1 8108

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.
--
[Please mark my answer if it was helpful to you]


"Manikandan" wrote:
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

Jul 19 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Steve Strik | last post by:
My Problem: I have created a database here at work that is exhibiting some very strange behaviour. Essentially the database is structured in a manner where one table is a master record table...
6
by: Brett | last post by:
I've created a Windows setup project in VS.NET 2003. The first setup ran fine minus creating the Program's group. I made some changes and rebuilt the MSI and setup.exe files. Now when I run the...
4
by: UJ | last post by:
I have a text object (see my previous post) that I've added some functionality to. But I don't want the user to be able to change the text without calling my routines. So I added the following...
6
by: Niyazi | last post by:
Hi all, What is fastest way removing duplicated value from string array using vb.net? Here is what currently I am doing but the the array contains over 16000 items. And it just do it in 10 or...
7
by: Simon Hart | last post by:
Hi, I have a requirement to remove the xmlns from the DOM in order to pass over to MS CRM 3.0 Fetch method.It seems the fetch method blows up if there is a xmlns present!?! The reason I have a...
8
by: schaf | last post by:
Hi Ng! My application (version 1 a1) communicates with a service (version 1 s1). Now I would like to update the service and create a service version 2 (s2). The new function calls within s2 are...
2
by: zacks | last post by:
I have created numerous Setup projects with Visual Studio 2005. I have a current solution that is fairly complex with numerous projects. It contains two primary applications so there are two setup...
7
by: =?Utf-8?B?Sm9lbCBNZXJr?= | last post by:
I have created a custom class with both value type members and reference type members. I then have another custom class which inherits from a generic list of my first class. This custom listneeds...
0
by: Adam Salisbury | last post by:
**To members of microsoft.public.dotnet.framework, apologies for the crosspost. I originally posted this message into that group however have since realised this may have been a better...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.