Problem Description:
When we try to uninstall a service installed with Advanced Installer, the executable itself remains in the ProgramFiles directory. The service is also not being removed from win10 and it appears in services.msc. Then when we try to install a new version (without a new product code or version, it's just a dev iteration) it does not overwrite the existing one. The ICO and RTF files also sometimes remain. The service does indeed restart though, albeit with the old version of the service executable. This was replicated on a VM and a physical installation.
How to reproduce ?
Install service, without a restart, then uninstall. Try reinstalling both after a restart and without and it still remains like this. Then try to install again with a modified version of the installer (same product code and product version). Old installation executable remains. We are using AI 16.9.
Environment
We compared logs from times where it was successful and times when it wasn't. These stood out to us
We looked into this and saw this link;MSI (s) (60:B0) [23:15:07:849]: Disallowing uninstallation of component: {4C8CC14C-BC1F-48FB-ADB0-BB196842FC22} since another client exists
https://www.advancedinstaller.com/user- ... uestion193
However, when trying to find the registry entry, we were unable to find it.
This one happened on a successful uninstallMSI (s) (18:E4) [04:13:28:634]: RESTART MANAGER: Detected that the service AwesomeService.exe will be stopped due to a service control action authored in the package before the files are updated. So, we will not attempt to stop this service using Restart Manager
FOLLOW US
Get the latest news in Application Packaging