By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,650 Members | 1,778 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,650 IT Pros & Developers. It's quick & easy.

Remote install Windows Service

P: n/a
I have finished a Windows Service, now I'm trying to deploy the service
to all my local computers. I want to ask if there is a fast way, rather
then install it one by one? All answer would be highly appreciated!
Thanks!

Best regards,
Stanley

Nov 21 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
You might want to take a look at a little tool we use for our wide-spread
clients. It saves us tons of time and effort once it's set up. It won't
save you the time of initially setting things up on your users' computers,
but once they are, updates are invisible to the user.

--
------------------------------------------------------------------------
George Shubin Custom Software Development
dX Software Systems Database Applications
Ph: 503-981-6806 Fax: 503-982-0120
www.dxonline.com ge****@dxonline.com
------------------------------------------------------------------------

"Anyone who has never made a mistake has never tried anything new." -
Albert Einstein

"Stanley" <xs******@gmail.com> wrote in message
news:11********************@g44g2000cwa.googlegrou ps.com...
I have finished a Windows Service, now I'm trying to deploy the service
to all my local computers. I want to ask if there is a fast way, rather
then install it one by one? All answer would be highly appreciated!
Thanks!

Best regards,
Stanley

Nov 21 '05 #2

P: n/a
Stanley,
Have you considered Group Policies?

If all your "local computers" are part of a domain, you can use a Group
Policy to deploy the executable to computers within the domain.

The following link may be a good starting point.

http://support.microsoft.com/default...b;en-us;302430
I would consider assigning the package for the Windows Service in the Group
Policy to machines...

Hope this helps
Jay
"Stanley" <xs******@gmail.com> wrote in message
news:11********************@g44g2000cwa.googlegrou ps.com...
|I have finished a Windows Service, now I'm trying to deploy the service
| to all my local computers. I want to ask if there is a fast way, rather
| then install it one by one? All answer would be highly appreciated!
| Thanks!
|
| Best regards,
| Stanley
|
Nov 21 '05 #3

P: n/a
Thanks for replies! But my network is not in domain! It's just a simple
network with 10 PCs! I have found some clue is to use MSIEXEC, but I
don't how to execute that command in remote computer!! Any idea??

Nov 21 '05 #4

P: n/a
Stanley wrote:
Thanks for replies! But my network is not in domain! It's just a simple
network with 10 PCs! I have found some clue is to use MSIEXEC, but I
don't how to execute that command in remote computer!! Any idea??


I sure hope not. Think of the security issues. i.e. your computer
connected to the internet and someone remote installs a windows service
to your pc!

--
Rinze van Huizen
C-Services Holland b.v.
Nov 21 '05 #5

P: n/a
Stanley,
As Rinze suggests, executing a command on a remote computer can be a
security risk. I'm not aware of the commands to execute a command on a
remote computer, although I suspect there might (might) be one.

Are your computers setup for Remote Desktop? Can they be?

http://www.microsoft.com/windowsxp/u...y/default.mspx

I would consider setting them up for Remote Desktop then remote in to each
machine & deploy the setup package. This at least saves you from walking to
all 10 machines. Of course you may need to walk to all 10 machines first to
setup Remote Desktop, however you should save time & effort on future
deployments...

Hope this helps
Jay


"Stanley" <xs******@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
| Thanks for replies! But my network is not in domain! It's just a simple
| network with 10 PCs! I have found some clue is to use MSIEXEC, but I
| don't how to execute that command in remote computer!! Any idea??
|
Nov 21 '05 #6

P: n/a
Thanks for reply! I don't really care about security issue from the
Internet, just because I have Router as my firewall. I have seem some
software that can't deploy their clients easily, like Norton AntiVirus
Corporate and WebRoot Spy Sweeper etc! They're so cool! I just want do
that!! :) Hope you'll help me!

Nov 21 '05 #7

P: n/a
Stanley,
As I stated I don't know what the execute remote commands in Windows are,
much less if there are any. A quick search of MSDN is not showing anything
specifically useful...

I would normally create a Windows Service that I install on the other
computer that executed the commands I needed, in a "secure" fashion via
MSMQ, .NET Remoting, DCOM, TCP Sockets or similiar. If the normal services
available are usable (such as Group Policy in your case).

You may want to ask "down the hall" in one of the Win32 developers group,
one of microsoft.public.win32.programmer.*

Once you have the API, then you can P/Invoke (VB Declare statement) to use
it.

Hope this helps
Jay

"Stanley" <xs******@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
| Thanks for reply! I don't really care about security issue from the
| Internet, just because I have Router as my firewall. I have seem some
| software that can't deploy their clients easily, like Norton AntiVirus
| Corporate and WebRoot Spy Sweeper etc! They're so cool! I just want do
| that!! :) Hope you'll help me!
|
Nov 21 '05 #8

P: n/a
OK many thanks, Jay!

Nov 21 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.