473,503 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installer problem

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
Nov 22 '05 #1
2 1251
The Installer project has a property called "RemovePreviousVersion". This is
probably what you want

"Ronald" <Ro****@discussions.microsoft.com> wrote in message
news:1B**********************************@microsof t.com...
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

Nov 22 '05 #2
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

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

"Ronald" <Ro****@discussions.microsoft.com> wrote in message
news:1B**********************************@microsof t.com...
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


Nov 22 '05 #3

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

Similar topics

1
2627
by: Pierre Rouleau | last post by:
Hi all, When building a exe for a Python application under Windows XP with The McMillan installer, the insttaltion succeeds but when I run the resulting executable the application tracebacks...
12
2739
by: Richard Hanson | last post by:
Over the last few days, I reinstalled Win2kSP2 to a spare harddrive I had just swapped into my Fujitsu LifeBook P1120 (long story <wink>). Subsequently, I DL'ed the newest Python alpha (2.4a2), and...
4
7394
by: Bill Murray | last post by:
I am using VS.NET 2003 and trying to deploy a service program(c++) to a Windows 2000 Server system. I have also written a small DLL (USSsetup.dll) that is used to start/stop the service using a...
5
4876
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
3
1876
by: Brian Henry | last post by:
This has worked perfectly for the past year now all the sudden it will not compile the installer project correctly. All our source code is in a Source Safe database so every system we do this on...
0
1379
by: Richard | last post by:
All, There is a KB article pertaining to windows installer running every time an application starts - so I know it's an issue - but the KB article pertains to MS Office only. I am seeing the...
1
1875
by: Rob R. Ainscough | last post by:
I'm having several issues with Windows Setup Projects in VS 2005 and need to find a resource that might be able to help me work around some of the short comings of Windows Setup Projects (Windows...
4
1982
by: Rob R. Ainscough | last post by:
The task is brain dead simple - Uninstall prior Windows Service and Install newer version of Windows Service Background: 1. My Windows Service written in .NET 1.1 and deployed via MSI (Windows...
6
3353
by: =?Utf-8?B?Qm8gTWNJbHZhaW4=?= | last post by:
I have a installation package which installs ok when setup.exe is used, but if I try to install via msiexec, I get an error "This installation package could not be opened. Verify that the package...
0
2297
by: JDeats | last post by:
I have a new Installer class (derived from System.Configuration.Install.Installer) and I have override methods for Install, Uninstall, Commit. The MSI builder tool I'm using is Advanced Installer,...
0
7204
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
7342
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
7464
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
5586
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5018
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...
0
3171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1516
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.