473,811 Members | 2,970 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remote install Windows Service

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
8 5382
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******** ************@g4 4g2000cwa.googl egroups.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
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******** ************@g4 4g2000cwa.googl egroups.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
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
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
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.goo glegroups.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
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
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.publi c.win32.program mer.*

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.goo glegroups.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
OK many thanks, Jay!

Nov 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2694
by: Dan V. | last post by:
Situation: I have to connect with my Windows 2000 server using VS.NET 2003 and C# and connect to a remote Linux server at another company's office and query their XML file. Their file may be updated every hour or so. How can I do this easily? I would like to use secure communication even encryption if possible. I would query and insert locally only the newest records found in that XML file to an xml or MS access db.
1
2395
by: Tom wilson | last post by:
I've been through everything with this error and cannot get the debugger to work remotely. The only thing I can trace it down to is that RPC is not communicating between servers. So after many, many hours of searching I found the RPCPing utilitty. We have 8 servers, 2 Exchange 2003 servers. RPCPing pings nothing from anywhere on all protocols. I've tried on all severs in all directions and from several different workstations. I...
6
1834
by: Dan V. | last post by:
Is there a way to query a remote xml file periodically by not using web services? For Windows and Unix platforms. Is there a cheap software product that I can install on each client and my Windows 2000 server and have 'secure' network access? I would love to use VS.NET to access both windows and Unix/Linux xml files.
8
2459
by: Julia | last post by:
Hi, My client uses a remote object when I host the remote object inside a windows application all seem to work fine but when I host the same object inside a windows service I get the following error " connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because
0
1817
by: Ken Allen | last post by:
The MSDN documentation on remote debugging is a bit sparse, to say the least, and there is almost no information available on the 'best' way to configure this. I should note that my development system is Windows XP Pro and the test machine is Windows 2003, both running the latest upgrades; Visual Studio 2005 is installed on the development system and the .Net 2.0 framework is installed on the test system. The two systems do not have the...
1
1561
by: JLuis Estrada | last post by:
Hi there. Id tried to find information about how to set up the remote debugging on win2003. I have a PC with winxpsp2 with VS2003 installed. And I developed an winservice app that runs on the server. This servers is fara way from here. Buts its visible over internet.
0
1271
by: jpegny | last post by:
Hello all, I'm in the middle of setting up a windows 2003 server for asp.net (with vb.net 2003) remote development/deployment. The problem is that as soon as I install service pack 1 on windows 2003 I can no longer remotely develop asp.net apps with vs.net 2003. I have set-up servers with all the patches except service pack 1 and they work fine but as soon as I install service pack 1 it breaks the remote development of asp.net.
15
7093
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter every second. I remote desktop to the computer hosting this application and run the application. It starts up and displays the counter incrementing every second. If I disconnect the network cable between the two computers for 10 seconds and...
3
2778
by: Rick | last post by:
We have a web site that was built as an ASP.Net Web Site, I am unable to remote debug, when build ing the web site there is not a dll or PDB file generated. I can debug on my local machine but unable to attach to the process when running from the web server. Can someone tell me how to remote debug an ASP.Net Website that does not genate a dll or PDB file? Thanks in advance! Rick
0
9734
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10652
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10408
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10137
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7673
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6895
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5561
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3026
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.