Hi,
1. When I call updater.exe from my application with command line "/checknow" - application will be update after every calling, but finished with error.
If after the update is complete the Updater says "Some of the updates failed to install properly", then you are using an incorrect detection criteria. Note that you should use the main EXE of your application or a registry value which contains the version of the package as a detection criteria for the Update.
http://www.advancedinstaller.com/user-g ... rties.html
If you still get this message please contact me at
support at advancedinstaller dot com and I will send you an example.
2.When I call updater.exe with command line "/configure" and change CheckFrequency - time of next notification don't change and when I set system clock at notification time - updater do nothing, but notification time change to time of last configure dialog open. How I can see that updater really works and why it don't update?
Please note that the CheckFrequency feature works like this:
- you integrate the Updater in your application and launch it when the application starts or you set the updater as a scheduled task
- when the Updater is launched (by your application or by the scheduled task) it must be launched with the
/silent,
/silentall or
/silentcritical parameters
http://www.advancedinstaller.com/user-g ... dater.html
- now the check frequency is used
- if the check frequency has passed, when the updater is launched it checks for updates
- if the check frequency hasn't passed, when the updater is launched it does nothing
3.At my application exists buttons which calls updater.exe with command line "/silent" and "/silentall". After install application on the clear system and run updater.exe "/silent" - it propose to install update. But after new updates appears this call do nothing. How I can see that updater really works and why it don't update?
Since you are using the
/silent parameter, the updater will silently check for updates. If an update is available the Updater will ask you if you want to update and it will launch the installation of the update.
If you choose to install the available update and nothing happens then there are two possibilities:
1) the installation of the update is silent
2) you are using an incorrect configuration for your projects
If the problem persists please send us a working test case which reproduces this behavior to
support at advancedinstaller dot com so we can investigate it. This test case must include:
- the AIPs (Advanced Installer Project files) of both installation packages
- the AIP of the Updates Configuration Project
- both installation packages
- the updates configuration file
4. Application don't restart after update. Command line is empty
Please note that you should not perform an update while your application is running. Therefore you should make sure it closes after calling the Updater.
Also, if you need your application to restart then you must do this from inside the application (Windows Installer doesn't offer support for this).
After setup application user can configure update time as he want. Updating occurs silent without any notification if server has new file with update.
I'm afraid that this is not possible. Also, it is a little contradicting (if the user sets the update check frequency then the update should not be installed when it is posted on the server, it should be installed when the check frequency has passed).
I think that for your case, the best solution is to launch the Updater with the
/silentall parameter. This way, whenever an update appears on the server the Updater will install it silently.
Regards,
Cosmin