Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / July 2007

Tip: Looking for answers? Try searching our database.

Removing previous version property problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Manikandan - 18 Jul 2007 17:24 GMT
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
Adrian Voicu - 19 Jul 2007 19:32 GMT
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.
Signature

[Please mark my answer if it was helpful to you]

> Hi,
> I'm creating a setup project for my c# application(Contains solution,
[quoted text clipped - 19 lines]
> Thanks,
> Mani

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.