?
Solved

Auto Run Program

Posted on 1998-12-15
9
Medium Priority
?
170 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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 280 total points
ID: 1450289
See comments below
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

765 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