Hi Roland,
Configure the updater
You can go in the
Updater page and enable the
Check for updates using Advanced Updater option to bundle the auto updater with your application. Also you can take a look on the
Using the updater tutorial which will guide you step by step in creating and maintaining an install package that uses the
Advanced Updater.
Add the Advanced Installer's updater.exe as a service
You can go in the
Services page and use the
[New Service] toolbar button and select the
Updater in the new appeared window.
Select the updater service and set "Start Type" to "On demand" with /runservice command line option and OnDemand Start
In the
Service Parameters pane from the
Service properties please select
On demand option for the
Start type of the service. This is happening because the service can be triggered by a schedule task or other option that has been selected .
Also, type
/runservice command line parameter for the
Arguments: line in the
Service Context pane.
Add updater.exe as a custom action, calling the service with /configservice -name <servicename> in the "Command Line" field
Set this custom action to deferred execution and "Run under the LocalSystem account"
Disable the custom action's "Uninstall" execution stage condition leaving "Install" and "Maintenance" defaults.
In the
Custom Actions page please add the predefined
Launch installed file custom action
with sequence and select the
updater.exe.
Please edit the
Command Line: to something like:
/configservice -name updater.exe.
Also, please set the
When the system is being modified (deferred) option for the
Execution Time and also enable the
Run under the LocalSystem account with full privileges (no impersonation) option for the
Execution Options of the custom action.
In the
Execution Stage Condition of the custom action there are options:
- Install
- Uninstall
- Maintenance
Please un-check(disable) the
Uninstall option, so you will only have enabled the
Install and
Maintenance options.
Enable each update's "Install update without elevation" option
Please create an
Updates Configuration Project which allows you to create an Updates Configuration File used by the Auto Updater tool. In the
Update properties tab please enable the
Install update without elevation (require Updater support service) option.
But how and when a check for possible updates is done and when they are downloaded and installed?
This part is done in the
Update Behavior section in the
Updater page.
What is triggering the updater service and how the user is informed about installation status and finalization?
Please note that the User Interface from the “Updater” can be showed but no User Interface from the installation of the .MSI will be showed, because
/qn parameter is set.
Is there any way to get a (custom) user interface with installation status and progress?
I'm afraid you cannot achieve this behavior, to display a custom User Interface during the installation status and progress.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging