473,938 Members | 30,413 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: "applicatio n 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 1282
The Installer project has a property called "RemovePrevious Version". This is
probably what you want

"Ronald" <Ro****@discuss ions.microsoft. com> wrote in message
news:1B******** *************** ***********@mic rosoft.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: "applicatio n 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 "RemovePrevious Version" 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 "RemovePrevious Version". This is
probably what you want

"Ronald" <Ro****@discuss ions.microsoft. com> wrote in message
news:1B******** *************** ***********@mic rosoft.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: "applicatio n 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
2649
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 complaining about a codec not being registered: Traceback (most recent call last): File "<string>", line 222, in ? File "ivcm\buildivcm\out1.pyz/gettext", line 428, in install
12
2784
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 when trying to install it, I immediately got this error: This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
4
7459
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 custom action. This dll is apparently dependent on the MSVCP71.DLL and MSVCR71.DLL's as per the Detected Dependencies folder visible in the deployment project All this good except I am UNABLE to Retarget the output of the msm merge...
5
4942
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 1.1 -> MsiNetAssembly Support.) I have a few issues and questions regarding the MSI and its properties. * This may be my biggest annoyance at the moment. When the installer creates the target directory, it's setting them as read-only. When the...
3
1902
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 should be identicle. On one system the installer project will compile correctly, but on two others it will fail with this error. ------ Rebuild All started: Project: Installer, Configuration: Debug ------ Building file 'T:\Current Builds...
0
1412
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 same behavior as the MS Office installer issue in my installer package. The behavior started happening after I added a custom installer step (implemented in C#) and the behavior stops if I remove my custom installer step.
1
1901
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 Installer 3.0). My specific issues: 1. DetectNewerInstalledVersion = False, still detects a version and refuses to install even with UpgradeCode = same and ProductCode being difference. 2. DeleteAtUninstall doesn't work if = False (some BS...
4
2011
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 Installer) 2. My Windows Service is upgraded to .NET 2.0 with deployment project using MSI (Windows Installer) Upgrade code is the same from the .NET 1.1 version to the .NET 2.0 version
6
3371
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 exists..." In partidular, I need to be able to uninstall this package unattended from the command line, any suggestions will be appreciated. The version of msiexec.exe is 3.1.4000.1823, msi.dll is 3.1.4000.4039
0
2324
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, the resulting MSI successfully executes the code inside my Installer classe Install and Uninstall methods... My problem is distinguishing a patch from a fresh install and following a different execution path in my Installer class depending on...
0
11516
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11103
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10652
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9854
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8210
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7377
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6072
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6290
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4443
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.