This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 29, 2002
01:41 PM
Updating files in use
Could somebody tell me how the update service handles files that are in use ? Obviously when an application calls the update service the application.exe file is open, so if there is an upgrade how does it patch the open application ?
Thanks,
- Neil
Thanks,
- Neil
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 29, 2002
06:02 PM
some apps only update data files, so the main application in use is not an issue. If you are updating the main application, you can one of two things....
1. You can use the update install to close your application. The update install can detect if your application is open. If so, it can prompt your user to close it. Developer and Express will automatically do this. You will have to program that functionality into an update built with Professional.
2. You can launch the Update Service and close your application. The Update Service will continue to run. This is less desirable if your user may choose not to run the installation, as your application would be closed for no reason.
1. You can use the update install to close your application. The update install can detect if your application is open. If so, it can prompt your user to close it. Developer and Express will automatically do this. You will have to program that functionality into an update built with Professional.
2. You can launch the Update Service and close your application. The Update Service will continue to run. This is less desirable if your user may choose not to run the installation, as your application would be closed for no reason.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 30, 2002
02:30 AM
Thanks.
- Neil
- Neil
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 03, 2002
01:04 PM
Per : "1. You can use the update install to close your application. The update install can detect if your application is open. If so, it can prompt your user to close it. Developer and Express will automatically do this. You will have to program that functionality into an update built with Professional."
This is great, but HOW does one do this (i.e. program the functionality into an update built with Professional)?
This is great, but HOW does one do this (i.e. program the functionality into an update built with Professional)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 03, 2002
06:28 PM
One idea, check out the function Is(). You can check to see if you application file is locked. If so, prompt to close the application.
I believe that InstallSite also has a function that will detect and close your open application. But I haven't used it myself.
http://www.installsite.org/
I believe that InstallSite also has a function that will detect and close your open application. But I haven't used it myself.
http://www.installsite.org/