I have a setup Project which consists of 7 services. I have created it using
Setup and Deployment Project. I have not used installer class. The Problem is
that when I select service for custom installation service gets installed
depending on the selection of user using checkbox. But when I uninstall the
setup using add remove programs It is unable to uninstall the service It
gives ERROR "an exception occured during uninstallation the specified service
does not exists" and rollbacks the uninstallation what is the solution for
it ? I want to achieve custom Installtion of the services 4 1779
Hi,
It may be possible that it's not being registred as a service ( as you did
not use an Installer class), it does copy the code though.
Did you check if you find it in the service list?
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Uppi" <Up**@discussio ns.microsoft.co m> wrote in message
news:4B******** *************** ***********@mic rosoft.com... I have a setup Project which consists of 7 services. I have created it using Setup and Deployment Project. I have not used installer class. The Problem is that when I select service for custom installation service gets installed depending on the selection of user using checkbox. But when I uninstall the setup using add remove programs It is unable to uninstall the service It gives ERROR "an exception occured during uninstallation the specified service does not exists" and rollbacks the uninstallation what is the solution for it ? I want to achieve custom Installtion of the services
Hi
The Service is registerd but i am unable to uninstall the service.
"Ignacio Machin ( .NET/ C# MVP )" wrote: Hi,
It may be possible that it's not being registred as a service ( as you did not use an Installer class), it does copy the code though. Did you check if you find it in the service list?
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "Uppi" <Up**@discussio ns.microsoft.co m> wrote in message news:4B******** *************** ***********@mic rosoft.com...I have a setup Project which consists of 7 services. I have created it using Setup and Deployment Project. I have not used installer class. The Problem is that when I select service for custom installation service gets installed depending on the selection of user using checkbox. But when I uninstall the setup using add remove programs It is unable to uninstall the service It gives ERROR "an exception occured during uninstallation the specified service does not exists" and rollbacks the uninstallation what is the solution for it ? I want to achieve custom Installtion of the services
Hi,
I have had this problem when I copy/paste the service & its setup project
and use it as a base for another service. If I forget to generate new IDs I
it gives me this kind of error, IIRC was because two services were installed
in the same directory and as I uninstall the first the second one would lose
the files needed to uninstall
Are you installing all the services in the same dir?
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Uppi" <Up**@discussio ns.microsoft.co m> wrote in message
news:7B******** *************** ***********@mic rosoft.com... Hi The Service is registerd but i am unable to uninstall the service.
"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,
It may be possible that it's not being registred as a service ( as you did not use an Installer class), it does copy the code though. Did you check if you find it in the service list?
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "Uppi" <Up**@discussio ns.microsoft.co m> wrote in message news:4B******** *************** ***********@mic rosoft.com... >I have a setup Project which consists of 7 services. I have created it >using > Setup and Deployment Project. I have not used installer class. The > Problem > is > that when I select service for custom installation service gets > installed > depending on the selection of user using checkbox. But when I uninstall > the > setup using add remove programs It is unable to uninstall the service > It > gives ERROR "an exception occured during uninstallation the specified > service > does not exists" and rollbacks the uninstallation what is the solution > for > it ? I want to achieve custom Installtion of the services
YES I have path of the services in same directory even single service does
not get uninstalls.
"Ignacio Machin ( .NET/ C# MVP )" wrote: Hi,
I have had this problem when I copy/paste the service & its setup project and use it as a base for another service. If I forget to generate new IDs I it gives me this kind of error, IIRC was because two services were installed in the same directory and as I uninstall the first the second one would lose the files needed to uninstall
Are you installing all the services in the same dir?
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"Uppi" <Up**@discussio ns.microsoft.co m> wrote in message news:7B******** *************** ***********@mic rosoft.com... Hi The Service is registerd but i am unable to uninstall the service.
"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,
It may be possible that it's not being registred as a service ( as you did not use an Installer class), it does copy the code though. Did you check if you find it in the service list?
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "Uppi" <Up**@discussio ns.microsoft.co m> wrote in message news:4B******** *************** ***********@mic rosoft.com... >I have a setup Project which consists of 7 services. I have created it >using > Setup and Deployment Project. I have not used installer class. The > Problem > is > that when I select service for custom installation service gets > installed > depending on the selection of user using checkbox. But when I uninstall > the > setup using add remove programs It is unable to uninstall the service > It > gives ERROR "an exception occured during uninstallation the specified > service > does not exists" and rollbacks the uninstallation what is the solution > for > it ? I want to achieve custom Installtion of the services This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Petrucci2000 |
last post by:
Hi All, I am looking to create an installation package (MSI ) which will
fire off few of my custom .vbs during the install process.
How to accomplish this task?
TIA
PS: I tried to include an installer class to my setup project and overrided
the install and uninstall methods but when I run the setup.msi I never see
those being fired!!
|
by: logicalfeline |
last post by:
Hi there,
I'm creating an installation project where at a particular point in the
installation I want the user to be able to specify a filepath for use in the
program. My idea was to create a form that allowed the user to choose the
datapath and confirm it then add this to the installation project. I'm
having trouble with this however. Does anyone know a simple procedure for
doing this?
Cat
|
by: Eric |
last post by:
Using VS.Net 2003 .Net framework 1.1 SP1
Our installation project calls a Custom Action dll to perform post install
actions. It fails if the .msi file is launch from a directory that contains
spaces, such as:
My Install Folder\SetupDir
The exception thrown is:
|
by: Kemin |
last post by:
Recently I built an ASP.NET application Installation program for deployment.
The ASP.NET app use a Sql Server db, I package it into the installation file
too.
The general step of building an installation are:
1.Add an install class to the deployed project and imperment the custom
action
2.Add a "Data Entry Dialog Boxes" in the User Interface Editor of the
deployment project(my examply has two textbox,thier property are DBUSER and...
|
by: rossu |
last post by:
I need to deploy a couple of sets of third party drivers with my application
and the customer would like the whole thing to run automatically when they
put in the installation CD. These drivers come with their own setup files.
My plan was to put these in seperate directories on the distribution CD and
use custom actions to run them after my main installation e.g.
path1\setup1.exe parm1 parm2
path2\setup2.exe parm3 parm4
The setups...
| |
by: Gene |
last post by:
I would like to know if the following is even possible with the visual
studio.net Setup and Deployment project.
1. During the deployment after creation of application directory the
setup needs to prompt user to select another location to send a data
file elsewhere on target machine (with ability to create this
directory).
2. After that this secondary location selected/created by the user,
|
by: odyth |
last post by:
not sure if anyone is having trouble with this, but the same thing happened to me. i have one text box in a custom dialog in my installer that would take the path to a database, if there was a space in the path ie c:\program files\ it would error out. i figured out that if i changed the edit1property for the text box from EDITA1 which is the default to something else like MYBOX it would work fine with no errors.
Original message:
Custom...
|
by: Matt F |
last post by:
I have a deployment project that I'm setting up. I need to perform a
different custom action based on whether this is a first time install or an
update. Does anyone have any idea if it's possible to set the Condition
property of a custom action to determine if the currently running install is
upgrading a previous installation and if so how? I'm also open to other
methods of acheiving this functionality.
|
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= |
last post by:
Actually, my installer package is not for a Windows Service, but for a
WinForms application.
Well, it is kind of both: this is a multi-project solution with its main
target being a WinForms application, but it also includes a Windows Service.
My custom install actions configuration includes output from a Class Library
project that contains the custom actions followed by the output of the
Windows Service project to register the service....
|
by: KennethLundin |
last post by:
Hi,
i'm developing a solution in VS9/CSharp. Now I'm constructing a
deployment project for my appliation (thick, database driven,
winforms, standard, good old type of application).
During installation I also install the PostgreSQL database and along
with that I need to execute some Custom Actions. I've created a Custom
Installer component in CSharp and calls it on Install/Rollback/
uninstall and everything works great (Custom Actions...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
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 we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |