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!

Lincoln
Posts: 1
Joined: Wed Nov 02, 2016 3:42 pm

Install solution while the program is running

We have a unique situation where our update is set to check and install at midnight, but most PC's aren't on so we have it check the next time it's turned on. We have found a use-case from our one of our clients where as soon as the PC starts, they launch our program and we tell advanced installer not to apply the update while it's running, but apparently they shut off our PC's either with the program still running or within 1-2 minutes of shutting down our program. This appears to have led to some gray zone area where we have the installer partly complete, but because it's shut down so quick it doesn't finish so it can get stuck in a situation where it's started to go about things like removing the program without fully removing it and then it never picks back up when the machine is powered again.

Is there an easy solution to this problem? I've done a fair amount of digging around but I can't find a situation like this before.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Install solution while the program is running

Hello and welcome to our forums,

To achieve what you need you can use our "Updater" tool. Please take a look on our "Using The Updater" tutorial.

For instance, you can launch from your application the Updater on your application initialization and if updates are found you can close your application and configure the Updater to restart it at the end of updates installation.

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

Return to “Building Installers”