Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Windows Service Deployment

Windows Service Deployment

Scheduled Pinned Locked Moved C#
csharpsysadminjavascriptasp-net
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tatham
    wrote on last edited by
    #1

    I have just finished a windows service app in C#. To deploy, I have created an installer project in VS (2003). For the service registrations, I have added the assembly as a custom action for both the commit and uninstall phases. The installer seemes to run correctly - until the very end. Then I get the following error message :confused:: Could not find file "C:\Program Files\play47\SMTP Server\SMTPServer.InstallState Now, this file DOESN'T exist - but I assume that it should be getting created by the service installer. Any ideas? This is critical and I really need to deploy it today - if you have any idea it would be greatly appreciated! Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989

    L 1 Reply Last reply
    0
    • T Tatham

      I have just finished a windows service app in C#. To deploy, I have created an installer project in VS (2003). For the service registrations, I have added the assembly as a custom action for both the commit and uninstall phases. The installer seemes to run correctly - until the very end. Then I get the following error message :confused:: Could not find file "C:\Program Files\play47\SMTP Server\SMTPServer.InstallState Now, this file DOESN'T exist - but I assume that it should be getting created by the service installer. Any ideas? This is critical and I really need to deploy it today - if you have any idea it would be greatly appreciated! Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript) tatham@e-oddie.com +61 414 275 989

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      Tatham wrote: if you have any idea it would be greatly appreciated No idea sorry, but I'm sure you have learnt a valuable lesson, to plan these things in the design phase. :) leppie::AllocCPArticle("Zee blog");

      T 1 Reply Last reply
      0
      • L leppie

        Tatham wrote: if you have any idea it would be greatly appreciated No idea sorry, but I'm sure you have learnt a valuable lesson, to plan these things in the design phase. :) leppie::AllocCPArticle("Zee blog");

        T Offline
        T Offline
        Tatham
        wrote on last edited by
        #3

        I ended up finding the problem. After removing the performance counter object from the installer it worked - of course the counter doesn't work but at least it deployed. Does anyone have any ideas on why this would crash the installer - do i need to ship some form of basic install state file - if so what is the format? BTW leppie - i did deploy it in time. ;P

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups