Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

PROBLEM with vs.net windows installer project / deployment

Posted on 2004-09-13
4
Medium Priority
?
204 Views
Last Modified: 2010-04-23
I have written 8 seperate applications which need to be installed on remote computers (a windows service, a systray app, and several utilities).  I have created a windows installer project which includes these programs in one deployment file and am able to successfully package the files, add short cuts to appropraite places, make registry entries, etc.  Basically I compiled each individual program, copied the compiled results to a common c:\test folder, and then created my deployment project off these files from c:\test.

The problem I am having is that one of the eight files is a windows service, and I can not figure out how to install it from within this installer.  I can install it individually, but can not figure out how to install it when bundled with these other 7 programs.

I package a .bat file and have created an .exe to call the bat file.  The bat file runs InstallUtil to register the service and start it.  I have tried putting the .exe under the install and commit actions, but when looking at the task manager I never see the cmd.exe running to show the batch file has been called.

suffice it to say the service is not installed and my systray app is not launched.

help me gurus.  Need a resolution ASAP!!

kap
0
Comment
Question by:kapcreations
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Accepted Solution

by:
Mehrdad_Y earned 2000 total points
ID: 12051685
Hello kapcreations;
I think first of all, you don't need to compile and copy each program to a place, instead, I think you have to Add a new Setup project to your solution, by the SETUP WIZARD, it will ask you, which project outputs you want to be included in your setup project. You can then select all the projects for your setup, even with their local resources and source code!

Any way, if you still need to install it in the way you have selected now, why don't you use the SHELL command in your exe file, to run your commands, and forget the batch file?
Just use : SHELL "YOUR COMMAND PATH"
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question