PC Review


Reply
Thread Tools Rate Thread

VS installer project to upgrade application

 
 
New Member
Join Date: Mar 2009
Posts: 1
 
      17th Mar 2009
Hello

I'm using VS2008 and .NET 2.0.

Is it possible to create an istaller project, which upgrades application? What I mean... I have an application and installer project (setup) for it. This works perfectly. Now I changed a small part of application and I want to create another installer project (setup) to upgrade this changed part.

Say my application has 20 files after normal installation. I have changed 5 files and I want to create small installer just for these five files. I count thios as upgrade of application, so I change version number - from 1.0 to 1.1. I set RemovePreviousVersion to False - I don't want to remove it, because it removes all 20 application's files. Now this can happen:

1) I do not change product code. Installer just tells me, that different version of application is installed, and stops.

2) I change the product code. Installation passes, everything seems OK, but in the Add/Remove Programs I have my application twice.

3) If I set RemovePreviousVersion to True, new files are installed, application is only once in Add/Remove Programs, but ... most of the files are missing, because they were uninstaller.

I want to create installer, which:
1) Increases version number of application
2) Installs files I need (just couple of files which are changed from regular installation)
3) Keep all other files which were installed during normal (full) instalation.
4) Leaves only one recor about my application in Add/Remove Programs - the newest one.

Thanks for any help, Stano
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Project-->Project References Large Project DonJefe Microsoft C# .NET 3 25th Jan 2007 09:23 PM
Installer Project with Custom Action for Application Configuration =?Utf-8?B?THVjYXMgUG9uem8=?= Microsoft Dot NET Framework 5 10th Nov 2006 03:17 AM
upgrade req. Installer 3.1, Installer 3.1 won't install (KB893803v =?Utf-8?B?aWVmbA==?= Anti-Spyware Installation 24 4th Aug 2006 09:41 PM
Open an Existing Project (Remove a project from the project list) =?Utf-8?B?ZHJvb3Bl?= Microsoft Dot NET 1 19th Jan 2005 08:36 AM
Simple Installer question. How to add custom code in installer project?? HyperX Microsoft Dot NET 1 15th Oct 2004 03:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:49 PM.