Adding another EXE to a windows service

  • Thread starter Lord Brett Sinclair
  • Start date
L

Lord Brett Sinclair

Hello everybody
I created a windows services with an msi file.
I have another small vb.net exe that I would like to install when I install
the windows service.
I tried to create a merge module for the exe, and added it to the windows
service...but somehow, I can not get the exe to be installed.
Can somebody can point me to the right direction ?

Regards
LBS
 
P

Phil Wilson

You don't need to put it in a merge module. You can just go the File System
on Target Machine view and add the VB exe there.
 
J

Jay B. Harlow [MVP - Outlook]

LBS,
As Phil suggests simply add the second EXE to your setup project.

For example, in a Windows Service I am working on, I have a single solution
with a Windows App, a Windows Service, a Class Library, and a Setup Project.

Within the Setup Project: I used "Project - Add - Project Output" to add the
"Primary output" for each of the other three projects. You can also output:
Localized resources, Debug Symbols, Content Files, and Source Files as
appropriate. I find including Debug Symbols useful, in the Debug
configuration, for the builds I am currently testing on another machine.

Then within the File System editor, I put the "project outputs" selected
above in the respective folders, in this specific case they are all in the
Application Folder, in another project, some of the files were in
sub-folders of the Application Folder.

Based on the help: I would use a merge module for the Class Library if the
above Windows App & Windows Service each had or possibly needed their own
Setup Project. However I am still trying to figure Setup Projects out ;-)

Hope this helps
Jay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top