We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

prasenjit
Posts: 1
Joined: Mon Mar 25, 2013 12:07 pm

Can not delete jars without restarting

I have the advanced installer 9.8 running updater to update the installed project. It first stops the service, deletes all jars from lib, config files and adds the new files. But the logs show the jars still have been accessed and machine need to be restarted for changes to take place. I want to wait for all the jars in <app>/lib to get deleted before adding new files. how can I achieve this? Any custom action can do the same?
MSI (s) (DC:24) [20:07:46:972]: Verifying accessibility of file: antlr-2.7.6.jar
Info 1603. The file C:\Program Files\Clink\lib\antlr-2.7.6.jar is being held in use. Close that application and retry.
I am running AI on windows 7.

Thanks.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Can not delete jars without restarting

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Please keep in mind this is the normal behavior if the related jar file are in use. In order to achieve what you want you should stop the process using the above jars during upgrading process.

Please take a look on our "How do I detect or stop a process?" article which should be useful for you.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”