/build/static/layout/Breadcrumb_cap_w.png

Upgrading Software on PCs with Previous version currently open

I'm wondering what the schema is to setup a script that if a user accepts to install an upgrade on their PC, it checks to verify that the current version of the software is not running, then install. But if the current version is running, it prompts the user to save what they're working on and close the application, then when the application is, then, closed, it continues to install the upgrade. Or it forces the application to save the current file(s), that are open, then shut down the application, then run the upgrade.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: rmeyer 12 years ago
Second Degree Blue Belt
0
what I normally do is ask the user to install and in the message window tell them to save the work and close the program, and in the script I do a "taskill /F /IM program.exe" to make sure it's shutdown before upgrading it

if the user don't click anything then it's set to not install
Posted by: cblake 12 years ago
Red Belt
0
What you're asking for forces the application to save the current file(s), that are open, then shut down the application, then run the upgrade would be largely dependant on the software title.

As for the general behavior; I'd use a smart label to target the systems in need, then use a script of some type (K-Script, VB, Batch- whatever you are comfortable writing) to determine if it's running, then ask them to close it if it is, then ask again if it's still running (Looping about 5 times) and ultimately kill it if the user failed to read the bloody box 5 times. Or install while the software is not in use; again based on an installer script or a smart label.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ