Advertisement

05.08.2008 at 06:38PM PDT, ID: 23388230 | Points: 500
[x]
Attachment Details
How do I trigger a program run on remote machine (not run by local processor) under a LAN environment?
Tags: C++, MFC, Firefox 2.0, The program should run on Win32 Platform (Cannot use .NET technology)
I am developing an application  tool for remote deployment purpose in local area network, but there is a problem: How can I trigger a program or installer run on remote machine?

After I detected the neighbors within the same LAN and got accessed to some neighbors, then I sent the installation program to the remote neighbor machine.

But now the QUESTIONS is: How can I trigger a program or installer run on remote machine to finish the silent installation on remote machine?

Limitation:
Must not use .NET technology.
Must use C++ and MFC.
Must work on Windows Vista and XP.
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: oceanlaurel
Question Asked On: 05.08.2008
Participating Experts: 3
Points: 500
Views: 0
Translate:
Loading Advertisement...
05.08.2008 at 06:44PM PDT, ID: 21529900

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.08.2008 at 07:15PM PDT, ID: 21530027

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.08.2008 at 07:40PM PDT, ID: 21530112

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.08.2008 at 07:41PM PDT, ID: 21530119

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.08.2008 at 07:46PM PDT, ID: 21530132

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.09.2008 at 02:43AM PDT, ID: 21531355

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.09.2008 at 11:48AM PDT, ID: 21535488

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.13.2008 at 01:05AM PDT, ID: 21553042

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
05.08.2008 at 06:44PM PDT, ID: 21529900
The installation file must be executed by some method...do you want to trigger it manually or automattically?
When you say "neighbor" machine what do you mean?

why must c++ be your only compiled executable....

You can have a windows service handle local executions....but that requries a service in place
You can create a file for all users that at startup would look for an executable and process it ...either on a time delay, scheduler, process event, or service handler...

What do you want exactly:)  And why I might ask are you doing this?
 
05.08.2008 at 07:15PM PDT, ID: 21530027
Actually, I want to do the following:
1. An application tools (app-A) on Computer A (Comp-A) detect the other machines on the same LAN.
2. After the Comp-A detected and got access to e.g. Computer B (Comp-B) and Computer C (Comp-C), then Comp-A copy the installation program (Inst-A) to Comp-B and Comp-C.
3. Then Comp-A must trigger the Inst-A, which is already copied to Comp-B and Comp-C to run on Comp-B and Comp-C, but not run on Comp-A. (Because the installer need to add registry and deploy some application to Comp-B and Comp-C and trigger Comp-B and Comp-C restart once themselves. Thus, Inst-A should not be run by the processor of Comp-A.)

Thus: How can I trigger a program or installer run on remote machine to finish the silent installation on remote machine?

This program is required by my company for convenience deploy our programs on the same LAN.
 
 
05.08.2008 at 07:40PM PDT, ID: 21530112
no sms I take it.hehe....
I will have to think about this ...this sounds more like a hack...I will be back if I think of a way
 
05.08.2008 at 07:41PM PDT, ID: 21530119
Or another method may be:

How can I change the registry of remote computer with access right? (In order to set the program one once during Windows start.)

How can I sent a message box to the remote machine to notify the user to restart the windows and trigger the remote machine to restart? (In order to trigger Windows restart to run my program)
 
05.08.2008 at 07:46PM PDT, ID: 21530132
Thank you for your help, robbhill.
It is not for hack, actually I want to do a remote deployment tools for our applications. Then our engineer need not to walk around to install our application to hundreds of computers one by one with insert disk, setup and take the disk and go to the next machine and so on....

I am looks forward to your reply. :)
 
05.09.2008 at 02:43AM PDT, ID: 21531355
You need to write a remote administration tool and manually deploy it on each PC in the local network. Any other way will _definitely_ be a hack involving some exploit in NT security.

Like Robbhill said, you'll need an application that runs at system startup, preferably a service, installed on those computers. This application will most probably communicate with your main "controller" application via sockets, like any other server. Your controller (technically, a client) will then issue a command to each server to download and execute some installer (or whatever you're willing to distribute over the network).
 
05.09.2008 at 11:48AM PDT, ID: 21535488

Rank: Genius

If the installer has a "silent" mode, this is not a problem at all - use 'PsExec' from  http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

E.g.

psexec.exe \\OtherComputer c:\path\installer.exe /s
 
05.13.2008 at 01:05AM PDT, ID: 21553042
Is there a possible that I need not manually deploy some tools on each remote PC??

The NetSupport School Deploy of NetSupport School Professional Version 9.02 of Netsupport "http://www.netsupportinform.com/" can do it.

It can detect all the remote neighbors with the same LAN,
then detect which one can be accessed or not,
then allow you to login to the remote machine with Administrator Account and Password,
then allow you to choose what you are going to deploy to remote machine(s),
then deploy and trigger remote machine to restart.

Without the needs of t manually deploy some tools on each remote PC...
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628