Remotely deploying customer .net based windows service

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Iqbal Khan (IqbalKhan_at_discussions.microsoft.com)
Date: 09/14/04

  • Next message: cemich_at_chesapeakebay.net: "Re: Win2K: error creating ASP.NET Web Application"
    Date: Tue, 14 Sep 2004 06:59:20 -0700
    
    

    I created a deployment package using the packaging tool with VS.NET for a
    windows service that I developed using VB.NET. I tried running the deployment
    package with admin privileges from a remote server on all the machines for
    remote installation of the service on all of the machines on my network. But
    it fails as the MSI installer gives me the following error:

    Product: mcmSystemsUpdt -- The installer has encountered an unexpected error
    installing this package. This may indicate a problem with this package. The
    error code is 2103. The arguments are: 26, ,

    Hence, my question is that can I create an installation package for remote
    deployment for a windows service? Or else the only way to do so is by coding
    a separate application that would use the OpenSCManager for every computer in
    my network and then use the CreateService function to create a service on
    that computer?

    Help would be deeply appreciated.

    Thanks in advance

    Also, The msi package that I created can successfully install the service
    and the accompanying dlls if I am logged onto any machine that I need to
    install the windows service on and then install it locally.

    -- 
    Iqbal Khan
    McMaster-Carr
    

  • Next message: cemich_at_chesapeakebay.net: "Re: Win2K: error creating ASP.NET Web Application"

    Relevant Pages

    • Re: Assigning Software Installation to Computer
      ... deployment worked from admin share for user side ... deployment even though share and ntfs permissions were correct. ... >> However it states the url for the package cannot be resolved. ... >> Install on Server ...
      (microsoft.public.windows.group_policy)
    • Re: Using an Access Database in ADO.NET w/o MS Access
      ... That is the purpose of deployment. ... So you are suggesting a better approach is to install a full package of ... that is what a setup package is for?? ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Adding Web Deployment Project
      ... "tshad" wrote in message ... That will install the deployment add in and it showed in the build menu and Windows Service when I right-clicked it. ... But when I selected it a deployment project didn't get created and then the "Add Deployment Project " went away. ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: VB Installer Urgent
      ... to install the application to?.. ... Are you using Package and Deployment wizard?...Like one of the other posters ... "Dib" wrote in message ...
      (microsoft.public.vb.general.discussion)
    • Windows Service Install
      ... Is there a way of getting a C# windows service to install itself? ... bit more awkward (I know you can package it but that seems messy) ...
      (microsoft.public.dotnet.languages.csharp)