For deployment reasons, we don't want to have to install our large app on each network client manually; we'd like to have our users
run a very small app on their clients that basically runs the main installer from a hidden share on the network. We want a server
app that we can run somewhere that will be able to send the necessary info to the client apps. Okay, so the problem is that we
don't want to have the users type in the address of the server where the listener is.. How can we query a lan to determine the
address of the machine containing the listener ? I'm going to guess it's some kind of broadcast message, but not having done
anything more complicated than simple listen / connect tcp before, I'm a bit lost.
Thanks for any help or better suggestions.
--
Adrian Parker 14 1198
Hi,
Maybe this will help. http://msdn.microsoft.com/library/de...tframework.asp
Ken
-------------------
"Adrian Parker" <ap******@nospa m.com> wrote in message
news:e9******** ******@TK2MSFTN GP10.phx.gbl... For deployment reasons, we don't want to have to install our large app on each network client manually; we'd like to have our users run a very small app on their clients that basically runs the main installer from a hidden share on the network. We want a server app that we can run somewhere that will be able to send the necessary info to the client apps. Okay, so the problem is that we don't want to have the users type in the address of the server where the listener is.. How can we query a lan to determine the address of the machine containing the listener ? I'm going to guess it's some kind of broadcast message, but not having done anything more complicated than simple listen / connect tcp before, I'm a bit lost.
Thanks for any help or better suggestions. -- Adrian Parker
"Adrian Parker" <ap******@nospa m.com> wrote in message
news:e9******** ******@TK2MSFTN GP10.phx.gbl... For deployment reasons, we don't want to have to install our large app on
each network client manually; we'd like to have our users run a very small app on their clients that basically runs the main
installer from a hidden share on the network. We want a server app that we can run somewhere that will be able to send the necessary info
to the client apps. Okay, so the problem is that we don't want to have the users type in the address of the server where the
listener is.. How can we query a lan to determine the address of the machine containing the listener ? I'm going to guess it's
some kind of broadcast message, but not having done anything more complicated than simple listen / connect tcp before, I'm a
bit lost. Thanks for any help or better suggestions. -- Adrian Parker
Drop me an e-mail, I will sit down and write out the process, but briefly
here, I have a service on the server, it watches a directory, and writes to
a "List" file checksums for each file. Then, on the client apps, a 'lil
proggie downloads the listfile, and checks each file in there and thier
sums, if the file don't exist, or has been changed (Sums don't match ), it
copies a new one. It's difficult, but possible, to impliment the
registration of ActiveX crap, if needed.
Sueffel
BTW, ti***@tiberians un.us is da email
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ( http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
Hi Adrian,
Could you elaborate more on the application? Do you mean that it is not a
.Net application and you would like a bootstrap .Net EXE to start it?
I think that the deployment idea will be much easier to implement if we run
it over a HTTP server. It may not be very efficient if the client
application need to broadcast a message everytime when it starts.
Regards,
Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Ok, basically we have a customer who has a network and wants to automate the install / update of the client application software
(via msi package), and to control the database connection parameters from a central source on the network. So what I wanted to do
was have the users run an installer util from a central web page or known network share and have it seek out the server on the
network that has the configuration parameters, but we don't want to have to force the users to type in a server ip address, it
should just be able to find the srever, connect, retrieve the necessary info and disconnect.. Once it has done it once, it can
remember the ip address of the server machine and always try that first next time. When I say next time, i mean when there is a new
deployment, the client must be able to detect it and automatically execute the msi package to uninstall then re-install the client
application.
-Adrian
"Felix Wang" <v-*****@online.mi crosoft.com> wrote in message news:cM******** ********@cpmsft ngxa07.phx.gbl. .. Hi Adrian,
Could you elaborate more on the application? Do you mean that it is not a Net application and you would like a bootstrap .Net EXE to start it?
I think that the deployment idea will be much easier to implement if we run it over a HTTP server. It may not be very efficient if the client application need to broadcast a message everytime when it starts.
Regards,
Felix Wang Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights.
"Adrian Parker" <ap******@nospa m.com> wrote in message
news:eP******** ******@TK2MSFTN GP11.phx.gbl... Ok, basically we have a customer who has a network and wants to automate
the install / update of the client application software (via msi package), and to control the database connection parameters from
a central source on the network. So what I wanted to do was have the users run an installer util from a central web page or known
network share and have it seek out the server on the network that has the configuration parameters, but we don't want to have
to force the users to type in a server ip address, it should just be able to find the srever, connect, retrieve the necessary
info and disconnect.. Once it has done it once, it can remember the ip address of the server machine and always try that first
next time. When I say next time, i mean when there is a new deployment, the client must be able to detect it and automatically execute
the msi package to uninstall then re-install the client application.
-Adrian
"Felix Wang" <v-*****@online.mi crosoft.com> wrote in message
news:cM******** ********@cpmsft ngxa07.phx.gbl. .. Hi Adrian,
Could you elaborate more on the application? Do you mean that it is not
a Net application and you would like a bootstrap .Net EXE to start it?
I think that the deployment idea will be much easier to implement if we
run it over a HTTP server. It may not be very efficient if the client application need to broadcast a message everytime when it starts.
Regards,
Felix Wang Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no
rights.
Not a prob, still working on getting it written up for you. The program
I'm referring to, the way I have it set up is as follows:
In the config file for the updater, I tell it whatt he directory for
update is, ommitting the drive letter. When the updater starts, it tries to
find this directory on any driveletter, niftiness IMO. It then does the
update, which in essence is a filecoopy operation, then you can tell it to
do any custom action from there, like MyApp.msi /u or whatever is needed.
Sound like what you are needing?
Sueffel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ( http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
> Not a prob, still working on getting it written up for you. The program I'm referring to, the way I have it set up is as follows:
In the config file for the updater, I tell it whatt he directory for update is, ommitting the drive letter. When the updater starts, it tries to find this directory on any driveletter, niftiness IMO. It then does the update, which in essence is a filecoopy operation, then you can tell it to do any custom action from there, like MyApp.msi /u or whatever is needed.
Sound like what you are needing?
Sueffel
From what I understand, the files will not be on a drive.. they would be on a hidden network share.. i.e.
\\machine\share name$\filename. msi so you would not have an actual drive available.. all I need is to be able to return the
network share filename to the client for it to execute the installer..
Essentially, what do I need to look at to locate a server.. does the server just listen on a port, then a client issue a broadcast
to find it on the network?
-Adrian
"Adrian Parker" <ap******@nospa m.com> wrote in message
news:OY******** ******@tk2msftn gp13.phx.gbl... Not a prob, still working on getting it written up for you. The
program I'm referring to, the way I have it set up is as follows:
In the config file for the updater, I tell it whatt he directory for update is, ommitting the drive letter. When the updater starts, it
tries to find this directory on any driveletter, niftiness IMO. It then does the update, which in essence is a filecoopy operation, then you can tell it
to do any custom action from there, like MyApp.msi /u or whatever is
needed. Sound like what you are needing?
Sueffel From what I understand, the files will not be on a drive.. they would be
on a hidden network share.. i.e. \\machine\share name$\filename. msi so you would not have an actual drive
available.. all I need is to be able to return the network share filename to the client for it to execute the installer..
Essentially, what do I need to look at to locate a server.. does the
server just listen on a port, then a client issue a broadcast to find it on the network?
-Adrian
Okay, I see where you're going. Do a google on enumerating all machines on
a network. I'm not sure how to do it, then, you can check for the existance
of your directory structure, and execute the file if it's there. Not too
complicated, but not too awfule bad.
HTH
Sueffel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ( http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
Hi Adrian,
Thanks for your update.
You mentioned that you would like "the users run an installer util from a
central web page or known network share and have it seek out the server on
the network that has the configuration parameters".
So why don't we store the configuration parameters on the cerntral web site
or the known network share? We can update the contents of it from time to
time.
If we need to search for a server, we need to define a scope for the search
(e.g. IP address span) and the characteristic of the server. Since the
NetBios ports (UDP 137, UDP 183, TCP 139) are opened by default on most of
the machines, I don't think that we can rely on these ports to locate the
server. If we check the file shares using
System.IO.File. Exists(@"\\192. 168.1.1\sharena me$\filename.ms i"), there may
also be a security problem, since we cannot prevent malicious users from
creating their own "\sharename$\fi lename.msi" and cheating our application.
If I were you, I would rather store all the information on a well-known
central point. It is quick and simple. I hope this makes sense to you.
Regards,
Felix Wang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Niyazi |
last post by:
Hi,
I have BIG question and I gues it is the BEST question.
I have a problem that I am guessing the best solution is to create some sort
..NET Services.
This Service(s) must check every hour the data that reside on AS400 and
transfer into the SQL Server. Services also have to be run in between 8:00 AM
and 5:00 PM
|
by: bernardpace |
last post by:
Hi,
I am writing a client server application using TcpClient and
TcpListener classes.
Now I need to transfer structured large amounts of data. I was
thinking to transfer the data in an xml file, so that both on the
server and on the client side it would be easy to parse the data.
Now if I use the xml file, should the xml file be saved locally? Also
|
by: Walshi |
last post by:
Hi all,
I'm a relative newby to access and VBA etc. My forms and tables etc are
working great and saving lots of time...However...
I have two databases with the exact same table format. I want db1 to be
used to input data by a remote operator, when she is ready I want her
to be able to click a control button to email her new data to db2. This
new data will be added to the table in db2 ready for further
processing.
|
by: artillero |
last post by:
Im transfering my database to another host and it's pretty large 100mb, can someone please tell me how I can tranfer my large database to phpmyadmin.
Thank you
|
by: Rob Meade |
last post by:
Hi all,
I have an application which enables a user to register and select a series
of resources to go with their profile.
At the moment I have an issue on the section where they will select the
resources, this is done by launching a popup window, displaying the list of
available resources and then the user can select one, in turn this should
then populate the parent window.
| |
by: hexagram |
last post by:
hi guys can anybody can teach me how to do this scenario
Transfering Data of a form to a new form
The Scenario is:
I have a Delivery Receipt Form (Hardware) with a fields of the following
- id - Formatted as "DR-00000"
- company
- address
|
by: nomad |
last post by:
Hello Everyone:
I need some help with transfering a db from my computer to the host.
I'm not to sure how to do this so that the webpage know where the db is at.
Here is what I have...
I'm using XAMPP to created my db here is the path were the db is at
C:\Program Files\xampp\mysql\data
I'm using Dreamweaver to create my site.
Here is the path where all the files are at
C:\Documents and Settings\abc\My Documents\abc\
|
by: Harvey Triana |
last post by:
It's well known that IDictionary collections present run-time exceptions if
you attempt to serialize them across Web service boundaries.
I need transfer data from this struct:
private struct OnlineRecordData
{
public string WITS;
public float Value;
....
|
by: Ro |
last post by:
I've been given the task of transfering data from an access db to sql
server 2000. The previous access db was not structured very well so
we reconstructed the tables in sql server 2000 to add better table
structure and more functionality. What I want to be able to do is
transfer the actual data in the access tables to the new tables in
the sql server 2000 db. Does anyone know of a simple way to do this?
I've been looking into CA...
|
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...
|
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,...
| |
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
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...
| |