Click here to Skip to main content
16,008,490 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multiple Assemblies Pin
SimonS4-Feb-05 2:11
SimonS4-Feb-05 2:11 
GeneralRe: Multiple Assemblies Pin
innocent734-Feb-05 2:35
innocent734-Feb-05 2:35 
GeneralRe: Multiple Assemblies Pin
Stefan Troschuetz4-Feb-05 3:15
Stefan Troschuetz4-Feb-05 3:15 
GeneralRe: Multiple Assemblies Pin
Heath Stewart4-Feb-05 5:57
protectorHeath Stewart4-Feb-05 5:57 
Questionhow to install a self made windows service on other machines.. Pin
just_starting4-Feb-05 1:47
just_starting4-Feb-05 1:47 
AnswerRe: how to install a self made windows service on other machines.. Pin
Esmo20004-Feb-05 4:28
Esmo20004-Feb-05 4:28 
GeneralRe: how to install a self made windows service on other machines.. Pin
Heath Stewart4-Feb-05 5:46
protectorHeath Stewart4-Feb-05 5:46 
AnswerRe: how to install a self made windows service on other machines.. Pin
Heath Stewart4-Feb-05 5:53
protectorHeath Stewart4-Feb-05 5:53 
just_starting wrote:
I have made a windows service which I want to install on other machines.So far I have done the installation by using the installutil.exe. But this method is cumbersome.Is there any shortcut method to do this.

Add a new Windows Installer project to your solution and add your EXE assembly to whatever directory you want to register for the path to the service. Click the View -> Editor -> Custom Actions menu. Right-click on the root node and select Add Custom Action. Find your DLL you added to the File System editor and compile. This will run the Installer derivative in your Windows Service assembly automatically.

just_starting wrote:
Can I install my windows service on a machine which doesn't have .net installed.

If your Windows Service is managed, then no. .NET applications require the .NET Framework, just like Java apps require a JVM and probably the JRE, MFC applications require the shared MFC library (unless you statically link and bloat your application), VB6 apps require the VB virtual machine, Perl scripts require the Perl runtime, and the list goes on and on.

To deploy the .NET Framework with your Windows Installer package - because it won't do it out of the box for you, read Creating a Single SEtup Project to Install a .NET Framework Application and Dotnetfx.exe[^].

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: how to install a self made windows service on other machines.. Pin
just_starting4-Feb-05 9:32
just_starting4-Feb-05 9:32 
GeneralRe: how to install a self made windows service on other machines.. Pin
Heath Stewart4-Feb-05 12:56
protectorHeath Stewart4-Feb-05 12:56 
GeneralSintax error in the INSERT INTO instruction Pin
Sasuko4-Feb-05 0:34
Sasuko4-Feb-05 0:34 
GeneralRe: Sintax error in the INSERT INTO instruction Pin
Sasuko4-Feb-05 6:29
Sasuko4-Feb-05 6:29 
GeneralRe: Sintax error in the INSERT INTO instruction Pin
Dave Kreskowiak4-Feb-05 8:44
mveDave Kreskowiak4-Feb-05 8:44 
GeneralRe: Sintax error in the INSERT INTO instruction Pin
Sasuko4-Feb-05 11:07
Sasuko4-Feb-05 11:07 
GeneralRe: Sintax error in the INSERT INTO instruction Pin
Sasuko4-Feb-05 11:09
Sasuko4-Feb-05 11:09 
GeneralRe: Sintax error in the INSERT INTO instruction Pin
Dave Kreskowiak5-Feb-05 5:10
mveDave Kreskowiak5-Feb-05 5:10 
Questiondatabase directory bug? Pin
Anonymous3-Feb-05 23:21
Anonymous3-Feb-05 23:21 
AnswerRe: database directory bug? Pin
David Salter3-Feb-05 23:38
David Salter3-Feb-05 23:38 
GeneralRe: database directory bug? Pin
Anonymous4-Feb-05 0:29
Anonymous4-Feb-05 0:29 
GeneralRe: database directory bug? Pin
Mazdak4-Feb-05 0:32
Mazdak4-Feb-05 0:32 
GeneralRe: database directory bug? Pin
Anonymous4-Feb-05 0:50
Anonymous4-Feb-05 0:50 
GeneralRe: database directory bug? Pin
David Salter4-Feb-05 0:44
David Salter4-Feb-05 0:44 
GeneralRe: database directory bug? Pin
Anonymous4-Feb-05 0:53
Anonymous4-Feb-05 0:53 
AnswerRe: database directory bug? Pin
Charlie Williams4-Feb-05 6:07
Charlie Williams4-Feb-05 6:07 
GeneralFind component owner form Pin
sulimovx3-Feb-05 23:18
sulimovx3-Feb-05 23:18 

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.