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!

BrianO
Posts: 9
Joined: Wed Dec 18, 2013 12:36 am

Defer Installation

I've been building and testing AI. Testing has been great. Any issues have been corrected quickly and easily. However, I've come upon an issue that I can't seem to solve even though I've been reading the help files.

The updates that need to go out will produce errors on the target computer if the program is running during an install. I want to defer the install until a the program is no longer in use.

I currently have a task setup to check for "idle" time. Once that task is triggered, any updates are downloaded and installed immediately. This is working great in testing. However, realworld, I have no way of knowing for sure if the program being updated is active or not. This is what I want to have happen...

I still want the task to trigger after 10 minutes of idle time but I want to defer installation until AI checkes to see if a process is active. The specific process is IngrViewer.exe. If the process is active, then defer the install until the process is no longer active, if not, then go ahead and install immediately.

How do I get AI to do this?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Defer Installation

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Unfortunately, we don't have predefined support to defer the installation until an application is no longer in use. However, in order to achieve what you want you can detect and stop the process during installation.

Also, as another approach, you can use our Updater tool to download and install your updates. For example, you can integrate the Updater with your application and call the Updater with /silentall -justdownload command line when the application starts. In this way the Updater will silently check for updates and download them when your application starts. Then, when your application is closed you can call the Updater with /checknow command line in order to install the updates.

Please take a look on our "Using The Auto Updater" tutorial which should be useful for you.

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

Return to “Building Installers”