View Full Version : file.open or file.execute
09-18-2002, 01:50 PM
for software installs, which is better to use when you want to launch the setup.exe file?
09-18-2002, 02:27 PM
If you need to pass command line arguments to it, then you need to use Execute.
If you want the AutoPlay applicaction to wait while the setup runs, and then do something once it's done, you need to use Execute.
Otherwise, they're pretty much the same.
09-18-2002, 03:26 PM
So let's say for instance I am checking to see if they have Acroread installed. If they don't, I want to install the latest version included on the CD for them. After the installation is completed, I would like for the action to continue and open the file they originally selected that started the installation.
This question goes hand in hand with my other post on detecting and then installing acroread.
09-18-2002, 03:42 PM
Presumably there will be a dialog box which will invite the user to install Reader, rather than do it automatically if AMS detects they don't have it?
09-18-2002, 04:23 PM
Correct, That is what I want to do.
09-20-2002, 02:57 PM
Let's say you want to execute a file that is not an .exe but maybe a .mov or .txt file as in the example in the Users Guide. Do you need to specify in the arguments or working directory the application to use in opening the file?
Powered by vBulletin™ Version 4.0.6 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.