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. Problem with windows service!!

Problem with windows service!!

Scheduled Pinned Locked Moved C#
helpquestioncsharpvisual-studioannouncement
1 Posts 1 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.
  • N Offline
    N Offline
    Nafiseh Salmani
    wrote on last edited by
    #1

    I run D:\Program Files\Microsoft Visual Studio 9.0\VC>Installutill.exe C:\Winservice\Release\LOG.exe to install windows service ,but The following problem occurred: The Rollback phase completed successfully . The transacted install has completed. The installation failed, and the rollback has been performed. ------------ the installer class is as below:

    public partial class Installer1 : Installer
    {
    //ICCIMLOGService
    ServiceInstaller ITServersLOG;
    ServiceProcessInstaller ICCIMProcessInstaller1;

        public Installer1()
        {
          
                        InitializeComponent();
                        ITServersLOG = new ServiceInstaller();
                        ICCIMProcessInstaller1 = new ServiceProcessInstaller();
                        //process.Account  = ServiceAccount.LocalSystem;
                        ICCIMProcessInstaller1.Account = ServiceAccount.LocalService ;
                        // Service will have Start Type of Manual
                        ITServersLOG.StartType = ServiceStartMode.Manual;
                        ITServersLOG.DisplayName = "ICCIMLOGService";
                        ITServersLOG.ServiceName = ITServersLOG.DisplayName;
                        Installers.Add(ITServersLOG);
                        Installers.Add(ICCIMProcessInstaller1);
               
        }
    }
    

    how can i solve it?!! please help me!! :doh:

    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