Solved

Auto Run Program

Posted on 1998-12-15
9
155 Views
Last Modified: 2010-05-03
I have  to update a program on multiple computers being used by inexperienced users. How can I set the program to run as soon as the download is complete without much user intervention?
0
Comment
Question by:edmac
  • 5
  • 3
9 Comments
 

Author Comment

by:edmac
ID: 1450281
Adjusted points to 72
0
 
LVL 3

Expert Comment

by:traygreen
ID: 1450282
You can run the application using a "launcher" application.  
Link the programs icon to the "launcher" rather than the primary  application.
Everytime the user launches the application, the "launcher" reads the cupprent application profile from the registry or an ini file and compares the information with a file on the network(where you post your update files)
If the information is different, the launcher then copies the information from the network to the local machine.
The "launcher" now runs the target application.
0
 

Author Comment

by:edmac
ID: 1450283
I was looking for a method to run the downloaded program as soon as it was downloaded.  Is that possible?
0
 

Author Comment

by:edmac
ID: 1450284
Isn't there a way for the program to automatically execute after it is downloaded from the internet?

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 13

Expert Comment

by:Mirkwood
ID: 1450285
Why not make it a self extracting executable.
0
 

Author Comment

by:edmac
ID: 1450286
The file that is being downloaded must run on the PC it is downloaded to in order to update/replace files already on the PC including some dll's.

I would like to have this file run when it hits the other computer
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1450287
Autostarting is a user-setting because of security reasons.
You can make it auto extracting. When the user chooses download or open. You can tell them that they have to use open.
When it is started you can do everything you want. Reboot machine excetra.
0
 

Author Comment

by:edmac
ID: 1450288
Mirkwood, that is my answer. Thanks.  Post it as an answer, so I can give u the points


0
 
LVL 13

Accepted Solution

by:
Mirkwood earned 70 total points
ID: 1450289
See comments below
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now