Hello,
Our program is a windows service and is currently deployed on customer servers and has .Net Framework 4.5.2 as a prereq. We are using the Task Scheduler method of auto-updating our program. The task is set to check Daily for updates. The latest version of our service now requires 4.7.2. Many of our customers do not already have 4.7.2 installed so we added it as a prereq. Unfortunately, we are running into an issue where 4.7.2 requires the workstation to be rebooted to be fully installed. We can not force a reboot as these are customers servers and they need advanced warning of a reboot. We also can not just install our service and then have it not run until they reboot. It needs to be running at all times (except the small window where it is installing).
The idea we came up with is to only auto-update if they have 4.7.2 already installed. I am having issues figuring out how to do that.
I was toying with the idea of using Launch Conditions but I am having trouble doing it in an efficient way. The following scenarios are what we were hoping to pull off with 1 installer.
1. If it is auto-update and 4.7.2 isn't installed. Do not upgrade. Do not show any warnings. Continue checking everyday.
2. If it is auto-update and 4.7.2 is installed. Upgrade.
3. If it is GUI Manual Install and 4.7.2 isn't install. Upgrade.
4. If it is GUI Manual Install and 4.7.2 is installed. Upgrade.
If anybody has any other work-flow ideas, we would consider those as well. We are using Advanced Installer 13.8.1.
FOLLOW US
Get the latest news in Application Packaging