sjstreeting
Posts: 26
Joined: Fri May 03, 2013 11:00 am

Auto close applications sometimes not working

We use the 'Auto Close Applications' section in the Advanced Installer updater to automatically close a tool which install within our application which might be running in addition to the main application. This has worked in all our tests, but we have a minority of users who say that it persistently never works, and that as a result they always get the 'Files were in use, you must reboot' message after update. I can never reproduce this yet for those it occurs for, it seems to persistently happen.

Here's the configuration we use:
Image

Here's a report from a user who says it doesn't work for him: https://jira.atlassian.com/browse/SRCTREEWIN-1072 - his screenshot of the pageant.exe process details show that he has installed in *exactly* the same location as I have when testing this, and yet he doesn't get a prompt to close the nested pageant.exe on install but I do.

Are there any caveats or details I'm not aware of that can prevent the Auto Close Applications working for some people? I couldn't find anything in the documentation.
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: Auto close applications sometimes not working

Hi
Updater - Auto Close Applications
Updater - Auto Close Applications
2013-10-01_1641.png (11.87 KiB) Viewed 5148 times
There is an extra backslash \ in the file path. Please correct the application path to:

Code: Select all

[APPDIR]tools\putty\pageant.exe
Please test and let us know how it works.

Best regards
Teodor Micu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjstreeting
Posts: 26
Joined: Fri May 03, 2013 11:00 am

Re: Auto close applications sometimes not working

Thanks! We'll try that for the next update. It's odd that the current set up worked for me but hopefully that's it.
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: Auto close applications sometimes not working

Hi
sjstreeting wrote:We'll try that for the next update.
If you wish, you don't have to wait for the next version since the updates.txt file is not included in your MSI/EXE package. You only need to modify the updater configuration file from your web server.

Best regards
Teodor Micu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjstreeting
Posts: 26
Joined: Fri May 03, 2013 11:00 am

Re: Auto close applications sometimes not working

Thanks for the tip!

Return to “Common Problems”