Click here to Skip to main content
15,917,061 members
Home / Discussions / C#
   

C#

 
AnswerRe: I'm trying to get a Session and redirect in Globa.asax Pin
Calla15-Sep-10 2:42
Calla15-Sep-10 2:42 
Questionsetup and unistall Pin
tomorrow_ft15-Sep-10 2:03
tomorrow_ft15-Sep-10 2:03 
AnswerRe: setup and unistall Pin
Calla15-Sep-10 2:36
Calla15-Sep-10 2:36 
GeneralRe: setup and unistall Pin
tomorrow_ft15-Sep-10 2:48
tomorrow_ft15-Sep-10 2:48 
GeneralRe: setup and unistall Pin
tomorrow_ft15-Sep-10 3:03
tomorrow_ft15-Sep-10 3:03 
GeneralRe: setup and unistall Pin
Calla15-Sep-10 22:47
Calla15-Sep-10 22:47 
GeneralRe: setup and unistall Pin
tomorrow_ft16-Sep-10 1:23
tomorrow_ft16-Sep-10 1:23 
GeneralRe: setup and unistall Pin
Calla16-Sep-10 2:48
Calla16-Sep-10 2:48 
Okay, then that's your problem. You have to add code to the ProjectInstaller class that actually does the installation of your service. In your case it would look something like this (from MSDN example):
namespace SistemServis
{
   [RunInstaller(true)]
   public partial class ProjectInstaller : Installer
   {
      private ServiceInstaller serviceInstaller;
      private ServiceProcessInstaller processInstaller;

      public ProjectInstaller()
      {
         InitializeComponent();
         processInstaller = new ServiceProcessInstaller();
         serviceInstaller = new ServiceInstaller();

         processInstaller.Account = ServiceAccount.LocalSystem; //or the account you wish to use
         serviceInstaller.StartType = ServiceStartMode.Manual; //or the mode you wish to use

         serviceInstaller.ServiceName = "YourServiceName"; //name of your NT service
         Installers.Add(serviceInstaller);
         Installers.Add(processInstaller);
      }
   }
}


Good luck!
GeneralRe: setup and unistall Pin
tomorrow_ft16-Sep-10 3:24
tomorrow_ft16-Sep-10 3:24 
GeneralRe: setup and unistall Pin
Calla16-Sep-10 3:31
Calla16-Sep-10 3:31 
QuestionEmbedding Dependancies in C# Excel Workbook Pin
Grimes14-Sep-10 23:33
Grimes14-Sep-10 23:33 
QuestionLarge ncb file in a C# project Pin
Bernhard Hiller14-Sep-10 22:14
Bernhard Hiller14-Sep-10 22:14 
AnswerRe: Large ncb file in a C# project Pin
_AnsHUMAN_ 14-Sep-10 22:18
_AnsHUMAN_ 14-Sep-10 22:18 
GeneralRe: Large ncb file in a C# project Pin
Bernhard Hiller15-Sep-10 2:09
Bernhard Hiller15-Sep-10 2:09 
AnswerRe: Large ncb file in a C# project Pin
fjdiewornncalwe16-Sep-10 2:06
professionalfjdiewornncalwe16-Sep-10 2:06 
QuestionThread and Webbrowser Control- Want to Create webbrowser on the fly(runtime) Pin
yogeshcgs14-Sep-10 20:34
yogeshcgs14-Sep-10 20:34 
AnswerRe: Thread and Webbrowser Control- Want to Create webbrowser on the fly(runtime) Pin
Dave Kreskowiak15-Sep-10 2:16
mveDave Kreskowiak15-Sep-10 2:16 
AnswerRe: Thread and Webbrowser Control- Want to Create webbrowser on the fly(runtime) Pin
Pete O'Hanlon15-Sep-10 3:45
mvePete O'Hanlon15-Sep-10 3:45 
Questionc# Pin
solanki12314-Sep-10 20:03
solanki12314-Sep-10 20:03 
AnswerRe: c# Pin
Dave Kreskowiak14-Sep-10 20:04
mveDave Kreskowiak14-Sep-10 20:04 
AnswerRe: c# Pin
Abhinav S14-Sep-10 20:24
Abhinav S14-Sep-10 20:24 
AnswerRe: c# Pin
Dave Kreskowiak15-Sep-10 2:12
mveDave Kreskowiak15-Sep-10 2:12 
AnswerRe: c# Pin
PIEBALDconsult15-Sep-10 3:06
mvePIEBALDconsult15-Sep-10 3:06 
Questionencoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 10:00
stephen.darling14-Sep-10 10:00 
AnswerRe: encoding and decoding in BASE 10 Pin
Ennis Ray Lynch, Jr.14-Sep-10 10:11
Ennis Ray Lynch, Jr.14-Sep-10 10:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.