maybe I'm missing somethere here..
my setup project has 2 files. a windows app .exe, and a win service.exe. no
projects.
that's it. I dont have any additional projects or anything. so how would I
make it install the service and remove the service on install.
> Go here:
>
[quoted text clipped - 29 lines]
> > but I am still having trouble making it work. anyone got a tutorial or
> > something. that would be awwesome. thanks.
Peter Bromberg [C# MVP] - 25 Mar 2008 19:40 GMT
That's difficult, because the whole idea of a setup project is to take
unbuilt solution projects and build them into the MSI installer. When you try
to make a setup project using only prebuilt executables, you will find it
difficult at best. I'm sure it can be done, but that isn't what your basic
setup project was designed for (as you have already found out).
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
> maybe I'm missing somethere here..
> my setup project has 2 files. a windows app .exe, and a win service.exe. no
[quoted text clipped - 36 lines]
> > > but I am still having trouble making it work. anyone got a tutorial or
> > > something. that would be awwesome. thanks.
JamesB - 27 Mar 2008 18:01 GMT
> maybe I'm missing somethere here..
> my setup project has 2 files. a windows app .exe, and a win service.exe.
[quoted text clipped - 4 lines]
> I
> make it install the service and remove the service on install.
I'm in the midst of service-ifying my application at the moment - rather
than installing the service at setup-time, I am letting my management forms
app do so (the first time you run it, it looks for the service, and if it's
not found, it asks if you'd like to install it).
I found a nice class to take care of all this but I seem to have lost the
link, but if it's of use, I can post some code...