Problems with automatic updates
Posted: Sun Aug 06, 2017 8:01 pm
Hi support,
Apologies in advance if these have been answered before. Have set up my first install using InstallAware and having some problems with the automatic update process. A copy of the project file is at http://www.pdlab.co/downloads/tappytest.zip (this is the version which applies the V1.0.10 updates to the V1.0.9 base release)
1. When an update is applied, even though I have set the parameter as 'silent' it still shows all the the dialogues
2. The install file tappyinstall.exe is digitally signed. When running the setup, Windows recognises that, however when subsequently calling it from the check for updates menu, the cached file always comes up as unsigned and shows the 'Do you want to allow this app from an unknown publisher to make changes to your PC'. Why is that. as it should be signed?
3. In the project's 'updates' script I have told it to restart the application when finished updating, but this does not seem to be recognised (i.e. the app does not restart) -
Terminate Installation
Comment: Start Tappy again after installing update
Run Program $TARGETDIR$\Tappy.exe
Display Dialog: Tappy will only restart at the next system reboot, use as progress dialog (non-modal) (Actually this doesn't appear either)
label: End of Updates
Does it need to be in a different part of the script?
4. When testing, the flow is to (a) Uninstall using the tappyinstall.exe, then (b) install the base version, then (c) check for updates and (d) install the updated version. The issue is that the previous update details seem to have been cached and not automatically removed when uninstalling - after reinstalling it always says ' No updates available at this time'. I seem to be able to solve that by manually removing everything in the folder that the 'Check for updates' menu uses (ProgramData\xxxxGUIDxxxxxx), but surely there is a simple way of removing the cached folder (and all registry keys) during the uninstall.
Thanks for your help,
WA
Apologies in advance if these have been answered before. Have set up my first install using InstallAware and having some problems with the automatic update process. A copy of the project file is at http://www.pdlab.co/downloads/tappytest.zip (this is the version which applies the V1.0.10 updates to the V1.0.9 base release)
1. When an update is applied, even though I have set the parameter as 'silent' it still shows all the the dialogues
2. The install file tappyinstall.exe is digitally signed. When running the setup, Windows recognises that, however when subsequently calling it from the check for updates menu, the cached file always comes up as unsigned and shows the 'Do you want to allow this app from an unknown publisher to make changes to your PC'. Why is that. as it should be signed?
3. In the project's 'updates' script I have told it to restart the application when finished updating, but this does not seem to be recognised (i.e. the app does not restart) -
Terminate Installation
Comment: Start Tappy again after installing update
Run Program $TARGETDIR$\Tappy.exe
Display Dialog: Tappy will only restart at the next system reboot, use as progress dialog (non-modal) (Actually this doesn't appear either)
label: End of Updates
Does it need to be in a different part of the script?
4. When testing, the flow is to (a) Uninstall using the tappyinstall.exe, then (b) install the base version, then (c) check for updates and (d) install the updated version. The issue is that the previous update details seem to have been cached and not automatically removed when uninstalling - after reinstalling it always says ' No updates available at this time'. I seem to be able to solve that by manually removing everything in the folder that the 'Check for updates' menu uses (ProgramData\xxxxGUIDxxxxxx), but surely there is a simple way of removing the cached folder (and all registry keys) during the uninstall.
Thanks for your help,
WA