Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / December 2004

Tip: Looking for answers? Try searching our database.

Installing a windows service 'manually'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Henrik Heimbuerger - 12 Dec 2004 16:31 GMT
Hi!

I created a windows service and was able to install and deinstall it
with the 'installutil.exe' utility. Is there any possibility to
install it directly from my application?
The documentation only says that it *should* not be done but neither
why it shouldn't be done nor how it is possible.

I created a setup application to install it and that works. But I
would like to spare my users to either run another setup or work with
the installutil-program.
Two buttons 'install service' and 'uninstall service' would be much
better.

Please tell me how to do that or why I shouldn't do so.

TIA,
Henrik Heimbuerger

Signature

ICQ-UIN: 14011335
Website: http://henrik.heimbuerger.de/en/

Phil Wilson - 12 Dec 2004 17:22 GMT
You can still use a Visual Studio setup project. It sounds like you'd like
the install to be simpler, and you could do that by deleting some of the
dialogs in the user interface view in the Visual Studio IDE. An alternative
is to still use a setup project, but wrap it into a program and launch your
setup silently with msiexec /i <path to the msi> /qn (or some other /q
flavor, depending how much UI you want to show the user).
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

> Hi!
>
[quoted text clipped - 14 lines]
> TIA,
> Henrik Heimbuerger
Henrik Heimbuerger - 14 Dec 2004 14:06 GMT
>You can still use a Visual Studio setup project. It sounds like you'd like
>the install to be simpler, and you could do that by deleting some of the
>dialogs in the user interface view in the Visual Studio IDE. An alternative
>is to still use a setup project, but wrap it into a program and launch your
>setup silently with msiexec /i <path to the msi> /qn (or some other /q
>flavor, depending how much UI you want to show the user).

Good idea! I will do that if I don't find another solution. But this
would still be the source of many errors and I still don't understand
why the functionality of installutil.exe isn't included in the BCL!?

Thanks,
Henrik Heimbuerger

Signature

ICQ-UIN: 14011335
Website: http://henrik.heimbuerger.de/en/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.