[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

play with service problem...

Lloyd Dupont

1/23/2003 3:56:00 AM

Hi,

I'm writting my first service !
Everything is ok now, I write it, compile it, install it.

However I want to test it and here is my problem.
I can't update it without rebooting.

(note to install & uninstall I use the command line tool: InstallUtil [/u]
myService.exe)

When I try to install it again it fail because the file is already
installed.
If I uninstall it and reinstall it, it fails because the file is schedule
for deletion.

(note: I have w2000)

Am I commited to reboot everytime I change my service or is there an easy
way to do ?
any suggestions welcome...





3 Answers

Lloyd Dupont

1/23/2003 4:56:00 AM

0

I change the name of my service at each build and it work...
If you have better idea ?

"Lloyd Dupont" <lloyd@galador.net> wrote in message
news:#Kl6wqowCHA.1624@TK2MSFTNGP11...
> Hi,
>
> I'm writting my first service !
> Everything is ok now, I write it, compile it, install it.
>
> However I want to test it and here is my problem.
> I can't update it without rebooting.
>
> (note to install & uninstall I use the command line tool: InstallUtil [/u]
> myService.exe)
>
> When I try to install it again it fail because the file is already
> installed.
> If I uninstall it and reinstall it, it fails because the file is schedule
> for deletion.
>
> (note: I have w2000)
>
> Am I commited to reboot everytime I change my service or is there an easy
> way to do ?
> any suggestions welcome...
>
>
>
>
>


Chris Torgerson

1/23/2003 8:22:00 PM

0

Do you still have the Services Panel open when installing/uninstalling. I
found that simply closing it will allow the service to be deleted, which
then allows you to re-install.

chris torgerson

"Lloyd Dupont" <lloyd@galador.net> wrote in message
news:#Kl6wqowCHA.1624@TK2MSFTNGP11...
> Hi,
>
> I'm writting my first service !
> Everything is ok now, I write it, compile it, install it.
>
> However I want to test it and here is my problem.
> I can't update it without rebooting.
>
> (note to install & uninstall I use the command line tool: InstallUtil [/u]
> myService.exe)
>
> When I try to install it again it fail because the file is already
> installed.
> If I uninstall it and reinstall it, it fails because the file is schedule
> for deletion.
>
> (note: I have w2000)
>
> Am I commited to reboot everytime I change my service or is there an easy
> way to do ?
> any suggestions welcome...
>
>
>
>
>


Phil Wilson

1/23/2003 8:34:00 PM

0

Could be KB287516 that Chris is talking about.

"Chris Torgerson" <ctorgerson@mindspring.com> wrote in message news:eAETyRxwCHA.2604@TK2MSFTNGP12...
> Do you still have the Services Panel open when installing/uninstalling. I
> found that simply closing it will allow the service to be deleted, which
> then allows you to re-install.
>
> chris torgerson
>
> "Lloyd Dupont" <lloyd@galador.net> wrote in message
> news:#Kl6wqowCHA.1624@TK2MSFTNGP11...
> > Hi,
> >
> > I'm writting my first service !
> > Everything is ok now, I write it, compile it, install it.
> >
> > However I want to test it and here is my problem.
> > I can't update it without rebooting.
> >
> > (note to install & uninstall I use the command line tool: InstallUtil [/u]
> > myService.exe)
> >
> > When I try to install it again it fail because the file is already
> > installed.
> > If I uninstall it and reinstall it, it fails because the file is schedule
> > for deletion.
> >
> > (note: I have w2000)
> >
> > Am I commited to reboot everytime I change my service or is there an easy
> > way to do ?
> > any suggestions welcome...
> >
> >
> >
> >
> >
>
>